lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Updated] (LUCENE-6303) CachingWrapperFilter -> CachingWrapperQuery
Date Fri, 27 Feb 2015 16:56:05 GMT


Adrien Grand updated LUCENE-6303:
    Attachment: LUCENE-6303.patch

Here is a patch which:
 - replaces CachingWrapperFilter with CachingWrapperQuery
 - replaces FilterCache with QueryCache and caches weights instead of filters
 - removes DocIdSet.isCacheable since this method is not used anymore
 - adds built-in query caching to IndexSearcher (enabled by default): weights in the query
tree that do not need scores are cached.

> CachingWrapperFilter -> CachingWrapperQuery
> -------------------------------------------
>                 Key: LUCENE-6303
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6303.patch
> As part of the filter -> query migration, we should migrate the caching wrappers (including
the filter cache).
> I think the behaviour should be to delegate to the wrapped query when scores are needed
and cache otherwise like CachingWrapperFilter does today.
> Also the cache should ignore query boosts so that field:value^2 and field:value^3 are
considered equal if scores are not needed.

This message was sent by Atlassian JIRA

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

View raw message