Uses of Interface
org.apache.lucene.index.IndexableField
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Lucene 9.0 compressing format.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
-
Uses of IndexableField in org.apache.lucene.codecs
Modifier and TypeClassDescriptionprotected class
A visitor that adds every field it sees.Modifier and TypeMethodDescriptionabstract void
StoredFieldsWriter.writeField
(FieldInfo info, IndexableField field) Writes a single stored field. -
Uses of IndexableField in org.apache.lucene.codecs.lucene90.compressing
Modifier and TypeMethodDescriptionvoid
Lucene90CompressingStoredFieldsWriter.writeField
(FieldInfo info, IndexableField field) -
Uses of IndexableField in org.apache.lucene.document
Modifier and TypeClassDescriptionclass
Field that stores a per-documentBytesRef
value.final class
An indexed binary field for fast range filters.class
Syntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double)
.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
Expert: directly create a field for a document.class
Syntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float)
.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
An indexedint
field for fast range filters.class
An indexed Integer Range field.class
DocValues field for IntRange.class
A field that contains a single floating-point numeric vector (or none) for each document.class
An per-document location field.class
An indexed location field.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.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.doc(int)
andIndexReader.document()
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.Modifier and TypeMethodDescriptionfinal IndexableField
Returns a field with the given name if any exist in this document, or null.Returns an array ofIndexableField
s with the given name.Modifier and TypeMethodDescriptionfinal List<IndexableField>
Document.getFields()
Returns a List of all the fields in a document.Document.iterator()
Modifier and TypeMethodDescriptionfinal void
Document.add
(IndexableField field) Adds a field to a document. -
Uses of IndexableField in org.apache.lucene.index
Modifier and TypeMethodDescriptionlong
IndexWriter.addDocument
(Iterable<? extends IndexableField> doc) Adds a document to this index.long
IndexWriter.addDocuments
(Iterable<? extends 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.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.updateDocument
(Term term, Iterable<? extends IndexableField> doc) Updates a document by first deleting the document(s) containingterm
and then adding the new document.long
IndexWriter.updateDocuments
(Term delTerm, Iterable<? extends 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.