lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SpatialSearchDev" by Christopher Gross
Date Mon, 31 Oct 2011 12:03:44 GMT
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.

Mime
View raw message