lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dm_tim <dm_...@yahoo.com>
Subject Solr 4.0 Spatial Search schema.xml and data-config.xml
Date Wed, 14 Nov 2012 22:21:51 GMT
Howdy,

I now want to try my hand a spatial search. It looks fairly easy but I'm a
bit puzzled about how to set up my schema.xml file. I know that my field
must use the LatLon type but the columns of the database where I'll be
pulling my data for indexing have separate lat and lon columns (both
double). 

I can't figure out how to write my entity tag in my data-config.xml to take
the two columns lon and lat (both double) and combine them so that I can put
them into a LonLat field. I haven't had much luck finding an example. Is
there one out there?

Regards,

Tim



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-Spatial-Search-schema-xml-and-data-config-xml-tp4020376.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message