Re: [SPATIAL] Spatial search runs forever

2011-08-17 Thread drazen.nis
At the end I've found what the problem is. The problem is in using non thread safe Map implementations in DistanceFilter. So if you execute the searches, using the same instance of DistanceFilter, using one thread, everything works as expected. But executing it with multiple threads in parallel, th

[SPATIAL] Spatial search runs forever

2011-08-16 Thread drazen.nis
Hello, Recently we have introduced distance searching/sorting into the existing Lucene index, using the Spatial contrib for Lucene 2.9.4. There are 100K+ documents into the index where only 20K docs had latitude/longitude and _tier_* fields. Spatial queries ran quite OK. After enriching the inde