You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/03/27 17:50:00 UTC
[jira] [Created] (SOLR-14369) QueryContext (used only by facet
module) should be removed
David Smiley created SOLR-14369:
-----------------------------------
Summary: QueryContext (used only by facet module) should be removed
Key: SOLR-14369
URL: https://issues.apache.org/jira/browse/SOLR-14369
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: Facet Module
Reporter: David Smiley
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org