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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetGeoPointFieldName(String geoPointFieldName) Set the field for the concatenated LATITUDE,LONGITUDE string.Methods inherited from class org.apache.tika.metadata.filter.MetadataFilter
loadMethods 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:
filterin classMetadataFilter- Throws:
TikaException
-