[ 
https://issues.apache.org/jira/browse/LUCENE-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504599#comment-13504599
 ] 

Uwe Schindler commented on LUCENE-4576:
---------------------------------------

+1. While working on random access filters, I removed the cache options 
completely, but Mike readded them later (I have to lookup the issue number).
In my opinion, Robert is right: If you don't have a static index, the chahing 
of deletes is horrible, as it invalidates the cache on every delete. If you 
have a static index, you should expungedeletes it, so all acceptDocs will be 
null and BitsFilteredDocIdSet (used by the Cache to apply deletes) with be a 
no-op.
                
> Remove CachingWrapperFilter recacheDeletes boolean
> --------------------------------------------------
>
>                 Key: LUCENE-4576
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4576
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>
> I think this option is bad news, its just a trap that causes caches to be 
> uselessly invalidated.
> If you really have a totally static index then just expunge your deletes.
> Let's remove the option and complexity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to