Hi Lance. LSP has the concept of a "SpatialStrategy" which encompasses all the algorithms and what-not to index and query, filter, and sort shapes. The TwoDoublesStrategy aims to basically work like Solr's LatLonType, however it isn't completely implemented as you found out -- it doesn't do circle query shapes. It shouldn't be hard to rectify that; I might work on it next. The SpatialStrategy that has gotten the most attention by far in LSP is RecursivePrefixTreeStrategy, my pride and joy. It supports a variable number of points per document, and it supports indexing all shapes; not just points. I don't think you care about those two features, but it does do sorting and circle query shapes. The "score" that comes back from the query is the distance from the query's center, so sort by the query to get what you want. This strategy doesn't store the points in memory as efficiently as TwoDoublesStrategy does; that's something I need to improve, but it works.
~ David Smiley ----- Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3625177.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org