Uses of Class
org.apache.lucene.document.FieldType
-
Packages that use FieldType Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching. -
-
Uses of FieldType in org.apache.lucene.document
Fields in org.apache.lucene.document declared as FieldType Modifier and Type Field Description protected static FieldTypeShapeDocValuesField. FIELD_TYPEFieldType for ShapeDocValues fieldstatic FieldTypeBinaryDocValuesField. TYPEType for straight bytes DocValues.static FieldTypeLatLonDocValuesField. TYPEType for a LatLonDocValuesFieldstatic FieldTypeLatLonPoint. TYPEType for an indexed LatLonPointstatic FieldTypeNumericDocValuesField. TYPEType for numeric DocValues.protected static FieldTypeShapeField. TYPEtessellated triangles are seven dimensions; the first four are the bounding box index dimensionsstatic FieldTypeSortedDocValuesField. TYPEType for sorted bytes DocValuesstatic FieldTypeSortedNumericDocValuesField. TYPEType for sorted numeric DocValues.static FieldTypeSortedSetDocValuesField. TYPEType for sorted bytes DocValuesstatic FieldTypeStoredField. TYPEType for a stored-only field.static FieldTypeXYDocValuesField. TYPEType for a XYDocValuesFieldstatic FieldTypeXYPointField. TYPEType for an indexed XYPointstatic FieldTypeStringField. TYPE_NOT_STOREDIndexed, not tokenized, omits norms, indexes DOCS_ONLY, not stored.static FieldTypeTextField. TYPE_NOT_STOREDIndexed, tokenized, not stored.static FieldTypeStringField. TYPE_STOREDIndexed, not tokenized, omits norms, indexes DOCS_ONLY, storedstatic FieldTypeTextField. TYPE_STOREDIndexed, tokenized, stored.Methods in org.apache.lucene.document that return FieldType Modifier and Type Method Description static FieldTypeKnnByteVectorField. createFieldType(int dimension, VectorSimilarityFunction similarityFunction)A convenience method for creating a vector field type.static FieldTypeKnnFloatVectorField. createFieldType(int dimension, VectorSimilarityFunction similarityFunction)A convenience method for creating a vector field type.Constructors in org.apache.lucene.document with parameters of type FieldType Constructor Description KnnByteVectorField(String name, byte[] vector, FieldType fieldType)Creates a numeric vector field.KnnFloatVectorField(String name, float[] vector, FieldType fieldType)Creates a numeric vector field.KnnVectorField(String name, float[] vector, FieldType fieldType)Deprecated.Creates a numeric vector field.StoredField(String name, CharSequence value, FieldType type)Expert: allows you to customize theFieldType.StoredField(String name, String value, FieldType type)Expert: allows you to customize theFieldType.StoredField(String name, FieldType type)Expert: allows you to customize theFieldType.StoredField(String name, BytesRef bytes, FieldType type)Expert: allows you to customize theFieldType.
-