Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8315

Remove default core checks in the dispatch filter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None

    Description

      There are two occurrences in HttpSolrCall that still make checks for a default core.

      // try the default core
      if (core == null) {
          core = cores.getCore("");
      }
      

      Is that needed anymore? I removed them and the tests seems to pass .

      Attachments

        1. SOLR-8315.patch
          1 kB
          Varun Thacker

        Activity

          People

            varun Varun Thacker
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: