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 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.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 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.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type IndexableField Modifier and Type Method Description voidCompressingStoredFieldsWriter. 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.classICUCollationDocValuesFieldIndexes 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 classBigIntegerPointAn indexed 128-bitBigIntegerfield.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.classHalfFloatPointAn indexedhalf-floatfield for fast range filters.classInetAddressPointAn indexed 128-bitInetAddressfield.classInetAddressRangeAn indexed InetAddress Range FieldclassIntPointAn indexedintfield for fast range filters.classIntRangeAn indexed Integer Range field.classIntRangeDocValuesFieldDocValues field for IntRange.classLatLonBoundingBoxAn indexed 2-Dimension Bounding Box field for the Geospatial Lat/Lon Coordinate systemclassLatLonDocValuesFieldAn per-document location field.classLatLonPointAn indexed location field.classLazyDocument.LazyFieldclassLongPointAn 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 declared as IndexableField Modifier and Type Field Description (package private) IndexableFieldLazyDocument.LazyField. realValueFields 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.IndexableFieldLazyDocument. 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 ofIndexableFields with the given name.private IndexableFieldLazyDocument.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 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 voidDefaultIndexingChain. indexDocValue(int docID, DefaultIndexingChain.PerField fp, DocValuesType dvType, IndexableField field)Called from processDocument to index one field's doc valueprivate voidDefaultIndexingChain. indexPoint(int docID, DefaultIndexingChain.PerField fp, IndexableField field)Called from processDocument to index one field's pointvoidDefaultIndexingChain.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 intDefaultIndexingChain. processField(int docID, IndexableField field, long fieldGen, int fieldCount)(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.voidDefaultIndexingChain. processDocument(int docID, java.lang.Iterable<? extends IndexableField> document)(package private) abstract voidDocConsumer. 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)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.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.
-