lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (Jira)" <>
Subject [jira] [Commented] (SOLR-13892) Add postfilter support to {!join} queries
Date Tue, 05 Nov 2019 23:57:00 GMT


Joel Bernstein commented on SOLR-13892:

I think MultiTermQueryConstantScoreWrapper will come into play with JoinUtil/TermsQuery implementation.
This can be slow when there are a large number of terms because seeks into the terms enum
needs to be down for entire acl list for each segment. So for let's say 400,000 join terms
and 50 segments it would make 20,000,000 seeks into the index.

The postfilter approach avoids this altogether. 

> Add postfilter support to {!join} queries
> -----------------------------------------
>                 Key: SOLR-13892
>                 URL:
>             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
>            Priority: Major
>         Attachments: SOLR-13892.patch
> The JoinQParserPlugin would be a lot performant in many use-cases if it could operate
as a post-filter, especially when doc-values for the involved fields are available.
> With this issue, I'd like to propose a post-filter implementation for the {{join}} qparser.

This message was sent by Atlassian Jira

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

View raw message