lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gerlowski (Jira)" <>
Subject [jira] [Created] (SOLR-13890) Add postfilter support to {!terms} queries
Date Mon, 04 Nov 2019 15:28:00 GMT
Jason Gerlowski created SOLR-13890:

             Summary: Add postfilter support to {!terms} queries
                 Key: SOLR-13890
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers
    Affects Versions: master (9.0)
            Reporter: Jason Gerlowski

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

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message