I am trying to combine latitude and longitude data extracted from text file
using data import handler..
One document can contain multiple latitudes / longitudes...
My data would be of format [lat,lat], [long,long]
Example:
[33.7209548950195, 34.474838],[-117.176193237305, -117.573463]
I am currently using the below script transformer for concatenating latitude
and longitude (to form latitude longitude pair using above data)..
It work's fine, but I am not sure if its good to use script transformer for
indexing. I am afraid this might affect the performance of indexing (since I
am using a script thats not a compiled code).. Can someone let me know if
there's any other way to implement this solution?
I was thinking of modifying the LineEntityProcessor but not sure if thats
the right way of implementing a new functionality.. Is there any other way
of implementing custom functionality?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Best-way-to-concatenate-2-array-pairs-DIH-tp4069784.html
Sent from the Solr - User mailing list archive at Nabble.com.