Very cool! What you've essentially described is a way of indexing & searching lat-lon box shapes, and the cool thing is that you were able to do this without custom coding / hacking of Solr. Sweet! I do have some observations about this approach: 1. Doesn't support variable number of shapes per document. (LatLonType doesn't either, by the way) 2. The use of function queries on CenterX, CenterY, HalfWidth, and HalfHeight means that all these values (just the distinct ones) will be put into RAM in Lucene's FieldCache. Not a big deal but something to be noted. 3. The function query is going to be evaluated on every document matching the keyword search. That will probably perform okay; not so sure for large indexes with a *:* query.
Again, nice job. Could you please share an example of your ranking query? ~ David Smiley ----- Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/intersecting-map-extent-with-solr-spatial-documents-tp3104098p3106333.html Sent from the Solr - User mailing list archive at Nabble.com.