[
https://issues.apache.org/jira/browse/LUCENE-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091998#comment-15091998
]
ASF subversion and git services commented on LUCENE-6918:
---------------------------------------------------------
Commit 1724044 from [~jpountz] in branch 'dev/branches/lucene_solr_5_4'
[ https://svn.apache.org/r1724044 ]
LUCENE-6918: LRUQueryCache.onDocIdSetEviction is only called when at least one
DocIdSet is being evicted.
> LRUQueryCache.onDocIdSetEviction should not be called when nothing is evicted
> -----------------------------------------------------------------------------
>
> Key: LUCENE-6918
> URL: https://issues.apache.org/jira/browse/LUCENE-6918
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.5, Trunk
>
> Attachments: LUCENE-6918.patch
>
>
> This method is confusing because it states it will be called "when one or
> more DocIdSets are removed from this cache" but may actually be called with
> zero docidsets when evicting a per-segment cache that did not contain any
> entries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]