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

Remove default core checks in the dispatch filter

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              varunthacker Varun Thacker
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: