Package org.apache.tika.metadata.filter
Class GeoPointMetadataFilter
java.lang.Object
org.apache.tika.config.ConfigBase
org.apache.tika.metadata.filter.MetadataFilter
org.apache.tika.metadata.filter.GeoPointMetadataFilter
- All Implemented Interfaces:
Serializable
If
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.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setGeoPointFieldName
(String geoPointFieldName) Set the field for the concatenated LATITUDE,LONGITUDE string.Methods inherited from class org.apache.tika.metadata.filter.MetadataFilter
load
Methods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
Constructor Details
-
GeoPointMetadataFilter
public GeoPointMetadataFilter()
-
-
Method Details
-
setGeoPointFieldName
Set the field for the concatenated LATITUDE,LONGITUDE string. The default if &dquot;location&dquot;- Parameters:
geoPointFieldName
- field name to use for the geopoint field
-
filter
- Specified by:
filter
in classMetadataFilter
- Throws:
TikaException
-