Re: Filters Vs queries - for terms more than 1024

2017-07-17 Thread Adrien Grand
Could you use TermInSetQuery (TermsQuery in older Lucene versions)? It is worse at skipping over matches than a BooleanQuery but keeps memory usage low and disk access sequential, on the contrary to large boolean queries. Otherwise you would probably need to rethink how you design your documents i

Re: Lucene GeoNear Search and Sort Performance

2017-07-17 Thread David Smiley
Oh yes So in 5.x there was no DocValues option for this SpatialStrategy impl which is a shame of course. You could take the code for 6.x: https://github.com/apache/lucene-solr/blob/branch_6x/lucene/spatial-extras/src/java/org/apache/lucene/spatial/vector/PointVectorStrategy.java and back p

Filters Vs queries - for terms more than 1024

2017-07-17 Thread Kumaran Ramasubramanian
Hi All, i am using lucene 4.10.4 In lucene search, i know we have 1024 limitation in number of boolean query clauses. i know we can increase this limit.. but i want to understand queries vs filter in lucene 4.10.4... i want to make queries larger than 1024.. Relevance is not needed for me. What