You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/04/27 02:12:00 UTC

[jira] [Commented] (SOLR-14166) Use TwoPhaseIterator for non-cached filter queries

    [ https://issues.apache.org/jira/browse/SOLR-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332840#comment-17332840 ] 

David Smiley commented on SOLR-14166:
-------------------------------------

I did a bit of benchmarking.  Depending on the scenario, things can be a bit better (possible a lot) or worse, but never much worse.  I filed LUCENE-9938 which may help further.  I'll commit this in a couple days.

> Use TwoPhaseIterator for non-cached filter queries
> --------------------------------------------------
>
>                 Key: SOLR-14166
>                 URL: https://issues.apache.org/jira/browse/SOLR-14166
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> "fq" filter queries that have cache=false and which aren't processed as a PostFilter (thus either aren't a PostFilter or have a cost < 100) are processed in SolrIndexSearcher using a custom Filter thingy which uses a cost-ordered series of DocIdSetIterators.  This is not TwoPhaseIterator aware, and thus the match() method may be called on docs that ideally would have been filtered by lower-cost filter queries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org