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

QueryParsing.parseFunction uses Singleton Core (SolrCore.getSolrCore())

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      QueryParsing.parseFunction is a static utility method that depends on the SolrCore.getSolrCore singleton – but it is not yet deprecated and is used in some rather important places in the code base (the result is that the last core initialized

      it was noted a while back, with some comments about how to tackle the problem, but it looks like we never opened an issue to deal with it...

      http://www.nabble.com/QueryParsing-using-SolrCore.getSolrCore()-td19806087.html

      ...we should deal with this in some way prior to the 1.4 release (if nothing else, we need to document it as a caveat).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: