You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/10 20:57:52 UTC
[Solr Wiki] Update of "SpatialSearchDev" by DavidSmiley
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SpatialSearchDev" page has been changed by DavidSmiley.
The comment on this change is: Reference geohash prefix filter for indexing variable number of points..
http://wiki.apache.org/solr/SpatialSearchDev?action=diff&rev1=1&rev2=2
--------------------------------------------------
A geohash is a way of encoding lat/lon into a single field as a String. As of https://issues.apache.org/jira/browse/SOLR-1586, it will be possible to create a geohash via FieldType, simply by passing in a Point (lat,lon). Solr will do the work of converting the point to a geohash.
See http://www.geohash.org and http://en.wikipedia.org/wiki/Geohash
+
+ If you need to index a multi-valued point field, say because you have a variable number of points per document, then check out https://issues.apache.org/jira/browse/SOLR-2155 which uses a hierarchical grid geohash prefix technique to efficiently filter documents by a geographic shape.
==== Example ====
{{{