XYShapeDocValuesField
Concrete implementation of a ShapeDocValuesField for cartesian geometries.
This field should be instantiated through XYShape.createDocValueField with XYLine
XYShape.createDocValueField with XYPolygon for indexing a cartesian polygon doc value field.
XYShape.createDocValueField with XYLine for indexing a cartesian linestring doc value.
XYShape.createDocValueField with x/y for indexing a x, y cartesian point doc value.
XYShape.createDocValueField with tessellation list for indexing from a precomputed tessellation.
XYShape.createDocValueField with BytesRef for indexing from existing encoding.
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.