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.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.lucene90.compressing Lucene 9.0 compressing format.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 aDocumentfor 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:BigIntegerPointfor 128-bit integersLatLonPointfor 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 classICUCollationDocValuesFieldIndexes collation keys as a single-valuedSortedDocValuesField. -
Uses of IndexableField in org.apache.lucene.codecs
Classes in org.apache.lucene.codecs that implement IndexableField Modifier and Type Class Description protected classStoredFieldsWriter.MergeVisitorA visitor that adds every field it sees.Methods in org.apache.lucene.codecs with parameters of type IndexableField Modifier and Type Method Description abstract voidStoredFieldsWriter. writeField(FieldInfo info, IndexableField field)Writes a single stored field. -
Uses of IndexableField in org.apache.lucene.codecs.lucene90.compressing
Methods in org.apache.lucene.codecs.lucene90.compressing with parameters of type IndexableField Modifier and Type Method Description voidLucene90CompressingStoredFieldsWriter. 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 voidSimpleTextStoredFieldsWriter. 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 classCollationDocValuesFieldIndexes 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 classBinaryDocValuesFieldField that stores a per-documentBytesRefvalue.classBinaryPointAn indexed binary field for fast range filters.(package private) classBinaryRangeDocValuesFieldclassDoubleDocValuesFieldSyntactic sugar for encoding doubles as NumericDocValues viaDouble.doubleToRawLongBits(double).classDoublePointAn indexeddoublefield for fast range filters.classDoubleRangeAn indexed Double Range field.classDoubleRangeDocValuesFieldDocValues field for DoubleRange.classFeatureFieldFieldthat can be used to store static scoring factors into documents.classFieldExpert: directly create a field for a document.classFloatDocValuesFieldSyntactic sugar for encoding floats as NumericDocValues viaFloat.floatToRawIntBits(float).classFloatPointAn indexedfloatfield for fast range filters.classFloatRangeAn indexed Float Range field.classFloatRangeDocValuesFieldDocValues field for FloatRange.classInetAddressPointAn indexed 128-bitInetAddressfield.classInetAddressRangeAn indexed InetAddress Range FieldclassIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classIntRangeDocValuesFieldDocValues field for IntRange.classKnnVectorFieldA field that contains a single floating-point numeric vector (or none) for each document.classLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.classLongPointAn indexedlongfield for fast range filters.classLongRangeAn indexed Long Range field.classLongRangeDocValuesFieldDocValues field for LongRange.classNumericDocValuesFieldField that stores a per-documentlongvalue for scoring, sorting or value retrieval.static classShapeField.Trianglepolygons are decomposed into tessellated triangles usingTessellatorthese triangles are encoded and inserted as separate indexed POINT fieldsclassSortedDocValuesFieldField that stores a per-documentBytesRefvalue, indexed for sorting.classSortedNumericDocValuesFieldField that stores a per-documentlongvalues for scoring, sorting or value retrieval.classSortedSetDocValuesFieldField that stores a set of per-documentBytesRefvalues, indexed for faceting,grouping,joining.classStoredFieldA field whose value is stored so thatIndexSearcher.doc(int)andIndexReader.document()will return the field and its value.classStringFieldA field that is indexed but not tokenized: the entire String value is indexed as a single token.classTextFieldA field that is indexed and tokenized, without term vectors.classXYDocValuesFieldAn per-document location field.classXYPointFieldAn indexed XY position field.Fields in org.apache.lucene.document with type parameters of type IndexableField Modifier and Type Field Description private java.util.List<IndexableField>Document. fieldsMethods in org.apache.lucene.document that return IndexableField Modifier and Type Method Description IndexableFieldDocument. 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 ofIndexableFields 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 voidDocument. 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 classSortingStoredFieldsConsumer.CopyVisitorA 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 voidIndexingChain. indexDocValue(int docID, IndexingChain.PerField fp, DocValuesType dvType, IndexableField field)Called from processDocument to index one field's doc valuevoidIndexingChain.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 booleanIndexingChain. processField(int docID, IndexableField field, IndexingChain.PerField pf)Index each field Returnstrue, if we are indexing a unique field with postings(package private) booleanFreqProxTermsWriterPerField. start(IndexableField f, boolean first)(package private) booleanTermsHashPerField. 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) booleanTermVectorsConsumerPerField. start(IndexableField field, boolean first)(package private) voidStoredFieldsConsumer. writeField(FieldInfo info, IndexableField field)Method parameters in org.apache.lucene.index with type arguments of type IndexableField Modifier and Type Method Description longIndexWriter. addDocument(java.lang.Iterable<? extends IndexableField> doc)Adds a document to this index.longIndexWriter. 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) voidIndexingChain. processDocument(int docID, java.lang.Iterable<? extends IndexableField> document)longIndexWriter. softUpdateDocument(Term term, java.lang.Iterable<? extends IndexableField> doc, Field... softDeletes)Expert: Updates a document by first updating the document(s) containingtermwith the given doc-values fields and then adding the new document.longIndexWriter. 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.longIndexWriter. updateDocument(Term term, java.lang.Iterable<? extends IndexableField> doc)Updates a document by first deleting the document(s) containingtermand then adding the new document.(package private) longDocumentsWriter. updateDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs, DocumentsWriterDeleteQueue.Node<?> delNode)(package private) longDocumentsWriterPerThread. updateDocuments(java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs, DocumentsWriterDeleteQueue.Node<?> deleteNode, DocumentsWriter.FlushNotifications flushNotifications, java.lang.Runnable onNewDocOnRAM)private longIndexWriter. updateDocuments(DocumentsWriterDeleteQueue.Node<?> delNode, java.lang.Iterable<? extends java.lang.Iterable<? extends IndexableField>> docs)longIndexWriter. 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 voidMemoryIndex. addField(IndexableField field, Analyzer analyzer)Adds a luceneIndexableFieldto 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 MemoryIndexMemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer)Builds a MemoryIndex from a luceneDocumentusing an analyzerstatic MemoryIndexMemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads)Builds a MemoryIndex from a luceneDocumentusing an analyzerstatic MemoryIndexMemoryIndex. fromDocument(java.lang.Iterable<? extends IndexableField> document, Analyzer analyzer, boolean storeOffsets, boolean storePayloads, long maxReusedBytes)Builds a MemoryIndex from a luceneDocumentusing 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 classLazyDocument.LazyFieldLazy-loaded fieldFields in org.apache.lucene.misc.document declared as IndexableField Modifier and Type Field Description (package private) IndexableFieldLazyDocument.LazyField. realValueMethods in org.apache.lucene.misc.document that return IndexableField Modifier and Type Method Description IndexableFieldLazyDocument. getField(FieldInfo fieldInfo)Creates a StorableField whose value will be lazy loaded if and when it is used.private IndexableFieldLazyDocument.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 classBigIntegerPointAn indexed 128-bitBigIntegerfield.classHalfFloatPointAn indexedhalf-floatfield for fast range filters.classLatLonBoundingBoxAn 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 classContextSuggestFieldSuggestFieldwhich additionally takes in a set of contexts.classSuggestFieldField 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 classGeo3DDocValuesFieldAn per-document 3D location field.classGeo3DPointAdd this to a document to index lat/lon or x/y/z point, indexed as a 3D point.
-