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] [Created] (LUCENE-6727) ValueSourceScorer (used in VS range queries) ought to honor FV.exists
Date Thu, 06 Aug 2015 18:06:06 GMT
David Smiley created LUCENE-6727:
------------------------------------

             Summary: ValueSourceScorer (used in VS range queries) ought to honor FV.exists
                 Key: LUCENE-6727
                 URL: https://issues.apache.org/jira/browse/LUCENE-6727
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: David Smiley


(discussion split off from LUCENE-6720)
ValueSourceScorer is an abstract scorer based on a ValueSource; notably it's returned by FunctionValues.getRangeScorer.
 None of the implementations consider FunctionValues.exist(doc).  It really ought to.  DocValuesRangeQuery
does.

Perhaps this should be based on the ValueFillter/MutableValue API.  It optimizes existence
& value fetching in one fetch when possible.  Furthermore, it might be possible to have
a common range query check without doing it per-type?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message