Uses of Class
org.apache.lucene.document.Field
Packages that use Field
Package
Description
The logical representation of a
Document for indexing and
searching.Code to maintain and access indices.
-
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.documentModifier and TypeClassDescriptionclassField that stores a per-documentBytesRefvalue.final classAn indexed binary field for fast range filters.classSyntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double).final classField that stores a per-documentdoublevalue for scoring, sorting or value retrieval and index the field for fast range filters.final classAn indexeddoublefield for fast range filters.classAn indexed Double Range field.classDocValues field for DoubleRange.final classFieldthat can be used to store static scoring factors into documents.classSyntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float).final classField that stores a per-documentfloatvalue for scoring, sorting or value retrieval and index the field for fast range filters.final classAn indexedfloatfield for fast range filters.classAn indexed Float Range field.classDocValues field for FloatRange.classAn indexed 128-bitInetAddressfield.classAn indexed InetAddress Range Fieldfinal classField that stores a per-documentintvalue for scoring, sorting or value retrieval and index the field for fast range filters.final classAn indexedintfield for fast range filters.classAn indexed Integer Range field.classDocValues field for IntRange.classField 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.classA field that contains a single byte numeric vector (or none) for each document.classA field that contains a single floating-point numeric vector (or none) for each document.classAn per-document location field.classAn indexed location field.final classConcrete implementation of aShapeDocValuesFieldfor geographic geometries.final classField that stores a per-documentlongvalue for scoring, sorting or value retrieval and index the field for fast range filters.final classAn indexedlongfield for fast range filters.classAn indexed Long Range field.classDocValues field for LongRange.classField that stores a per-documentlongvalue for scoring, sorting or value retrieval.classA doc values field forLatLonShapeandXYShapethat usesShapeDocValuesas the underlying binary doc value format.static classpolygons are decomposed into tessellated triangles usingTessellatorthese triangles are encoded and inserted as separate indexed POINT fieldsclassField that stores a per-documentBytesRefvalue, indexed for sorting.classField that stores a per-documentlongvalues for scoring, sorting or value retrieval.classField that stores a set of per-documentBytesRefvalues, indexed for faceting,grouping,joining.classA field whose value is stored so thatIndexSearcher.storedFields()andIndexReader.storedFields()will return the field and its value.final classA field that is indexed but not tokenized: the entire String value is indexed as a single token.final classA field that is indexed and tokenized, without term vectors.classAn per-document location field.classAn indexed XY position field.final classConcrete implementation of aShapeDocValuesFieldfor cartesian geometries.Methods in org.apache.lucene.document that return FieldModifier and TypeMethodDescriptionstatic 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 FieldModifier and TypeMethodDescriptionstatic 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 FieldModifier and TypeMethodDescriptionlongIndexWriter.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.