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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 4.0-ALPHA
    • None
    • 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

        1. SOLR-1067.patch
          7 kB
          Yonik Seeley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: