lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8103) QueryValueSource should use TwoPhaseIterator
Date Mon, 18 Dec 2017 21:45:02 GMT

    [ 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


Mime
View raw message