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 2011/10/31 13:03:44 UTC
[Solr Wiki] Update of "SpatialSearchDev" by Christopher Gross
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 Christopher Gross:
http://wiki.apache.org/solr/SpatialSearchDev?action=diff&rev1=6&rev2=7
Comment:
adding in dynamic field information for the _latLon field -- so that searching will work
<fieldType name="latLon" class="solr.LatLonType" subFieldSuffix="_latLon"/>
...
<field name="store_lat_lon" type="latLon" indexed="true" stored="true"/>
+ ...
+ <dynamicField name="*_latLon" type="double" indexed="true" stored="false" multiValued="true"/>
}}}
=== Geohash ===
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.