Uses of Class
org.apache.lucene.document.Field
-
Packages that use Field Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices. -
-
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.document Modifier and Type Class Description classBinaryDocValuesFieldField that stores a per-documentBytesRefvalue.classBinaryPointAn indexed binary field for fast range filters.classDoubleDocValuesFieldSyntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double).classDoubleFieldField that stores a per-documentdoublevalue for scoring, sorting or value retrieval and index the field for fast range filters.classDoublePointAn indexeddoublefield for fast range filters.classDoubleRangeAn indexed Double Range field.classDoubleRangeDocValuesFieldDocValues field for DoubleRange.classFeatureFieldFieldthat can be used to store static scoring factors into documents.classFloatDocValuesFieldSyntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float).classFloatFieldField that stores a per-documentfloatvalue for scoring, sorting or value retrieval and index the field for fast range filters.classFloatPointAn indexedfloatfield for fast range filters.classFloatRangeAn indexed Float Range field.classFloatRangeDocValuesFieldDocValues field for FloatRange.classInetAddressPointAn indexed 128-bitInetAddressfield.classInetAddressRangeAn indexed InetAddress Range FieldclassIntFieldField that stores a per-documentintvalue for scoring, sorting or value retrieval and index the field for fast range filters.classIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classIntRangeDocValuesFieldDocValues field for IntRange.classKeywordFieldField that indexes a per-document String orBytesRefinto an inverted index for fast filtering, stores values in a columnar fashion usingDocValuesType.SORTED_SETdoc values for sorting and faceting, and optionally stores values as stored fields for top-hits retrieval.classKnnByteVectorFieldA field that contains a single byte numeric vector (or none) for each document.classKnnFloatVectorFieldA field that contains a single floating-point numeric vector (or none) for each document.classKnnVectorFieldDeprecated.useKnnFloatVectorFieldinsteadclassLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.classLatLonShapeDocValuesFieldConcrete implementation of aShapeDocValuesFieldfor geographic geometries.classLongFieldField that stores a per-documentlongvalue for scoring, sorting or value retrieval and index the field for fast range filters.classLongPointAn indexedlongfield for fast range filters.classLongRangeAn indexed Long Range field.classLongRangeDocValuesFieldDocValues field for LongRange.classNumericDocValuesFieldField that stores a per-documentlongvalue for scoring, sorting or value retrieval.classShapeDocValuesFieldA doc values field forLatLonShapeandXYShapethat usesShapeDocValuesas the underlying binary doc value format.static classShapeField.Trianglepolygons are decomposed into tessellated triangles usingTessellatorthese triangles are encoded and inserted as separate indexed POINT fieldsclassSortedDocValuesFieldField that stores a per-documentBytesRefvalue, indexed for sorting.classSortedNumericDocValuesFieldField that stores a per-documentlongvalues for scoring, sorting or value retrieval.classSortedSetDocValuesFieldField that stores a set of per-documentBytesRefvalues, indexed for faceting,grouping,joining.classStoredFieldA field whose value is stored so thatIndexSearcher.storedFields()andIndexReader.storedFields()will return the field and its value.classStringFieldA field that is indexed but not tokenized: the entire String value is indexed as a single token.classTextFieldA field that is indexed and tokenized, without term vectors.classXYDocValuesFieldAn per-document location field.classXYPointFieldAn indexed XY position field.classXYShapeDocValuesFieldConcrete implementation of aShapeDocValuesFieldfor cartesian geometries.Methods in org.apache.lucene.document that return Field Modifier and Type Method Description static Field[]LatLonShape. createIndexableFields(String fieldName, double lat, double lon)create indexable fields for point geometrystatic Field[]LatLonShape. createIndexableFields(String fieldName, Line line)create indexable fields for line geometrystatic Field[]LatLonShape. createIndexableFields(String fieldName, Polygon polygon)create indexable fields for polygon geometry.static Field[]LatLonShape. createIndexableFields(String fieldName, Polygon polygon, boolean checkSelfIntersections)create indexable fields for polygon geometry.static Field[]XYShape. createIndexableFields(String fieldName, float x, float y)create indexable fields for cartesian point geometrystatic Field[]XYShape. createIndexableFields(String fieldName, XYLine line)create indexable fields for cartesian line geometrystatic Field[]XYShape. createIndexableFields(String fieldName, XYPolygon polygon)create indexable fields for cartesian polygon geometrystatic Field[]XYShape. createIndexableFields(String fieldName, XYPolygon polygon, boolean checkSelfIntersections)create indexable fields for cartesian polygon geometry.Methods in org.apache.lucene.document with parameters of type Field Modifier and Type Method Description static LatLonShapeDocValuesFieldLatLonShape. createDocValueField(String fieldName, Field[] indexableFields)create a shape docvalue field from indexable fields -
Uses of Field in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type Field Modifier and Type Method Description longIndexWriter. softUpdateDocument(Term term, Iterable<? extends IndexableField> doc, Field... softDeletes)Expert: Updates a document by first updating the document(s) containingtermwith the given doc-values fields and then adding the new document.longIndexWriter. softUpdateDocuments(Term term, Iterable<? extends Iterable<? extends IndexableField>> docs, Field... softDeletes)Expert: Atomically updates documents matching the provided term with the given doc-values fields and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.longIndexWriter. tryUpdateDocValue(IndexReader readerIn, int docID, Field... fields)Expert: attempts to update doc values by document ID, as long as the provided reader is a near-real-time reader (fromDirectoryReader.open(IndexWriter)).longIndexWriter. updateDocValues(Term term, Field... updates)Updates documents' DocValues fields to the given values.
-