You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2016/02/02 22:13:39 UTC
[jira] [Commented] (LUCENE-5666) Add UninvertingReader
[ https://issues.apache.org/jira/browse/LUCENE-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129040#comment-15129040 ]
Mikhail Khludnev commented on LUCENE-5666:
------------------------------------------
Hello,
I want to clarify
DeleteByQueryWrapper [refers|https://github.com/apache/lucene-solr/commit/ff8e841fa1b26875a95fd3ec67cd785649ba35b3#diff-6f6dad2e619f95bbe7a7985700ab3060R38] to some caching
{{Even though we wrap for each query, UninvertingReader's core cache key is the inner one, so it still reuses fieldcaches and so on.}}
We evidence that indexing stuck on repeatedly building UninversionMap for every deleteByQuery
{code}
AtomicReader wrap(AtomicReader reader) {
return new UninvertingReader(reader, schema.getUninversionMap(reader));
}
{code}
Is there any chance to make it faster?
> Add UninvertingReader
> ---------------------
>
> Key: LUCENE-5666
> URL: https://issues.apache.org/jira/browse/LUCENE-5666
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Fix For: 5.0, Trunk
>
> Attachments: LUCENE-5666.patch
>
>
> Currently the fieldcache is not pluggable at all. It would be better if everything used the docvalues apis.
> This would allow people to customize the implementation, extend the classes with custom subclasses with additional stuff, etc etc.
> FieldCache can be accessed via the docvalues apis, using the FilterReader api.
--
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