RE: Improve Search Speed

2018-08-16 Thread thturk
Thank you for your advice as i researched many people suggest me same things like making better complex queries to get more spesific results . but i didnt excatly get what is more spesifc queries . More indexed fields and put many different kind of boolean queries in it mostly i am using fuzzy

Re: filtering and chaining Collectors

2018-08-16 Thread Michael Sokolov
Right, that makes sense usually. But there are use cases for post-filtering. A good example is when a collector performs grouping or windowing and we want to apply filters based on the grouped or windowed values. On Thu, Aug 16, 2018 at 4:22 AM Adrien Grand wrote: > I think one reason that we do

Re: Legacy filter strategy in Lucene 6.0

2018-08-16 Thread Adrien Grand
Hi Alex, IndexOrDocValuesQuery builds on the same blocks but I don't think you need it here. Uwe's idea it to put both your selective term queries and unselective doc-value queries in the same BooleanQuery. Lucene will know that it needs to run the selective clauses first thanks to the cost API.

Re: filtering and chaining Collectors

2018-08-16 Thread Adrien Grand
I think one reason that we don't want to encourage filtering at the collector level is that it is much slower than filtering in the query. The former needs to check hits one by one while the latter can use leap frog to skip documents that don't match. Le mer. 15 août 2018 à 23:27, Michael Sokolov