Solr
  1. Solr
  2. SOLR-1067

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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).

      1. SOLR-1067.patch
        7 kB
        Yonik Seeley

        Issue Links

          Activity

          Hoss Man created issue -
          Yonik Seeley made changes -
          Field Original Value New Value
          Attachment SOLR-1067.patch [ 12415938 ]
          Yonik Seeley made changes -
          Fix Version/s 1.5 [ 12313566 ]
          Fix Version/s 1.4 [ 12313351 ]
          Hoss Man made changes -
          Fix Version/s Next [ 12315093 ]
          Fix Version/s 1.5 [ 12313566 ]
          Hoss Man made changes -
          Fix Version/s 3.2 [ 12316172 ]
          Fix Version/s Next [ 12315093 ]
          Robert Muir made changes -
          Fix Version/s 3.3 [ 12316471 ]
          Fix Version/s 3.2 [ 12316172 ]
          Robert Muir made changes -
          Fix Version/s 3.4 [ 12316683 ]
          Fix Version/s 4.0 [ 12314992 ]
          Fix Version/s 3.3 [ 12316471 ]
          Robert Muir made changes -
          Fix Version/s 3.5 [ 12317876 ]
          Fix Version/s 3.4 [ 12316683 ]
          Simon Willnauer made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Fix Version/s 3.5 [ 12317876 ]
          Hoss Man made changes -
          Fix Version/s 3.6 [ 12319065 ]
          Hoss Man made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hoss Man made changes -
          Link This issue is duplicated by SOLR-1703 [ SOLR-1703 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development