-
Task
-
Resolution: Won't Do
-
Major
-
None
-
None
Although the javadoc hints to some eviction mechanism this is not actually implemented.
A linked list 'ageOrderedQueries' is maintained so that active queries move to the head of the list and the list is limited to 3000 items. Still, there is no mechanism that actually removes the zombie queries from the 'queries' ConcurrentMap.
The QueryBox component is only used when doing CacheQuery with the LAZY param, such as
cacheQuery.iterator(new FetchOptions().fetchMode(FetchOptions.FetchMode.LAZY)
Since lazy iterators only makes sense with distributed Lucene Queries, and CacheQuery is being deprecated in ISPN 11 (replaced by Query that is index agnostic), I am going to close this issue.