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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org