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

QueryContext (used only by facet module) should be removed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Facet Module

    Description

      I was looking at QueryContext in org.apache.solr.search. It's only used by the JSON Facet module so I think it's in the wrong package although perhaps yonik intended to use it elsewhere. It's used frequently in the module to merely get a searcher, however FacetContext is always in scope and has a searcher likewise. It's used for close-hook management, but I think that can be propagated directly to SolrRequestInfo; basically merge that code directly with FacetContext. It's finally also used by FuncSlocAcc for ValueSource.getValues 1st arg (Map) but I think for that type of slot we can create such a Map on the fly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: