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).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).classFloatPointAn indexedfloatfield for fast range filters.classFloatRangeAn indexed Float Range field.classFloatRangeDocValuesFieldDocValues field for FloatRange.classIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classIntRangeDocValuesFieldDocValues field for IntRange.classLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.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.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.doc(int)andIndexReader.document()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.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 geometrystatic 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 geometry -
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.
-