Lucene Spatial Question: Is there a primary and a secondary filter?

2014-10-02 Thread parth_n
Hi everyone, I have a Lucene Spatial code where I query (bounding box) the given data. Does Lucene have a primary and a secondary filter (like MS SQL or PostGIS) (where the primary filter returns the regions in the index to be looked at, and the secondary filter removes the false positives in thes

Lucene Java Caching Question

2014-10-02 Thread parth_n
Hi everyone, I am using a Lucene application from a JAVA IDE. I have this following scenario: I run my java application (set of spatial queries) to get the execution time and results for the queries. The application is terminated. Whenever I re-run the application with the same set of queries, th

Lucene Spatial Question: Is a tree structure explicitly created in the QuadPrefixTree implementation?

2014-09-30 Thread parth_n
Hi everyone, I have a question regarding the quadtree implementation of the spatial module of Lucene. Does the quadtree implementation (QuadPrefixTree) explicitly build a tree structure and store this information? I have gone over the QuadPrefixTree class, but from what I understand it mainly uses

Re: Lucene Spatial Question: How to retrieve all results within a bounding box?

2014-06-08 Thread parth_n
Thanks a lot for the reply David! I am having some problems executing this code. I am using 4.8.1. I tried looking for StoredDocument and SimpleCollector in the source code but couldn't find them. Am I missing something? -- View this message in context: http://lucene.472066.n3.nabble.com/Lucen

Lucene Spatial Question: How to retrieve all results within a bounding box?

2014-06-07 Thread parth_n
Hi everyone, I am trying to retrieve all results within a given bounding box in a 2-D space. I understand that the scoring function is based on the distance from the center of the query. I am not looking to retrieve top-k results, but all of them. I have read previous forums on this similar ques