[
https://issues.apache.org/jira/browse/LUCENE-8806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16872169#comment-16872169
]
Jim Ferenczi commented on LUCENE-8806:
--------------------------------------
{quote}
FYI we have an issue for phrases already LUCENE-8311.
{quote}
I forgot about this one, thanks!
{quote}
I was thinking this could only get faster than before since we would now
leverage two-phase iterators instead of using iterators naively.
{quote}
That was my assumption too but not checking the two-phase iterator when looking
for candidates forces the second clause (the one with the lowest score) to
advance even when the first clause is a false positive. So It might be related
to the fact that checking for a match on high frequency phrases is faster than
advancing the other clause.
> WANDScorer should support two-phase iterator
> --------------------------------------------
>
> Key: LUCENE-8806
> URL: https://issues.apache.org/jira/browse/LUCENE-8806
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Jim Ferenczi
> Priority: Major
> Attachments: LUCENE-8806.patch, LUCENE-8806.patch
>
>
> Following https://issues.apache.org/jira/browse/LUCENE-8770 the WANDScorer
> should leverage two-phase iterators in order to be faster when used in
> conjunctions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]