mirror of https://github.com/apache/lucene.git
add comment
This commit is contained in:
parent
22eeba9920
commit
3816a0eb2b
|
@ -405,6 +405,7 @@ public class LRUQueryCache implements QueryCache, Accountable {
|
|||
lock.lock();
|
||||
try {
|
||||
cache.clear();
|
||||
// Note that this also clears the uniqueQueries map since mostRecentlyUsedQueries is the uniqueQueries.keySet view:
|
||||
mostRecentlyUsedQueries.clear();
|
||||
onClear();
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue