Uses of Interface
org.apache.lucene.index.IndexableField
-
Packages that use IndexableField 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.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.misc.document Misc extensions of the Document/Field API.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 Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.spatial3d Lucene field & query support for the spatial geometry implemented inorg.apache.lucene.spatial3d.geom
. -
-
Uses of IndexableField in org.apache.lucene.analysis.icu
Classes in org.apache.lucene.analysis.icu that implement IndexableField Modifier and Type Class Description class
ICUCollationDocValuesField
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of IndexableField in org.apache.lucene.collation
Classes in org.apache.lucene.collation that implement IndexableField Modifier and Type Class Description class
CollationDocValuesField
Indexes collation keys as a single-valuedSortedDocValuesField
. -
Uses of IndexableField in org.apache.lucene.document
Classes in org.apache.lucene.document that implement IndexableField 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
Field
Expert: directly create a field for a document.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.Fields in org.apache.lucene.document with type parameters of type IndexableField Modifier and Type Field Description private java.util.List<IndexableField>
Document. fields
Methods in org.apache.lucene.document that return IndexableField Modifier and Type Method Description IndexableField
Document. getField(java.lang.String name)
Returns a field with the given name if any exist in this document, or null.IndexableField[]
Document. getFields(java.lang.String name)
Returns an array ofIndexableField
s with the given name.Methods in org.apache.lucene.document that return types with arguments of type IndexableField Modifier and Type Method Description java.util.List<IndexableField>
Document. getFields()
Returns a List of all the fields in a document.java.util.Iterator<IndexableField>
Document. iterator()
Methods in org.apache.lucene.document with parameters of type IndexableField Modifier and Type Method Description void
Document. add(IndexableField field)
Adds a field to a document. -
Uses of IndexableField in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type IndexableField Modifier and Type Method Description private void
IndexingChain. indexDocValue(int docID, IndexingChain.PerField fp, DocValuesType dvType, IndexableField field)
Called from processDocument to index one field's doc valueprivate void
IndexingChain. indexVectorValue(int docID, IndexingChain.PerField pf, VectorEncoding vectorEncoding, IndexableField field)
void
IndexingChain.PerField. invert(int docID, IndexableField field, boolean first)
Inverts one field for one document; first is true if this is the first time we are seeing this field name in this document.private void
IndexingChain.PerField. invertTerm(int docID, IndexableField field, boolean first)
private void
IndexingChain.PerField. invertTokenStream(int docID, IndexableField field, boolean first)
private boolean
IndexingChain. processField(int docID, IndexableField field, IndexingChain.PerField pf)
Index each field Returnstrue
, if we are indexing a unique field with postings(package private) boolean
FreqProxTermsWriterPerField. start(IndexableField f, boolean first)
(package private) boolean
TermsHashPerField. start(IndexableField field, boolean first)
Start adding a new field instance; first is true if this is the first time this field name was seen in the document.(package private) boolean
TermVectorsConsumerPerField. start(IndexableField field, boolean first)
Method parameters in org.apache.lucene.index with type arguments of type IndexableField Modifier and Type Method Description long
IndexWriter. addDocument(java.lang.Iterable<? extends IndexableField> doc)
Adds a document to this index.long
IndexWriter. addDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs)
Atomically adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.(package private) void
IndexingChain. processDocument(int docID, java.lang.Iterable<? extends IndexableField> document)
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. updateDocument(Term term, java.lang.Iterable<? extends IndexableField> doc)
Updates a document by first deleting the document(s) containingterm
and then adding the new document.(package private) long
DocumentsWriter. updateDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs, DocumentsWriterDeleteQueue.Node<?> delNode)
(package private) long
DocumentsWriterPerThread. updateDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs, DocumentsWriterDeleteQueue.Node<?> deleteNode, DocumentsWriter.FlushNotifications flushNotifications, java.lang.Runnable onNewDocOnRAM)
private long
IndexWriter. updateDocuments(DocumentsWriterDeleteQueue.Node<?> delNode, java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs)
long
IndexWriter. updateDocuments(Term delTerm, java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs)
Atomically deletes documents matching the provided delTerm 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. updateDocuments(Query delQuery, java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs)
Similar toIndexWriter.updateDocuments(Term, Iterable)
, but take a query instead of a term to identify the documents to be updated -
Uses of IndexableField in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory with parameters of type IndexableField Modifier and Type Method Description void
MemoryIndex. addField(IndexableField field, Analyzer analyzer)
Adds a luceneIndexableField
to the MemoryIndex using the provided analyzer.private void
MemoryIndex. storeValues(MemoryIndex.Info info, IndexableField field)
Method parameters in org.apache.lucene.index.memory with type arguments of type IndexableField Modifier and Type Method Description static MemoryIndex
MemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer)
Builds a MemoryIndex from a luceneDocument
using an analyzerstatic MemoryIndex
MemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads)
Builds a MemoryIndex from a luceneDocument
using an analyzerstatic MemoryIndex
MemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads, long maxReusedBytes)
Builds a MemoryIndex from a luceneDocument
using an analyzer -
Uses of IndexableField in org.apache.lucene.misc.document
Classes in org.apache.lucene.misc.document that implement IndexableField Modifier and Type Class Description class
LazyDocument.LazyField
Lazy-loaded fieldFields in org.apache.lucene.misc.document declared as IndexableField Modifier and Type Field Description (package private) IndexableField
LazyDocument.LazyField. realValue
Methods in org.apache.lucene.misc.document that return IndexableField Modifier and Type Method Description IndexableField
LazyDocument. getField(FieldInfo fieldInfo)
Creates a StorableField whose value will be lazy loaded if and when it is used.private IndexableField
LazyDocument.LazyField. getRealValue()
-
Uses of IndexableField in org.apache.lucene.sandbox.document
Classes in org.apache.lucene.sandbox.document that implement IndexableField 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 IndexableField in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as IndexableField Modifier and Type Field Description (package private) IndexableField[]
DocumentDictionary.DocumentInputIterator. currentDocFields
-
Uses of IndexableField in org.apache.lucene.search.suggest.document
Classes in org.apache.lucene.search.suggest.document that implement IndexableField 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 IndexableField in org.apache.lucene.spatial3d
Classes in org.apache.lucene.spatial3d that implement IndexableField 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.
-