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

[jira] [Resolved] (LUCENE-9938) ConjunctionDISI should recognize DocIdSetIterator.all

     [ https://issues.apache.org/jira/browse/LUCENE-9938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley resolved LUCENE-9938.
----------------------------------
    Resolution: Invalid

Nevermind.  The TPI design requires that the "approximation" DISI coupled with it is positioned, because TPI.matches() is no-arg and thus relies on the approximation's position.  Maybe the issue is still valid for other scenarios not coupled with a TPI but I can't think of any.  I wish the TPI design were different; alas.

> ConjunctionDISI should recognize DocIdSetIterator.all
> -----------------------------------------------------
>
>                 Key: LUCENE-9938
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9938
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: David Smiley
>            Priority: Major
>
> ConjunctionDISI creates an aggregation of some leaf DocIdSetIterators & TwoPhaseIterators.  It's not uncommon for DocIdSetIterator.all(...) to wind up inside it, producing an aggregation that is a little more bulky than it needs be.  This can happen frequently with the ValueSource APIs which have queries like FunctionMatchQuery that use this for the "approximation" alongside a TwoPhaseIterator.



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

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