LatLonShapeDocValuesField
Concrete implementation of a ShapeDocValuesField for geographic geometries.
This field should be instantiated through LatLonShape.createDocValueField with Line.
LatLonShape.createDocValueField with Polygon for indexing a geographic polygon doc value field.
LatLonShape.createDocValueField with Line for indexing a geographic linestring doc value.
LatLonShape.createDocValueField with lat/lon for indexing a geographic point doc value.
LatLonShape.createDocValueField with tessellation list for indexing from a precomputed tessellation.
LatLonShape.createDocValueField with BytesRef for indexing from existing encoding.
WARNING: Like LatLonShape, vertex values are indexed with some loss of precision from the original double values.
See also
Functions
Non-null if this field has a binary value
Gets the IndexableFieldType for this ShapeDocValue field
retrieves the bounding box for the geometry
retrieves the centroid location for the geometry
Retrieves the highest dimensional type (POINT, LINE, TRIANGLE) for computing the geometry(s) centroid.
Describes how this field should be inverted. This must return a non-null value if the field indexes terms and postings.
Returns the number of terms (tessellated triangles) for this shape
Non-null if this field has a numeric value
The value of the field as a Reader, or null. If null, the String value or binary value is used. Exactly one of stringValue(), readerValue(), and binaryValue() must be set.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. See .setStringValue.
Expert: change the value of this field. This can be used during indexing to re-use a single Field instance to improve indexing speed by avoiding GC cost of new'ing and reclaiming Field instances. Typically a single Document instance is re-used as well. This helps most on small documents.
Expert: sets the token stream to be used for indexing.
Stored value. This method is called to populate stored fields and must return a non-null value if the field stored.
Currently there is no string representation for the ShapeDocValueField
TokenStreams are not yet supported
The TokenStream for this field to be used when indexing, or null. If null, the Reader value or String value is analyzed to produce the indexed tokens.