FieldInfo
Access to the Field Info file that describes document fields and whether or not they are indexed. Each segment has a separate Field Info file. Objects of this class are thread-safe for multiple readers, but only one thread can be adding documents at a time, with no other reader or writer threads accessing this object.
Constructors
Properties
Returns DocValuesType of the docValues; this is DocValuesType.NONE if the field has no docvalues.
Returns IndexOptions for the field, or IndexOptions.NONE if the field is not indexed
Returns true if this field is configured and used as the parent document field field. See IndexWriterConfig.setParentField
If both of these are positive it means this field indexed points (see [ ]).
Return point data dimension count
Return number of bytes per dimension
Returns the number of dimensions of the vector value
Returns the number of dimensions of the vector value
Returns VectorSimilarityFunction for the field
Functions
Returns internal codec attributes map.
Check correctness of the FieldInfo options
Returns true if, and only if, this field has a skip index.
Get a codec attribute value, or null if it does not exist
Returns true if any payloads exist for this field.
Returns true if any term vectors exist for this field.
Returns whether any (numeric) vector values exist for this field
Returns true if norms are explicitly omitted for this field
Puts a codec attribute value.
Omit norms for this field.
Record that this field is indexed with points, with the specified number of dimensions and bytes per dimension.
Verify that the provided FieldInfo has the same schema as this FieldInfo