Uses of Class
org.apache.lucene.document.Field
-
Packages that use Field Package Description org.apache.lucene.analysis.icu Analysis components based on ICUorg.apache.lucene.collation Unicode collation support.org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.sandbox.document This package contains several point types:BigIntegerPoint
for 128-bit integersLatLonPoint
for latitude/longitude geospatial pointsorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.search.vectorhighlight Another highlighter implementation based on term vectors.org.apache.lucene.spatial3d Lucene field & query support for the spatial geometry implemented inorg.apache.lucene.spatial3d.geom
. -
-
Uses of Field in org.apache.lucene.analysis.icu
Subclasses of Field in org.apache.lucene.analysis.icu Modifier and Type Class Description class
ICUCollationDocValuesField
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of Field in org.apache.lucene.collation
Subclasses of Field in org.apache.lucene.collation Modifier and Type Class Description class
CollationDocValuesField
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.document Modifier and Type Class Description class
BinaryDocValuesField
Field that stores a per-documentBytesRef
value.class
BinaryPoint
An indexed binary field for fast range filters.(package private) class
BinaryRangeDocValuesField
class
DoubleDocValuesField
Syntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double)
.class
DoubleField
Field that stores a per-documentdouble
value for scoring, sorting or value retrieval and index the field for fast range filters.class
DoublePoint
An indexeddouble
field for fast range filters.class
DoubleRange
An indexed Double Range field.class
DoubleRangeDocValuesField
DocValues field for DoubleRange.class
FeatureField
Field
that can be used to store static scoring factors into documents.class
FloatDocValuesField
Syntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float)
.class
FloatField
Field that stores a per-documentfloat
value for scoring, sorting or value retrieval and index the field for fast range filters.class
FloatPoint
An indexedfloat
field for fast range filters.class
FloatRange
An indexed Float Range field.class
FloatRangeDocValuesField
DocValues field for FloatRange.class
InetAddressPoint
An indexed 128-bitInetAddress
field.class
InetAddressRange
An indexed InetAddress Range Fieldclass
IntField
Field that stores a per-documentint
value for scoring, sorting or value retrieval and index the field for fast range filters.class
IntPoint
An indexedint
field for fast range filters.class
IntRange
An indexed Integer Range field.class
IntRangeDocValuesField
DocValues field for IntRange.class
KeywordField
Field that indexes a per-document String orBytesRef
into an inverted index for fast filtering, stores values in a columnar fashion usingDocValuesType.SORTED_SET
doc values for sorting and faceting, and optionally stores values as stored fields for top-hits retrieval.class
KnnByteVectorField
A field that contains a single byte numeric vector (or none) for each document.class
KnnFloatVectorField
A field that contains a single floating-point numeric vector (or none) for each document.class
KnnVectorField
Deprecated.useKnnFloatVectorField
insteadclass
LatLonDocValuesField
An per-document location field.class
LatLonPoint
An indexed location field.class
LatLonShapeDocValuesField
Concrete implementation of aShapeDocValuesField
for geographic geometries.class
LongField
Field that stores a per-documentlong
value for scoring, sorting or value retrieval and index the field for fast range filters.class
LongPoint
An indexedlong
field for fast range filters.class
LongRange
An indexed Long Range field.class
LongRangeDocValuesField
DocValues field for LongRange.class
NumericDocValuesField
Field that stores a per-documentlong
value for scoring, sorting or value retrieval.class
ShapeDocValuesField
A doc values field forLatLonShape
andXYShape
that usesShapeDocValues
as the underlying binary doc value format.static class
ShapeField.Triangle
polygons are decomposed into tessellated triangles usingTessellator
these triangles are encoded and inserted as separate indexed POINT fieldsclass
SortedDocValuesField
Field that stores a per-documentBytesRef
value, indexed for sorting.class
SortedNumericDocValuesField
Field that stores a per-documentlong
values for scoring, sorting or value retrieval.class
SortedSetDocValuesField
Field that stores a set of per-documentBytesRef
values, indexed for faceting,grouping,joining.class
StoredField
A field whose value is stored so thatIndexSearcher.storedFields()
andIndexReader.storedFields()
will return the field and its value.class
StringField
A field that is indexed but not tokenized: the entire String value is indexed as a single token.class
TextField
A field that is indexed and tokenized, without term vectors.class
XYDocValuesField
An per-document location field.class
XYPointField
An indexed XY position field.class
XYShapeDocValuesField
Concrete implementation of aShapeDocValuesField
for cartesian geometries.Methods in org.apache.lucene.document that return Field Modifier and Type Method Description static Field[]
LatLonShape. createIndexableFields(java.lang.String fieldName, double lat, double lon)
create indexable fields for point geometrystatic Field[]
LatLonShape. createIndexableFields(java.lang.String fieldName, Line line)
create indexable fields for line geometrystatic Field[]
LatLonShape. createIndexableFields(java.lang.String fieldName, Polygon polygon)
create indexable fields for polygon geometry.static Field[]
LatLonShape. createIndexableFields(java.lang.String fieldName, Polygon polygon, boolean checkSelfIntersections)
create indexable fields for polygon geometry.static Field[]
XYShape. createIndexableFields(java.lang.String fieldName, float x, float y)
create indexable fields for cartesian point geometrystatic Field[]
XYShape. createIndexableFields(java.lang.String fieldName, XYLine line)
create indexable fields for cartesian line geometrystatic Field[]
XYShape. createIndexableFields(java.lang.String fieldName, XYPolygon polygon)
create indexable fields for cartesian polygon geometrystatic Field[]
XYShape. createIndexableFields(java.lang.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 LatLonShapeDocValuesField
LatLonShape. createDocValueField(java.lang.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 private DocValuesUpdate[]
IndexWriter. buildDocValuesUpdate(Term term, Field[] updates)
long
IndexWriter. softUpdateDocument(Term term, java.lang.Iterable<? extends IndexableField> doc, Field... softDeletes)
Expert: Updates a document by first updating the document(s) containingterm
with the given doc-values fields and then adding the new document.long
IndexWriter. softUpdateDocuments(Term term, java.lang.Iterable<? extends java.lang.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.long
IndexWriter. 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)
).long
IndexWriter. updateDocValues(Term term, Field... updates)
Updates documents' DocValues fields to the given values. -
Uses of Field in org.apache.lucene.sandbox.document
Subclasses of Field in org.apache.lucene.sandbox.document Modifier and Type Class Description class
BigIntegerPoint
An indexed 128-bitBigInteger
field.class
HalfFloatPoint
An indexedhalf-float
field for fast range filters.class
LatLonBoundingBox
An indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate system -
Uses of Field in org.apache.lucene.search.suggest.document
Subclasses of Field in org.apache.lucene.search.suggest.document Modifier and Type Class Description class
ContextSuggestField
SuggestField
which additionally takes in a set of contexts.class
SuggestField
Field that indexes a string value and a weight as a weighted completion against a named suggester. -
Uses of Field in org.apache.lucene.search.vectorhighlight
Methods in org.apache.lucene.search.vectorhighlight that return Field Modifier and Type Method Description protected Field[]
BaseFragmentsBuilder. getFields(IndexReader reader, int docId, java.lang.String fieldName)
Methods in org.apache.lucene.search.vectorhighlight with parameters of type Field Modifier and Type Method Description protected java.util.List<FieldFragList.WeightedFragInfo>
BaseFragmentsBuilder. discreteMultiValueHighlighting(java.util.List<FieldFragList.WeightedFragInfo> fragInfos, Field[] fields)
protected java.lang.String
BaseFragmentsBuilder. getFragmentSource(java.lang.StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset)
protected java.lang.String
BaseFragmentsBuilder. getFragmentSourceMSO(java.lang.StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset, int[] modifiedStartOffset)
protected java.lang.String
BaseFragmentsBuilder. makeFragment(java.lang.StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, java.lang.String[] preTags, java.lang.String[] postTags, Encoder encoder)
-
Uses of Field in org.apache.lucene.spatial3d
Subclasses of Field in org.apache.lucene.spatial3d Modifier and Type Class Description class
Geo3DDocValuesField
An per-document 3D location field.class
Geo3DPoint
Add this to a document to index lat/lon or x/y/z point, indexed as a 3D point.
-