lucene-dev mailing list archives

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

     [ 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


Mime
View raw message