Uses of Class
org.apache.lucene.document.Field
Packages that use Field
Package
Description
Analysis components based on ICU
Unicode collation support.
The logical representation of a
Document
for indexing and
searching.Faceted search.
Provides FacetSets faceting capabilities which allows users to facet on high dimensional field
values.
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField
.Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
Code to maintain and access indices.
This package contains several point types:
BigIntegerPoint
for 128-bit
integers
LatLonPoint
for latitude/longitude
geospatial points
Support for document suggestion
Another highlighter implementation based on term vectors.
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom
.-
Uses of Field in org.apache.lucene.analysis.icu
Subclasses of Field in org.apache.lucene.analysis.icuModifier and TypeClassDescriptionfinal class
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of Field in org.apache.lucene.collation
Subclasses of Field in org.apache.lucene.collationModifier and TypeClassDescriptionfinal class
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of Field in org.apache.lucene.document
Subclasses of Field in org.apache.lucene.documentModifier and TypeClassDescriptionclass
Field that stores a per-documentBytesRef
value.final class
An indexed binary field for fast range filters.(package private) class
class
Syntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double)
.final class
Field that stores a per-documentdouble
value for scoring, sorting or value retrieval and index the field for fast range filters.final class
An indexeddouble
field for fast range filters.class
An indexed Double Range field.class
DocValues field for DoubleRange.final class
Field
that can be used to store static scoring factors into documents.class
Syntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float)
.final class
Field that stores a per-documentfloat
value for scoring, sorting or value retrieval and index the field for fast range filters.final class
An indexedfloat
field for fast range filters.class
An indexed Float Range field.class
DocValues field for FloatRange.class
An indexed 128-bitInetAddress
field.class
An indexed InetAddress Range Fieldfinal class
Field that stores a per-documentint
value for scoring, sorting or value retrieval and index the field for fast range filters.final class
An indexedint
field for fast range filters.class
An indexed Integer Range field.class
DocValues field for IntRange.class
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
A field that contains a single byte numeric vector (or none) for each document.class
A field that contains a single floating-point numeric vector (or none) for each document.class
Deprecated.class
An per-document location field.class
An indexed location field.final class
Concrete implementation of aShapeDocValuesField
for geographic geometries.final class
Field that stores a per-documentlong
value for scoring, sorting or value retrieval and index the field for fast range filters.final class
An indexedlong
field for fast range filters.class
An indexed Long Range field.class
DocValues field for LongRange.class
Field that stores a per-documentlong
value for scoring, sorting or value retrieval.class
A doc values field forLatLonShape
andXYShape
that usesShapeDocValues
as the underlying binary doc value format.static class
polygons are decomposed into tessellated triangles usingTessellator
these triangles are encoded and inserted as separate indexed POINT fieldsclass
Field that stores a per-documentBytesRef
value, indexed for sorting.class
Field that stores a per-documentlong
values for scoring, sorting or value retrieval.class
Field that stores a set of per-documentBytesRef
values, indexed for faceting,grouping,joining.class
A field whose value is stored so thatIndexSearcher.storedFields()
andIndexReader.storedFields()
will return the field and its value.final class
A field that is indexed but not tokenized: the entire String value is indexed as a single token.final class
A field that is indexed and tokenized, without term vectors.class
An per-document location field.class
An indexed XY position field.final class
Concrete implementation of aShapeDocValuesField
for 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 LatLonShapeDocValuesField
LatLonShape.createDocValueField
(String fieldName, Field[] indexableFields) create a shape docvalue field from indexable fields -
Uses of Field in org.apache.lucene.facet
Subclasses of Field in org.apache.lucene.facetModifier and TypeClassDescriptionclass
Add an instance of this to yourDocument
for every facet label. -
Uses of Field in org.apache.lucene.facet.facetset
Subclasses of Field in org.apache.lucene.facet.facetsetModifier and TypeClassDescriptionclass
ABinaryDocValuesField
which encodes a list offacet sets
. -
Uses of Field in org.apache.lucene.facet.sortedset
Subclasses of Field in org.apache.lucene.facet.sortedsetModifier and TypeClassDescriptionclass
Add an instance of this to your Document for every facet label to be indexed via SortedSetDocValues. -
Uses of Field in org.apache.lucene.facet.taxonomy
Subclasses of Field in org.apache.lucene.facet.taxonomyModifier and TypeClassDescriptionclass
Add an instance of this to yourDocument
to add a facet label associated with an arbitrary byte[].class
Add an instance of this to yourDocument
to add a facet label associated with a float.class
Add an instance of this to yourDocument
to add a facet label associated with an int. -
Uses of Field in org.apache.lucene.facet.taxonomy.directory
Fields in org.apache.lucene.facet.taxonomy.directory declared as FieldModifier and TypeFieldDescriptionprivate final Field
DirectoryTaxonomyWriter.fullPathField
private Field
DirectoryTaxonomyWriter.parentStreamField
-
Uses of Field in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type FieldModifier and TypeMethodDescriptionprivate DocValuesUpdate[]
IndexWriter.buildDocValuesUpdate
(Term term, Field[] updates) long
IndexWriter.softUpdateDocument
(Term term, 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, 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.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.documentModifier and TypeClassDescriptionclass
An indexed 128-bitBigInteger
field.final class
An indexedhalf-float
field for fast range filters.class
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.documentModifier and TypeClassDescriptionclass
SuggestField
which additionally takes in a set of contexts.class
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 FieldModifier and TypeMethodDescriptionprotected Field[]
BaseFragmentsBuilder.getFields
(IndexReader reader, int docId, String fieldName) Methods in org.apache.lucene.search.vectorhighlight with parameters of type FieldModifier and TypeMethodDescriptionprotected List
<FieldFragList.WeightedFragInfo> BaseFragmentsBuilder.discreteMultiValueHighlighting
(List<FieldFragList.WeightedFragInfo> fragInfos, Field[] fields) protected String
BaseFragmentsBuilder.getFragmentSource
(StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset) protected String
BaseFragmentsBuilder.getFragmentSourceMSO
(StringBuilder buffer, int[] index, Field[] values, int startOffset, int endOffset, int[] modifiedStartOffset) protected String
BaseFragmentsBuilder.makeFragment
(StringBuilder buffer, int[] index, Field[] values, FieldFragList.WeightedFragInfo fragInfo, String[] preTags, String[] postTags, Encoder encoder) -
Uses of Field in org.apache.lucene.spatial3d
Subclasses of Field in org.apache.lucene.spatial3dModifier and TypeClassDescriptionclass
An per-document 3D location field.final class
Add this to a document to index lat/lon or x/y/z point, indexed as a 3D point.
KnnFloatVectorField
instead