lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7998) Add a DoubleValuesSource that exposes a Query score
Date Thu, 19 Oct 2017 13:50:00 GMT


Adrien Grand commented on LUCENE-7998:


For the record I'd like to draw attention to the fact that since weights have references to
index readers while queries cannot hold references to index readers (otherwise it causes memory
leaks when caching), it probably means that queries that need values sources should not rewrite
the values source at rewrite time but at createWeight time?

> Add a DoubleValuesSource that exposes a Query score
> ---------------------------------------------------
>                 Key: LUCENE-7998
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-7998.patch
> This will allow us to reproduce the behaviour of BoostingQuery with a FunctionScoreQuery,
either by passing a simple wrapped Query as a single DVS or by combining several of them using
the expressions module.

This message was sent by Atlassian JIRA

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

View raw message