Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
9.0
-
None
Description
There are some use-cases where it'd be nice if the "terms" qparser created a query that could be run as a postfilter. Particularly, when users are checking for hundreds or thousands of terms, a postfilter implementation can be more performant than the standard processing.
WIth this issue, I'd like to propose a post-filter implementation for the docValuesTermsFilter "method". Postfilter creation can use a SortedSetDocValues object to populate a DV bitset with the "terms" being checked for. Each document run through the post-filter can look at their doc-values for the field in question and check them efficiently against the constructed bitset.
Attachments
Attachments
Issue Links
- is related to
-
SOLR-14166 Use TwoPhaseIterator for non-cached filter queries
- Closed
- links to