You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/02/27 17:56:05 UTC

[jira] [Updated] (LUCENE-6303) CachingWrapperFilter -> CachingWrapperQuery

     [ https://issues.apache.org/jira/browse/LUCENE-6303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: https://issues.apache.org/jira/browse/LUCENE-6303
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org