Uses of Class
org.apache.lucene.index.FieldInfo
-
Packages that use FieldInfo 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.lucene40 Lucene 4.0 file format.org.apache.lucene.codecs.lucene41 Lucene 4.1 file format.org.apache.lucene.codecs.lucene45 Lucene 4.5 file format.org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices. -
-
Uses of FieldInfo in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs with parameters of type FieldInfo Modifier and Type Method Description abstract voidDocValuesConsumer. addBinaryField(FieldInfo field, Iterable<BytesRef> values)Writes binary docvalues for a field.TermsConsumerBlockTreeTermsWriter. addField(FieldInfo field)abstract TermsConsumerFieldsConsumer. addField(FieldInfo field)Add a new fieldabstract voidDocValuesConsumer. addNumericField(FieldInfo field, Iterable<Number> values)Writes numeric docvalues for a field.abstract voidDocValuesConsumer. addSortedField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrd)Writes pre-sorted binary docvalues for a field.abstract voidDocValuesConsumer. addSortedSetField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrdCount, Iterable<Number> ords)Writes pre-sorted set docvalues for a fieldabstract voidPostingsReaderBase. decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState state, boolean absolute)Actually decode metadata for next termabstract DocsEnumPostingsReaderBase. docs(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsEnum reuse, int flags)Must fully consume state, since after this call that TermState may be reused.abstract DocsAndPositionsEnumPostingsReaderBase. docsAndPositions(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsAndPositionsEnum reuse, int flags)Must fully consume state, since after this call that TermState may be reused.abstract voidPostingsWriterBase. encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState state, boolean absolute)Encode metadata as long[] and byte[].abstract BinaryDocValuesDocValuesProducer. getBinary(FieldInfo field)ReturnsBinaryDocValuesfor this field.abstract BitsDocValuesProducer. getDocsWithField(FieldInfo field)Returns aBitsat the size ofreader.maxDoc(), with turned on bits for each docid that does have a value for this field.abstract NumericDocValuesDocValuesProducer. getNumeric(FieldInfo field)ReturnsNumericDocValuesfor this field.abstract SortedDocValuesDocValuesProducer. getSorted(FieldInfo field)ReturnsSortedDocValuesfor this field.abstract SortedSetDocValuesDocValuesProducer. getSortedSet(FieldInfo field)ReturnsSortedSetDocValuesfor this field.voidDocValuesConsumer. mergeBinaryField(FieldInfo fieldInfo, MergeState mergeState, List<BinaryDocValues> toMerge, List<Bits> docsWithField)Merges the binary docvalues fromtoMerge.voidDocValuesConsumer. mergeNumericField(FieldInfo fieldInfo, MergeState mergeState, List<NumericDocValues> toMerge, List<Bits> docsWithField)Merges the numeric docvalues fromtoMerge.voidDocValuesConsumer. mergeSortedField(FieldInfo fieldInfo, MergeState mergeState, List<SortedDocValues> toMerge)Merges the sorted docvalues fromtoMerge.voidDocValuesConsumer. mergeSortedSetField(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge)Merges the sortedset docvalues fromtoMerge.abstract intPostingsWriterBase. setField(FieldInfo fieldInfo)Sets the current field for writing, and returns the fixed length of long[] metadata (which is fixed per field), called when the writing switches to another field.abstract voidTermVectorsWriter. startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)Called before writing the terms of the field.abstract voidStoredFieldsWriter. writeField(FieldInfo info, IndexableField field)Writes a single stored field. -
Uses of FieldInfo in org.apache.lucene.codecs.compressing
Methods in org.apache.lucene.codecs.compressing with parameters of type FieldInfo Modifier and Type Method Description voidCompressingTermVectorsWriter. startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)voidCompressingStoredFieldsWriter. writeField(FieldInfo info, IndexableField field) -
Uses of FieldInfo in org.apache.lucene.codecs.lucene40
Methods in org.apache.lucene.codecs.lucene40 with parameters of type FieldInfo Modifier and Type Method Description voidLucene40PostingsReader. decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)Deprecated.DocsEnumLucene40PostingsReader. docs(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsEnum reuse, int flags)Deprecated.DocsAndPositionsEnumLucene40PostingsReader. docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)Deprecated.voidLucene40TermVectorsWriter. startField(FieldInfo info, int numTerms, boolean positions, boolean offsets, boolean payloads)voidLucene40StoredFieldsWriter. writeField(FieldInfo info, IndexableField field) -
Uses of FieldInfo in org.apache.lucene.codecs.lucene41
Methods in org.apache.lucene.codecs.lucene41 with parameters of type FieldInfo Modifier and Type Method Description voidLucene41PostingsReader. decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)DocsEnumLucene41PostingsReader. docs(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsEnum reuse, int flags)DocsAndPositionsEnumLucene41PostingsReader. docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)voidLucene41PostingsWriter. encodeTerm(long[] longs, DataOutput out, FieldInfo fieldInfo, BlockTermState _state, boolean absolute)intLucene41PostingsWriter. setField(FieldInfo fieldInfo) -
Uses of FieldInfo in org.apache.lucene.codecs.lucene45
Methods in org.apache.lucene.codecs.lucene45 with parameters of type FieldInfo Modifier and Type Method Description voidLucene45DocValuesConsumer. addBinaryField(FieldInfo field, Iterable<BytesRef> values)voidLucene45DocValuesConsumer. addNumericField(FieldInfo field, Iterable<Number> values)voidLucene45DocValuesConsumer. addSortedField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrd)voidLucene45DocValuesConsumer. addSortedSetField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrdCount, Iterable<Number> ords)protected voidLucene45DocValuesConsumer. addTermsDict(FieldInfo field, Iterable<BytesRef> values)expert: writes a value dictionary for a sorted/sortedset fieldprotected MonotonicBlockPackedReaderLucene45DocValuesProducer. getAddressInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)returns an address instance for variable-length binary values.BinaryDocValuesLucene45DocValuesProducer. getBinary(FieldInfo field)BitsLucene45DocValuesProducer. getDocsWithField(FieldInfo field)protected MonotonicBlockPackedReaderLucene45DocValuesProducer. getIntervalInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.BinaryEntry bytes)returns an address instance for prefix-compressed binary values.NumericDocValuesLucene45DocValuesProducer. getNumeric(FieldInfo field)protected MonotonicBlockPackedReaderLucene45DocValuesProducer. getOrdIndexInstance(IndexInput data, FieldInfo field, Lucene45DocValuesProducer.NumericEntry entry)returns an address instance for sortedset ordinal listsSortedDocValuesLucene45DocValuesProducer. getSorted(FieldInfo field)SortedSetDocValuesLucene45DocValuesProducer. getSortedSet(FieldInfo field) -
Uses of FieldInfo in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type FieldInfo Modifier and Type Method Description voidDocumentStoredFieldVisitor. binaryField(FieldInfo fieldInfo, byte[] value)voidDocumentStoredFieldVisitor. doubleField(FieldInfo fieldInfo, double value)voidDocumentStoredFieldVisitor. floatField(FieldInfo fieldInfo, float value)voidDocumentStoredFieldVisitor. intField(FieldInfo fieldInfo, int value)voidDocumentStoredFieldVisitor. longField(FieldInfo fieldInfo, long value)StoredFieldVisitor.StatusDocumentStoredFieldVisitor. needsField(FieldInfo fieldInfo)voidDocumentStoredFieldVisitor. stringField(FieldInfo fieldInfo, String value) -
Uses of FieldInfo in org.apache.lucene.index
Methods in org.apache.lucene.index that return FieldInfo Modifier and Type Method Description FieldInfoFieldInfos. fieldInfo(int fieldNumber)Return the fieldinfo object referenced by the fieldNumber.FieldInfoFieldInfos. fieldInfo(String fieldName)Return the fieldinfo object referenced by the field nameMethods in org.apache.lucene.index that return types with arguments of type FieldInfo Modifier and Type Method Description Iterator<FieldInfo>FieldInfos. iterator()Returns an iterator over all the fieldinfo objects present, ordered by ascending field numberMethods in org.apache.lucene.index with parameters of type FieldInfo Modifier and Type Method Description voidStoredFieldVisitor. binaryField(FieldInfo fieldInfo, byte[] value)Process a binary field.voidStoredFieldVisitor. doubleField(FieldInfo fieldInfo, double value)Process a double numeric field.voidStoredFieldVisitor. floatField(FieldInfo fieldInfo, float value)Process a float numeric field.voidStoredFieldVisitor. intField(FieldInfo fieldInfo, int value)Process a int numeric field.voidStoredFieldVisitor. longField(FieldInfo fieldInfo, long value)Process a long numeric field.abstract StoredFieldVisitor.StatusStoredFieldVisitor. needsField(FieldInfo fieldInfo)Hook before processing a field.voidStoredFieldVisitor. stringField(FieldInfo fieldInfo, String value)Process a string fieldConstructors in org.apache.lucene.index with parameters of type FieldInfo Constructor Description FieldInfos(FieldInfo[] infos)Constructs a new FieldInfos from an array of FieldInfo objects
-