Uses of Interface
org.apache.lucene.index.IndexableField
-
Packages that use IndexableField Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.compressing StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.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.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.document Support for document suggestion -
-
Uses of IndexableField in org.apache.lucene.codecs
Classes in org.apache.lucene.codecs that implement IndexableField Modifier and Type Class Description protected class
StoredFieldsWriter.MergeVisitor
A visitor that adds every field it sees.Methods in org.apache.lucene.codecs with parameters of type IndexableField Modifier and Type Method Description abstract void
StoredFieldsWriter. writeField(FieldInfo info, IndexableField field)
Writes a single stored field. -
Uses of IndexableField in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type IndexableField Modifier and Type Method Description void
CompressingStoredFieldsWriter. writeField(FieldInfo info, IndexableField field)
-
Uses of IndexableField in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext with parameters of type IndexableField Modifier and Type Method Description void
SimpleTextStoredFieldsWriter. writeField(FieldInfo info, IndexableField field)
-
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
.class
ICUCollationDocValuesField
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
BigIntegerPoint
An indexed 128-bitBigInteger
field.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
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
FloatPoint
An indexedfloat
field for fast range filters.class
FloatRange
An indexed Float Range field.class
FloatRangeDocValuesField
DocValues field for FloatRange.class
HalfFloatPoint
An indexedhalf-float
field for fast range filters.class
InetAddressPoint
An indexed 128-bitInetAddress
field.class
InetAddressRange
An indexed InetAddress Range Fieldclass
IntPoint
An indexedint
field for fast range filters.class
IntRange
An indexed Integer Range field.class
IntRangeDocValuesField
DocValues field for IntRange.class
LatLonBoundingBox
An indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate systemclass
LatLonDocValuesField
An per-document location field.class
LatLonPoint
An indexed location field.class
LazyDocument.LazyField
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.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.doc(int)
andIndexReader.document()
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.Fields in org.apache.lucene.document declared as IndexableField Modifier and Type Field Description (package private) IndexableField
LazyDocument.LazyField. realValue
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
LazyDocument. getField(FieldInfo fieldInfo)
Creates a StorableField whose value will be lazy loaded if and when it is used.IndexableField[]
Document. getFields(java.lang.String name)
Returns an array ofIndexableField
s with the given name.private IndexableField
LazyDocument.LazyField. getRealValue()
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
Classes in org.apache.lucene.index that implement IndexableField Modifier and Type Class Description private static class
SortingStoredFieldsConsumer.CopyVisitor
A visitor that copies every field it sees in the providedStoredFieldsWriter
.Methods in org.apache.lucene.index with parameters of type IndexableField Modifier and Type Method Description private void
DefaultIndexingChain. indexDocValue(int docID, DefaultIndexingChain.PerField fp, DocValuesType dvType, IndexableField field)
Called from processDocument to index one field's doc valueprivate void
DefaultIndexingChain. indexPoint(int docID, DefaultIndexingChain.PerField fp, IndexableField field)
Called from processDocument to index one field's pointvoid
DefaultIndexingChain.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 int
DefaultIndexingChain. processField(int docID, IndexableField field, long fieldGen, int fieldCount)
(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)
(package private) void
StoredFieldsConsumer. writeField(FieldInfo info, IndexableField field)
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.void
DefaultIndexingChain. processDocument(int docID, java.lang.Iterable<? extends IndexableField> document)
(package private) abstract void
DocConsumer. 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)
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. -
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.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.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.
-