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 classA 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 TypeClassDescriptionclassAbstract 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 voidTermVectorsWriter.addAllDocVectors(Fields vectors, MergeState mergeState) Safe (but, slowish) default method to write every vector field in the document.abstract voidFieldsConsumer.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 TypeClassDescriptionclassHandles 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 TypeMethodDescriptionvoidBlockTermsWriter.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 classMethods in org.apache.lucene.codecs.blocktreeords with parameters of type FieldsModifier and TypeMethodDescriptionvoidOrdsBlockTreeTermsWriter.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 classMethods in org.apache.lucene.codecs.bloom with parameters of type FieldsModifier and TypeMethodDescriptionvoidBloomFilteringPostingsFormat.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 classA 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 TypeMethodDescriptionvoidLucene90BlockTreeTermsWriter.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 classclassFST-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 classprivate static classMethods in org.apache.lucene.codecs.perfield with parameters of type FieldsModifier and TypeMethodDescriptionvoidPerFieldPostingsFormat.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) classprivate static classMethods in org.apache.lucene.codecs.simpletext that return FieldsMethods in org.apache.lucene.codecs.simpletext with parameters of type FieldsModifier and TypeMethodDescriptionvoidSimpleTextFieldsWriter.write(FieldInfos fieldInfos, Fields fields, NormsProducer normsProducer) voidSimpleTextFieldsWriter.write(Fields fields, NormsProducer norms) -
Uses of Fields in org.apache.lucene.codecs.uniformsplit
Subclasses of Fields in org.apache.lucene.codecs.uniformsplitModifier and TypeClassDescriptionclassA 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 TypeMethodDescriptionvoidUniformSplitTermsWriter.write(Fields fields, NormsProducer normsProducer) -
Uses of Fields in org.apache.lucene.index
Subclasses of Fields in org.apache.lucene.indexModifier and TypeClassDescriptionstatic classBase class for filteringFieldsimplementations.(package private) classImplements limited (iterators only, no stats)Fieldsinterface over the in-RAM buffered fields/terms/postings, to flush postings through the PostingsFormat.classAFieldsimplementation that merges multiple Fields into one, and maps around deleted documents.final classProvides a singleFieldsterm index view over anIndexReader.private static final classprivate static classFields in org.apache.lucene.index declared as FieldsModifier and TypeFieldDescriptionstatic final Fields[]Fields.EMPTY_ARRAYZero-lengthFieldsarray.protected final FieldsFilterLeafReader.FilterFields.inThe underlying Fields instance.private final Fields[]MultiFields.subsMethods in org.apache.lucene.index that return FieldsModifier and TypeMethodDescriptionSlowCompositeCodecReaderWrapper.SlowCompositeTermVectorsReaderWrapper.get(int doc) abstract FieldsTermVectors.get(int doc) Returns term vectors for this document, or null if term vectors were not indexed.final FieldsBaseCompositeReader.getTermVectors(int docID) CodecReader.getTermVectors(int docID) Deprecated.final FieldsDocValuesLeafReader.getTermVectors(int docID) FilterCodecReader.getTermVectors(int docID) Deprecated.FilterLeafReader.getTermVectors(int docID) abstract FieldsIndexReader.getTermVectors(int docID) Deprecated.ParallelLeafReader.getTermVectors(int docID) final FieldsSegmentReader.getTermVectors(int docID) Methods in org.apache.lucene.index with parameters of type FieldsModifier and TypeMethodDescriptionprivate voidFreqProxTermsWriter.applyDeletes(SegmentWriteState state, Fields fields) private static CheckIndex.Status.TermIndexStatusCheckIndex.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 voidSortingTermVectorsConsumer.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 FieldsModifierConstructorDescriptionprotectedFilterFields(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 classMethods in org.apache.lucene.sandbox.codecs.idversion with parameters of type FieldsModifier and TypeMethodDescriptionvoidVersionBlockTreeTermsWriter.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 TokenStreamTokenSources.getTermVectorTokenStreamOrNull(String field, Fields tvFields, int maxStartOffset) Get a token stream by un-inverting the term vector.static TokenStreamTokenSources.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 classCompletion index (.cmp) is opened and read at instantiation to read inSuggestFieldnumbers and their FST offsets in the Completion dictionary (.lkp).Methods in org.apache.lucene.search.suggest.document with parameters of type FieldsModifier and TypeMethodDescriptionvoidCompletionFieldsConsumer.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 FieldsUnifiedHighlighter.TermVectorReusingLeafReader.tvFieldsMethods in org.apache.lucene.search.uhighlight that return FieldsModifier and TypeMethodDescriptionUnifiedHighlighter.TermVectorReusingLeafReader.getTermVectors(int docID)
IndexReader.termVectors()to retrieve one or more documents