Re: insert lat/lon from jpeg into solr
On Wed, Nov 30, 2016 at 1:36 PM, win harringtonwrote: > I have jpeg files with latitude and longitudein separate fields. When I run > the post tool,it stores the lat/lon in separate fields. > For geospatial search, Solr wants themcombined into one field with the > format'latitude,longitude'. > How can I combine lat+lon into one field? > Build the field up using the UpdateRequestProcessorChain, something like this: latitude latlon longitude latlon latlon , composite-latlon Cheers Tom
Re: insert lat/lon from jpeg into solr
I'd consider parsing with Tika outside of Solr, here's a blog on the topic. That gives you the most flexibility. See: https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ Not quite what you asked for... Best, Erick On Wed, Nov 30, 2016 at 5:36 AM, win harringtonwrote: > I have jpeg files with latitude and longitudein separate fields. When I run > the post tool,it stores the lat/lon in separate fields. > For geospatial search, Solr wants themcombined into one field with the > format'latitude,longitude'. > How can I combine lat+lon into one field? >
insert lat/lon from jpeg into solr
I have jpeg files with latitude and longitudein separate fields. When I run the post tool,it stores the lat/lonĀ in separate fields. For geospatial search, Solr wants themcombined into one field with the format'latitude,longitude'. How can I combine lat+lon into one field?