RE: Efficient way to define large Boolean Occur.FILTER clause in Lucene 6

2018-07-08 Thread Hasenberger, Josef
: Wednesday, June 27, 2018 4:51 AM To: Lucene Users Mailing List Subject: Re: Efficient way to define large Boolean Occur.FILTER clause in Lucene 6 On Tue, Jun 26, 2018 at 7:02 PM, Hasenberger, Josef wrote: > However, I have a feeling that the conversion from Long values to Terms is >

Re: Efficient way to define large Boolean Occur.FILTER clause in Lucene 6

2018-06-26 Thread Trejkaz
On Tue, Jun 26, 2018 at 7:02 PM, Hasenberger, Josef wrote: > However, I have a feeling that the conversion from Long values to Terms is > rather inefficient for large collections and also uses a lot of memory. > To ease conversion overhead somewhat, I created a class that converts a > Long value d

Efficient way to define large Boolean Occur.FILTER clause in Lucene 6

2018-06-26 Thread Hasenberger, Josef
Hi, I want to filter a result of a query by Long values (applicable for specific field, actually DocValue field) in Lucene 6 (as replacement for Filters which are removed in Lucene 6). The amount of allowed Long values can range from just a few up to hundred thousands. What I do now is to crea