You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Eric Angel <er...@gmail.com> on 2010/06/24 06:32:53 UTC

Spatial types and DIH

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

Re: Spatial types and DIH

Posted by Eric Angel <er...@gmail.com>.
Yes.  For now, I've gone back to Lucene 1.4 and installed Local Lucene.  I just couldn't get the sfilt to work.  I'm sure I was probably missing something, but I think I'll just wait until 1.5 is ready to be shipped.


On Jun 28, 2010, at 12:02 PM, Grant Ingersoll wrote:

> 
> On Jun 24, 2010, 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 the two fields together as part of your SQL statement?


Re: Spatial types and DIH

Posted by Grant Ingersoll <gs...@apache.org>.
On Jun 24, 2010, 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 the two fields together as part of your SQL statement?