Class GeoS2Analyzer
- java.lang.Object
-
- com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
-
- com.arangodb.entity.arangosearch.analyzer.GeoS2Analyzer
-
public final class GeoS2Analyzer extends SearchAnalyzer
An Analyzer capable of breaking up a GeoJSON object or coordinate array in [longitude, latitude] order into a set of indexable tokens for further usage with ArangoSearch Geo functions.The Analyzer is similar to
GeoJSONAnalyzer
, but it internally uses a format for storing the geo-spatial data that is more efficient. You can choose between different formats to make a tradeoff between the size on disk, the precision, and query performance.- Since:
- ArangoDB 3.10.5
- Author:
- Michele Rastelli
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description GeoS2Analyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
GeoS2AnalyzerProperties
getProperties()
int
hashCode()
void
setProperties(GeoS2AnalyzerProperties properties)
-
Methods inherited from class com.arangodb.entity.arangosearch.analyzer.SearchAnalyzer
getFeatures, getName, getType, setFeatures, setName, setType
-
-
-
-
Method Detail
-
getProperties
public GeoS2AnalyzerProperties getProperties()
-
setProperties
public void setProperties(GeoS2AnalyzerProperties properties)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSearchAnalyzer
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSearchAnalyzer
-
-