Uses of Class
org.apache.lucene.index.Fields
Packages that use Fields
Package
Description
BlockTree terms dictionary.
Lucene 5.0 compressing format.
Codecs API: API for customization of the encoding and structure of the index.
Pluggable term index / block terms dictionary implementations.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Codec PostingsFormat for fast access to low-frequency terms such as primary key fields.
BlockTree terms dictionary.
Lucene 9.0 compressing format.
Term dictionary, DocValues or Postings formats that are read entirely into memory.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
Pluggable term index / block terms dictionary implementations.
Pluggable term index / block terms dictionary implementations.
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
Highlighting search terms.
Support for document suggestion
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
-
Uses of Fields in org.apache.lucene.backward_codecs.lucene40.blocktree
Subclasses of Fields in org.apache.lucene.backward_codecs.lucene40.blocktreeModifier and TypeClassDescriptionfinal class
A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes. -
Uses of Fields in org.apache.lucene.backward_codecs.lucene50.compressing
Subclasses of Fields in org.apache.lucene.backward_codecs.lucene50.compressingMethods in org.apache.lucene.backward_codecs.lucene50.compressing that return Fields -
Uses of Fields in org.apache.lucene.codecs
Subclasses of Fields in org.apache.lucene.codecsModifier and TypeClassDescriptionclass
Abstract API that produces terms, doc, freq, prox, offset and payloads postings.Methods in org.apache.lucene.codecs with parameters of type FieldsModifier and TypeMethodDescriptionprotected final void
TermVectorsWriter.addAllDocVectors
(Fields vectors, MergeState mergeState) Safe (but, slowish) default method to write every vector field in the document.abstract void
FieldsConsumer.write
(Fields fields, NormsProducer norms) Write all fields, terms and postings. -
Uses of Fields in org.apache.lucene.codecs.blockterms
Subclasses of Fields in org.apache.lucene.codecs.blocktermsModifier and TypeClassDescriptionclass
Handles a terms dict, but decouples all details of doc/freqs/positions reading to an instance ofPostingsReaderBase
.Methods in org.apache.lucene.codecs.blockterms with parameters of type FieldsModifier and TypeMethodDescriptionvoid
BlockTermsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.blocktreeords
Subclasses of Fields in org.apache.lucene.codecs.blocktreeordsModifier and TypeClassDescriptionfinal class
Methods in org.apache.lucene.codecs.blocktreeords with parameters of type FieldsModifier and TypeMethodDescriptionvoid
OrdsBlockTreeTermsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.bloom
Subclasses of Fields in org.apache.lucene.codecs.bloomModifier and TypeClassDescription(package private) static class
Methods in org.apache.lucene.codecs.bloom with parameters of type FieldsModifier and TypeMethodDescriptionvoid
BloomFilteringPostingsFormat.BloomFilteredFieldsConsumer.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.lucene90.blocktree
Subclasses of Fields in org.apache.lucene.codecs.lucene90.blocktreeModifier and TypeClassDescriptionfinal class
A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes.Methods in org.apache.lucene.codecs.lucene90.blocktree with parameters of type FieldsModifier and TypeMethodDescriptionvoid
Lucene90BlockTreeTermsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.lucene90.compressing
Subclasses of Fields in org.apache.lucene.codecs.lucene90.compressingMethods in org.apache.lucene.codecs.lucene90.compressing that return Fields -
Uses of Fields in org.apache.lucene.codecs.memory
Subclasses of Fields in org.apache.lucene.codecs.memoryModifier and TypeClassDescriptionprivate static final class
class
FST-based terms dictionary reader.Methods in org.apache.lucene.codecs.memory with parameters of type FieldsConstructors in org.apache.lucene.codecs.memory with parameters of type FieldsModifierConstructorDescriptionDirectFields
(SegmentReadState state, Fields fields, int minSkipCount, int lowFreqCutoff) -
Uses of Fields in org.apache.lucene.codecs.perfield
Subclasses of Fields in org.apache.lucene.codecs.perfieldModifier and TypeClassDescriptionprivate static class
private static class
Methods in org.apache.lucene.codecs.perfield with parameters of type FieldsModifier and TypeMethodDescriptionvoid
PerFieldPostingsFormat.FieldsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.simpletext
Subclasses of Fields in org.apache.lucene.codecs.simpletextModifier and TypeClassDescription(package private) class
private static class
Methods in org.apache.lucene.codecs.simpletext that return FieldsMethods in org.apache.lucene.codecs.simpletext with parameters of type FieldsModifier and TypeMethodDescriptionvoid
SimpleTextFieldsWriter.write
(FieldInfos fieldInfos, Fields fields, NormsProducer normsProducer) void
SimpleTextFieldsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.uniformsplit
Subclasses of Fields in org.apache.lucene.codecs.uniformsplitModifier and TypeClassDescriptionclass
A block-based terms index and dictionary based on the Uniform Split technique.Methods in org.apache.lucene.codecs.uniformsplit with parameters of type FieldsModifier and TypeMethodDescriptionvoid
UniformSplitTermsWriter.write
(Fields fields, NormsProducer normsProducer) -
Uses of Fields in org.apache.lucene.index
Subclasses of Fields in org.apache.lucene.indexModifier and TypeClassDescriptionstatic class
Base class for filteringFields
implementations.(package private) class
Implements limited (iterators only, no stats)Fields
interface over the in-RAM buffered fields/terms/postings, to flush postings through the PostingsFormat.class
AFields
implementation that merges multiple Fields into one, and maps around deleted documents.final class
Provides a singleFields
term index view over anIndexReader
.private static final class
private static class
Fields in org.apache.lucene.index declared as FieldsModifier and TypeFieldDescriptionstatic final Fields[]
Fields.EMPTY_ARRAY
Zero-lengthFields
array.protected final Fields
FilterLeafReader.FilterFields.in
The underlying Fields instance.private final Fields[]
MultiFields.subs
Methods in org.apache.lucene.index that return FieldsModifier and TypeMethodDescriptionSlowCompositeCodecReaderWrapper.SlowCompositeTermVectorsReaderWrapper.get
(int doc) abstract Fields
TermVectors.get
(int doc) Returns term vectors for this document, or null if term vectors were not indexed.final Fields
BaseCompositeReader.getTermVectors
(int docID) CodecReader.getTermVectors
(int docID) Deprecated.final Fields
DocValuesLeafReader.getTermVectors
(int docID) FilterCodecReader.getTermVectors
(int docID) Deprecated.FilterLeafReader.getTermVectors
(int docID) abstract Fields
IndexReader.getTermVectors
(int docID) Deprecated.ParallelLeafReader.getTermVectors
(int docID) final Fields
SegmentReader.getTermVectors
(int docID) Methods in org.apache.lucene.index with parameters of type FieldsModifier and TypeMethodDescriptionprivate void
FreqProxTermsWriter.applyDeletes
(SegmentWriteState state, Fields fields) private static CheckIndex.Status.TermIndexStatus
CheckIndex.checkFields
(Fields fields, Bits liveDocs, int maxDoc, FieldInfos fieldInfos, NormsProducer normsProducer, boolean doPrint, boolean isVectors, PrintStream infoStream, boolean verbose, boolean doSlowChecks) checks Fields api is consistent with itself.private static void
SortingTermVectorsConsumer.writeTermVectors
(TermVectorsWriter writer, Fields vectors, FieldInfos fieldInfos) Safe (but, slowish) default method to copy every vector field in the providedTermVectorsWriter
.Constructors in org.apache.lucene.index with parameters of type FieldsModifierConstructorDescriptionprotected
FilterFields
(Fields in) Creates a new FilterFields.MultiFields
(Fields[] subs, ReaderSlice[] subSlices) Sole constructor.(package private)
TermDocsIterator
(Fields fields, boolean sortedTerms) -
Uses of Fields in org.apache.lucene.index.memory
Subclasses of Fields in org.apache.lucene.index.memoryMethods in org.apache.lucene.index.memory that return Fields -
Uses of Fields in org.apache.lucene.sandbox.codecs.idversion
Subclasses of Fields in org.apache.lucene.sandbox.codecs.idversionModifier and TypeClassDescriptionfinal class
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type FieldsModifier and TypeMethodDescriptionvoid
VersionBlockTreeTermsWriter.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.search.highlight
Fields in org.apache.lucene.search.highlight declared as FieldsMethods in org.apache.lucene.search.highlight that return FieldsMethods in org.apache.lucene.search.highlight with parameters of type FieldsModifier and TypeMethodDescriptionstatic TokenStream
TokenSources.getTermVectorTokenStreamOrNull
(String field, Fields tvFields, int maxStartOffset) Get a token stream by un-inverting the term vector.static TokenStream
TokenSources.getTokenStream
(String field, Fields tvFields, String text, Analyzer analyzer, int maxStartOffset) Get a token stream from either un-inverting a term vector if possible, or by analyzing the text. -
Uses of Fields in org.apache.lucene.search.suggest.document
Subclasses of Fields in org.apache.lucene.search.suggest.documentModifier and TypeClassDescription(package private) final class
Completion index (.cmp) is opened and read at instantiation to read inSuggestField
numbers and their FST offsets in the Completion dictionary (.lkp).Methods in org.apache.lucene.search.suggest.document with parameters of type FieldsModifier and TypeMethodDescriptionvoid
CompletionFieldsConsumer.write
(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.search.uhighlight
Fields in org.apache.lucene.search.uhighlight declared as FieldsModifier and TypeFieldDescriptionprivate Fields
UnifiedHighlighter.TermVectorReusingLeafReader.tvFields
Methods in org.apache.lucene.search.uhighlight that return FieldsModifier and TypeMethodDescriptionUnifiedHighlighter.TermVectorReusingLeafReader.getTermVectors
(int docID)
IndexReader.termVectors()
to retrieve one or more documents