lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Commented] (LUCENE-8017) FunctionRangeQuery and FunctionMatchQuery can pollute the QueryCache
Date Fri, 03 Nov 2017 10:35:00 GMT


Alan Woodward commented on LUCENE-8017:

I thought about doing that, but the callers are split more or less half and half between materializing
arrays and just passing an existing array, so it's pretty much a wash :)

> FunctionRangeQuery and FunctionMatchQuery can pollute the QueryCache
> --------------------------------------------------------------------
>                 Key: LUCENE-8017
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8017.patch, LUCENE-8017.patch, LUCENE-8017.patch
> The QueryCache assumes that queries will return the same set of documents when run over
the same segment, independent of all other segments held by the parent IndexSearcher.  However,
both FunctionRangeQuery and FunctionMatchQuery can select hits based on score, which depend
on term statistics over the whole index, and could therefore theoretically return different
result sets on a given segment.

This message was sent by Atlassian JIRA

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

View raw message