Class LatLonShapeDocValuesField

All Implemented Interfaces:
IndexableField

public final class LatLonShapeDocValuesField extends ShapeDocValuesField
Concrete implementation of a ShapeDocValuesField for geographic geometries.

This field should be instantiated through LatLonShape.createDocValueField(String, Line)

WARNING: Like LatLonShape, vertex values are indexed with some loss of precision from the original double values.
See Also:
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Constructor Details

    • LatLonShapeDocValuesField

      protected LatLonShapeDocValuesField(String name, List<ShapeField.DecodedTriangle> tessellation)
      constructs a LatLonShapeDocValueField from a pre-tessellated geometry
    • LatLonShapeDocValuesField

      protected LatLonShapeDocValuesField(String name, BytesRef binaryValue)
      Creates a LatLonShapeDocValueField from a given serialized value
  • Method Details