Re: Filter and FilteredQuery replacements

2022-07-11 Thread Mikhail Khludnev
Hello, Scott. I've found such straightforward implementation https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/LRUQueryCache.java#L512 and a more space efficient one https://github.com/apache/lucene/blob/d6dbe4374a5229b827613b85066f3a4da91d5f27/lucene/core/sr

Filter and FilteredQuery replacements

2022-07-11 Thread Scotter
Hi there, Hopefully this is the right audience for my question. I'm a developer working on an effort to upgrade our Java app from Lucene 5 to Lucene 8 (or later). While doing investigation into changes in these versions the main thing that I'm struggling with is how to replace our current usage of