Hi list We're in need of a spatial search extension to Solr, and it looks like we might end up implementing it ourselves.
At first glance localsolr looked promising, but a closer look revealed that each document has only a single point location, and querying is done via a cartesian grid. Our documents have bounding rectangles, and we need to query for intersection with a given extent (with ranking as some measure of similarity of the two areas.) An existing one is already on our website at www.koordinates.com . The textbook solution is to use an R-tree as the index instead of a cartesian grid. Does anyone know of any prior work implementing that for Lucene/Solr? So far searching relevant places on the internet hasn't turned up anything. Are there any easily foreseeable problems with implementing an r-tree box indexing/searching extension to Solr, in the spirit of localsolr? If anyone has any pointers I'm all ears. Regards Craig de Stigter -- Koordinates Ltd PO Box 1604, Shortland St, Auckland, New Zealand Phone +64-9-966 0433 Fax +64-9-969 0045 Web http://www.koordinates.com