public class GeoPointMetadataFilter extends MetadataFilter
Metadata
contains a TikaCoreProperties.LATITUDE
and
a TikaCoreProperties.LONGITUDE
, this filter concatenates those with a
comma in the order LATITUDE,LONGITUDE.
If you need any other mappings, please open a ticket on our JIRA.Constructor and Description |
---|
GeoPointMetadataFilter() |
Modifier and Type | Method and Description |
---|---|
void |
filter(Metadata metadata) |
void |
setGeoPointFieldName(String geoPointFieldName)
Set the field for the concatenated LATITUDE,LONGITUDE string.
|
load
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
@Field public void setGeoPointFieldName(String geoPointFieldName)
geoPointFieldName
- field name to use for the geopoint fieldpublic void filter(Metadata metadata) throws TikaException
filter
in class MetadataFilter
TikaException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.