You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2017/12/18 21:45:02 UTC

[jira] [Commented] (LUCENE-8103) QueryValueSource should use TwoPhaseIterator

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

David Smiley commented on LUCENE-8103:
--------------------------------------

Ditto for org.apache.lucene.search.DoubleValuesSource.WeightDoubleValuesSource   (the newer replacement of QueryValueSource) and the code looks simpler there.

> QueryValueSource should use TwoPhaseIterator
> --------------------------------------------
>
>                 Key: LUCENE-8103
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8103
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/other
>            Reporter: David Smiley
>            Priority: Minor
>
> QueryValueSource (in "queries" module) is a ValueSource representation of a Query; the score is the value.  It ought to try to use a TwoPhaseIterator from the query if it can be offered. This will prevent possibly expensive advancing beyond documents that we aren't interested in.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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