[ https://issues.apache.org/jira/browse/SOLR-7231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359214#comment-14359214 ]
Tim Allison edited comment on SOLR-7231 at 3/12/15 7:37 PM: ------------------------------------------------------------ Patch attached. Borrowed heavily from SpatialFilterTest. This patch sets the {code}spatialMetadataField{code} in the firstInit(), on the assumption that users will always want to index the geo point in the same field. Is this reasonable or should we move that choice to {code}nextRow{code} so that users can specify a different field for each doc? was (Author: talli...@mitre.org): Patch attached. Borrowed heavily from SpatialFilterTest. > Allow DIH to create single geo-field from lat/lon metadata extracted via Tika > ----------------------------------------------------------------------------- > > Key: SOLR-7231 > URL: https://issues.apache.org/jira/browse/SOLR-7231 > Project: Solr > Issue Type: Improvement > Reporter: Tim Allison > Priority: Trivial > Attachments: SOLR-7231.patch, test_jpeg.jpg > > > Tika can extract latitude and longitude data from image (and other) files. > It would be handy to allow the user to choose to have DIH populate a single > geofield (LatLonType or RPT) from the two metadata values extracted by Tika. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org