lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7736) Expose some IndexReader stats via DoubleValuesSources
Date Thu, 19 Oct 2017 16:28:00 GMT


Alan Woodward commented on LUCENE-7736:

bq. I think it's important for equals to behave correctly and never return true for values
sources that could return different values.

Ah, I see what you mean - if we had a FunctionMatchQuery that was cached across multiple IndexSearcher
reopens it would potentially return the wrong values, because the underlying DoubleValues
defined by the top-level index readers.  I'll change things back again.

bq. I think you forgot to update FunctionMatchQuery

I did, thanks for picking it up...

> Expose some IndexReader stats via DoubleValuesSources
> -----------------------------------------------------
>                 Key: LUCENE-7736
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-7736.patch, LUCENE-7736.patch, LUCENE-7736.patch, LUCENE-7736.patch,
> We have a number of ValueSource implementations that expose IndexReader stats (numDocs,
termFreq, etc).  We should re-implement these as DoubleValuesSources, allowing them to be
used in FunctionScoreQuery, etc.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message