MySQL + DIH + SpatialSearch

2011-01-24 Thread Eric Angel
I had difficulties getting this to work, so hopefully this will help others having the same issue. My environment: Solr 3.1 MySQL 5.0.77 Schema: fieldType name=location class=solr.LatLonType subFieldSuffix=_coordinate/ field name=latlng type=location indexed=true stored=true/

Re: Spatial types and DIH

2010-06-28 Thread Eric Angel
, at 12:32 AM, Eric Angel wrote: I'm using solr 4.0-2010-06-23_08-05-33 and can't figure out how to add the spatial types (LatLon, Point, GeoHash or SpatialTile) using dataimporthandler. My lat/lngs from the database are in separate fields. Does anyone know how to do his? Can you concat

Spatial types and DIH

2010-06-23 Thread Eric Angel
I'm using solr 4.0-2010-06-23_08-05-33 and can't figure out how to add the spatial types (LatLon, Point, GeoHash or SpatialTile) using dataimporthandler. My lat/lngs from the database are in separate fields. Does anyone know how to do his? Eric