Module org.elasticsearch.server
Package org.elasticsearch.lucene.spatial
Class GeometryDocValueWriter
java.lang.Object
org.elasticsearch.lucene.spatial.GeometryDocValueWriter
This is a tree-writer that serializes a list of
IndexableField
as an interval tree
into a byte array.-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.util.BytesRef
write
(List<org.apache.lucene.index.IndexableField> fields, CoordinateEncoder coordinateEncoder, CentroidCalculator centroidCalculator) Serialize the triangle tree in a BytesRef
-
Method Details
-
write
public static org.apache.lucene.util.BytesRef write(List<org.apache.lucene.index.IndexableField> fields, CoordinateEncoder coordinateEncoder, CentroidCalculator centroidCalculator) throws IOException Serialize the triangle tree in a BytesRef- Throws:
IOException
-