A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 

A

abort() - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
 
abort() - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
 
abort() - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
 
abort() - Method in class org.apache.lucene.codecs.PerDocConsumer
Called during indexing if the indexing session is aborted due to a unrecoverable exception.
abort() - Method in class org.apache.lucene.codecs.sep.SepDocValuesConsumer
 
abort() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
 
abort() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsWriter
 
abort() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsWriter
 
abort() - Method in class org.apache.lucene.codecs.StoredFieldsWriter
Aborts writing entirely, implementation should remove any partially-written files, etc.
abort() - Method in class org.apache.lucene.codecs.TermVectorsWriter
Aborts writing entirely, implementation should remove any partially-written files, etc.
accept(BytesRef) - Method in class org.apache.lucene.index.FilteredTermsEnum
Return if term is accepted, not accepted or the iteration should ended (and possibly seek).
accept(BytesRef) - Method in class org.apache.lucene.index.SingleTermsEnum
 
accept(BytesRef) - Method in class org.apache.lucene.search.PrefixTermsEnum
 
accept(BytesRef) - Method in class org.apache.lucene.search.TermRangeTermsEnum
 
acceptDocs - Variable in class org.apache.lucene.search.FieldCacheDocIdSet
 
acceptPosition(Spans) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
acceptPosition(Spans) - Method in class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
 
acceptPosition(Spans) - Method in class org.apache.lucene.search.spans.SpanPayloadCheckQuery
 
acceptPosition(Spans) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
Implementing classes are required to return whether the current position is a match for the passed in "match" SpanQuery.
acceptPosition(Spans) - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.CachingCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.Collector
Return true if this collector does not require the matching docIDs to be delivered in int sort order (smallest to largest) to Collector.collect(int).
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.MultiCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.TimeLimitingCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.TopFieldCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.TotalHitCountCollector
 
acquire() - Method in class org.apache.lucene.search.ReferenceManager
Obtain the current reference.
acquire(long) - Method in class org.apache.lucene.search.SearcherLifetimeManager
Retrieve a previously recorded IndexSearcher, if it has not yet been closed
add(int, IndexableField) - Method in class org.apache.lucene.codecs.DocValuesConsumer
Adds the given IndexableField instance to this DocValuesConsumer
add(int) - Method in class org.apache.lucene.codecs.intblock.VariableIntBlockIndexOutput
Called one value at a time.
add(int, IndexableField) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesConsumer
 
add(BytesRef, TermStats, long) - Method in class org.apache.lucene.codecs.TermsIndexWriterBase.FieldWriter
 
add(IndexableField) - Method in class org.apache.lucene.document.Document
Adds a field to a document.
add(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
 
add(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.SegmentInfos
 
add(Query, BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanQuery
Adds a clause to a boolean query.
add(BooleanClause) - Method in class org.apache.lucene.search.BooleanQuery
Adds a clause to a boolean query.
add(Query) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Add a subquery to this disjunction
add(Collection<Query>) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Add a collection of disjuncts to this disjunction via Iterable
add(Term) - Method in class org.apache.lucene.search.MultiPhraseQuery
Add a single term at the next position in the phrase.
add(Term[]) - Method in class org.apache.lucene.search.MultiPhraseQuery
Add multiple terms at the next position in the phrase.
add(Term[], int) - Method in class org.apache.lucene.search.MultiPhraseQuery
Allows to specify the relative position of terms within the phrase.
add(Term) - Method in class org.apache.lucene.search.PhraseQuery
Adds a term to the end of the query phrase.
add(Term, int) - Method in class org.apache.lucene.search.PhraseQuery
Adds a term to the end of the query phrase.
add(BytesRef) - Method in class org.apache.lucene.util.BytesRefHash
Adds a new BytesRef
add(BytesRef, int) - Method in class org.apache.lucene.util.BytesRefHash
Adds a new BytesRef with a pre-calculated hash code.
add(IntsRef, T) - Method in class org.apache.lucene.util.fst.Builder
It's OK to add the same input twice in a row with different outputs, as long as outputs impls the merge method.
add(BytesRef, BytesRef) - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
 
add(CharsRef, CharsRef) - Method in class org.apache.lucene.util.fst.CharSequenceOutputs
 
add(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
 
add(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
 
add(T, T) - Method in class org.apache.lucene.util.fst.Outputs
Eg add("foo", "bar") -> "foobar"
add(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
 
add(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
 
add(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
add(long) - Method in class org.apache.lucene.util.packed.PackedInts.Writer
Add a value to the stream.
add(T) - Method in class org.apache.lucene.util.PriorityQueue
Adds an Object to a PriorityQueue in log(size) time.
addAll(Iterable<SegmentInfoPerCommit>) - Method in class org.apache.lucene.index.SegmentInfos
 
addAllDocVectors(Fields, FieldInfos) - Method in class org.apache.lucene.codecs.TermVectorsWriter
Safe (but, slowish) default method to write every vector field in the document.
addAndGet(long) - Method in class org.apache.lucene.util.Counter
Adds the given delta to the counters current value
addArc(int, Builder.Node) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
addAttribute(Class<A>) - Method in class org.apache.lucene.util.AttributeSource
The caller must pass in a Class<? extends Attribute> value.
addAttributeImpl(AttributeImpl) - Method in class org.apache.lucene.util.AttributeSource
Expert: Adds a custom AttributeImpl instance with one or more Attribute interfaces.
addBuffer(int) - Method in class org.apache.lucene.store.RAMFile
 
addByPoolOffset(int) - Method in class org.apache.lucene.util.BytesRefHash
 
addClause(BooleanQuery, Term, int, float, TermContext) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
 
addClause(BooleanQuery, Term, int, float, TermContext) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
 
addClause(SpanQuery) - Method in class org.apache.lucene.search.spans.SpanOrQuery
Adds a clause to this query
addCoreClosedListener(SegmentReader.CoreClosedListener) - Method in class org.apache.lucene.index.SegmentReader
Expert: adds a CoreClosedListener to this reader's shared core
addDetail(Explanation) - Method in class org.apache.lucene.search.Explanation
Adds a sub-node to this explanation node.
addDocument(Iterable<? extends IndexableField>, FieldInfos) - Method in class org.apache.lucene.codecs.StoredFieldsWriter
sugar method for startDocument() + writeField() for every stored field in the document
addDocument(Iterable<? extends IndexableField>) - Method in class org.apache.lucene.index.IndexWriter
Adds a document to this index.
addDocument(Iterable<? extends IndexableField>, Analyzer) - Method in class org.apache.lucene.index.IndexWriter
Adds a document to this index, using the provided analyzer instead of the value of IndexWriter.getAnalyzer().
addDocument(Iterable<? extends IndexableField>, Analyzer) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addDocument(Iterable<? extends IndexableField>) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addDocuments(Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.index.IndexWriter
Atomically adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.
addDocuments(Iterable<? extends Iterable<? extends IndexableField>>, Analyzer) - Method in class org.apache.lucene.index.IndexWriter
Atomically adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.
addDocuments(Iterable<? extends Iterable<? extends IndexableField>>, Analyzer) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addDocuments(Iterable<? extends Iterable<? extends IndexableField>>) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addEpsilons(Automaton, Collection<StatePair>) - Static method in class org.apache.lucene.util.automaton.BasicOperations
Adds epsilon transitions to the given automaton.
addField(FieldInfo) - Method in class org.apache.lucene.codecs.BlockTermsWriter
 
addField(FieldInfo) - Method in class org.apache.lucene.codecs.BlockTreeTermsWriter
 
addField(FieldInfo) - Method in class org.apache.lucene.codecs.FieldsConsumer
Add a new field
addField(FieldInfo, long) - Method in class org.apache.lucene.codecs.FixedGapTermsIndexWriter
 
addField(FieldInfo, long) - Method in class org.apache.lucene.codecs.TermsIndexWriterBase
 
addField(FieldInfo, long) - Method in class org.apache.lucene.codecs.VariableGapTermsIndexWriter
 
addFile(String) - Method in class org.apache.lucene.index.SegmentInfo
 
addFiles(Collection<String>) - Method in class org.apache.lucene.index.SegmentInfo
 
addIndexes(Directory...) - Method in class org.apache.lucene.index.IndexWriter
Adds all segments from an array of indexes into this index.
addIndexes(IndexReader...) - Method in class org.apache.lucene.index.IndexWriter
Merges the provided indexes into this index.
addIndexes(Directory...) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addIndexes(IndexReader...) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Add a new position & payload
addPosition(int, int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
 
addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.PostingsConsumer
Add a new position & payload, and start/end offset.
addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsWriter
 
addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.sep.SepPostingsWriter
Add a new position & payload
addPosition(int, int, int) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsWriter
 
addPosition(int, int, int) - Method in class org.apache.lucene.codecs.TermVectorsWriter
Adds a term position and offsets
addProx(int, DataInput, DataInput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
 
addProx(int, DataInput, DataInput) - Method in class org.apache.lucene.codecs.TermVectorsWriter
Called by IndexWriter when writing new segments.
addRange(BytesRef, BytesRef) - Method in class org.apache.lucene.util.NumericUtils.IntRangeBuilder
Overwrite this method, if you like to receive the already prefix encoded range bounds.
addRange(int, int, int) - Method in class org.apache.lucene.util.NumericUtils.IntRangeBuilder
Overwrite this method, if you like to receive the raw int range bounds.
addRange(BytesRef, BytesRef) - Method in class org.apache.lucene.util.NumericUtils.LongRangeBuilder
Overwrite this method, if you like to receive the already prefix encoded range bounds.
addRange(long, long, int) - Method in class org.apache.lucene.util.NumericUtils.LongRangeBuilder
Overwrite this method, if you like to receive the raw long range bounds.
addRawDocuments(IndexInput, int[], int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
Bulk write a contiguous series of documents.
addReaderClosedListener(IndexReader.ReaderClosedListener) - Method in class org.apache.lucene.index.IndexReader
addTransition(Transition) - Method in class org.apache.lucene.util.automaton.State
Adds an outgoing transition.
addValue(BytesRef) - Method in class org.apache.lucene.util.FuzzySet
Records a value in the set.
addValuesField(DocValues.Type, FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
addValuesField(DocValues.Type, FieldInfo) - Method in class org.apache.lucene.codecs.PerDocConsumer
Adds a new DocValuesField
addWaitingListener(NRTManager.WaitingListener) - Method in class org.apache.lucene.search.NRTManager
Adds a listener, to be notified when a caller is waiting for a specific generation searcher to be visible.
advance(int) - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
advance(int) - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
 
advance(int) - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
advance(int) - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
advance(int) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
advance(int) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
 
advance(int) - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
advance(int) - Method in class org.apache.lucene.index.MultiDocsEnum
 
advance(int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
advance(int) - Method in class org.apache.lucene.search.DocIdSetIterator
Advances to the first beyond (see NOTE below) the current whose document number is greater than or equal to target.
advance(int) - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
 
advance(int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
advance(int) - Method in class org.apache.lucene.search.spans.SpanScorer
 
advance(int) - Method in class org.apache.lucene.util.OpenBitSetIterator
 
afterClose() - Method in class org.apache.lucene.search.NRTManager
 
afterClose() - Method in class org.apache.lucene.search.ReferenceManager
Called after close(), so subclass can free any resources.
AfterEffect - Class in org.apache.lucene.search.similarities
This class acts as the base class for the implementations of the first normalization of the informative content in the DFR framework.
AfterEffect() - Constructor for class org.apache.lucene.search.similarities.AfterEffect
 
afterEffect - Variable in class org.apache.lucene.search.similarities.DFRSimilarity
The first normalization of the information content.
AfterEffect.NoAfterEffect - Class in org.apache.lucene.search.similarities
Implementation used when there is no aftereffect.
AfterEffect.NoAfterEffect() - Constructor for class org.apache.lucene.search.similarities.AfterEffect.NoAfterEffect
 
AfterEffectB - Class in org.apache.lucene.search.similarities
Model of the information gain based on the ratio of two Bernoulli processes.
AfterEffectB() - Constructor for class org.apache.lucene.search.similarities.AfterEffectB
 
AfterEffectL - Class in org.apache.lucene.search.similarities
Model of the information gain based on Laplace's law of succession.
AfterEffectL() - Constructor for class org.apache.lucene.search.similarities.AfterEffectL
 
afterRefresh() - Method in class org.apache.lucene.search.NRTManager
 
afterRefresh() - Method in class org.apache.lucene.search.ReferenceManager
Called after swapReference has installed a new instance.
alignObjectSize(long) - Static method in class org.apache.lucene.util.RamUsageEstimator
Aligns an object size to be the next multiple of RamUsageEstimator.NUM_BYTES_OBJECT_ALIGNMENT.
ALL - Static variable in class org.apache.lucene.util.automaton.RegExp
Syntax flag, enables all optional regexp syntax.
allocSlice(byte[], int) - Method in class org.apache.lucene.util.ByteBlockPool
 
AlreadyClosedException - Exception in org.apache.lucene.store
This exception is thrown when there is an attempt to access something that has already been closed.
AlreadyClosedException(String) - Constructor for exception org.apache.lucene.store.AlreadyClosedException
 
Analyzer - Class in org.apache.lucene.analysis
An Analyzer builds TokenStreams, which analyze text.
Analyzer() - Constructor for class org.apache.lucene.analysis.Analyzer
 
Analyzer(Analyzer.ReuseStrategy) - Constructor for class org.apache.lucene.analysis.Analyzer
 
Analyzer.GlobalReuseStrategy - Class in org.apache.lucene.analysis
Implementation of Analyzer.ReuseStrategy that reuses the same components for every field.
Analyzer.GlobalReuseStrategy() - Constructor for class org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy
 
Analyzer.PerFieldReuseStrategy - Class in org.apache.lucene.analysis
Implementation of Analyzer.ReuseStrategy that reuses components per-field by maintaining a Map of TokenStreamComponent per field name.
Analyzer.PerFieldReuseStrategy() - Constructor for class org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy
 
Analyzer.ReuseStrategy - Class in org.apache.lucene.analysis
Strategy defining how TokenStreamComponents are reused per call to Analyzer.tokenStream(String, java.io.Reader).
Analyzer.ReuseStrategy() - Constructor for class org.apache.lucene.analysis.Analyzer.ReuseStrategy
 
Analyzer.TokenStreamComponents - Class in org.apache.lucene.analysis
This class encapsulates the outer components of a token stream.
Analyzer.TokenStreamComponents(Tokenizer, TokenStream) - Constructor for class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Creates a new Analyzer.TokenStreamComponents instance.
Analyzer.TokenStreamComponents(Tokenizer) - Constructor for class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Creates a new Analyzer.TokenStreamComponents instance.
AnalyzerWrapper - Class in org.apache.lucene.analysis
Extension to Analyzer suitable for Analyzers which wrap other Analyzers.
AnalyzerWrapper() - Constructor for class org.apache.lucene.analysis.AnalyzerWrapper
Creates a new AnalyzerWrapper.
and(DocIdSetIterator) - Method in class org.apache.lucene.util.FixedBitSet
Does in-place AND of the bits provided by the iterator.
and(FixedBitSet) - Method in class org.apache.lucene.util.FixedBitSet
this = this AND other
and(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
 
andNot(DocIdSetIterator) - Method in class org.apache.lucene.util.FixedBitSet
Does in-place AND NOT of the bits provided by the iterator.
andNot(FixedBitSet) - Method in class org.apache.lucene.util.FixedBitSet
this = this AND NOT other
andNot(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
 
andNotCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
Returns the popcount or cardinality of "a and not b" or "intersection(a, not(b))".
anyDocValuesFields(FieldInfos) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
 
anyDocValuesFields(FieldInfos) - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
anyDocValuesFields(FieldInfos) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
 
ANYSTRING - Static variable in class org.apache.lucene.util.automaton.RegExp
Syntax flag, enables anystring (@).
append(CharSequence) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
 
append(CharSequence, int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
 
append(char) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
 
append(String) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Appends the specified String to this character sequence.
append(StringBuilder) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Appends the specified StringBuilder to this character sequence.
append(CharTermAttribute) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Appends the contents of the other CharTermAttribute to this character sequence.
append(CharSequence) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(CharSequence, int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(char) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(String) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(StringBuilder) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(CharTermAttribute) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
append(BytesRef) - Method in class org.apache.lucene.util.BytesRef
Appends the bytes from the given BytesRef
append(char[], int, int) - Method in class org.apache.lucene.util.CharsRef
Appends the given array to this CharsRef
AppendingCodec - Class in org.apache.lucene.codecs.appending
This codec extends Lucene40Codec to work on append-only outputs, such as plain output streams and append-only filesystems.
AppendingCodec() - Constructor for class org.apache.lucene.codecs.appending.AppendingCodec
 
AppendingTermsReader - Class in org.apache.lucene.codecs.appending
Reads append-only terms from AppendingTermsWriter
AppendingTermsReader(Directory, FieldInfos, String, PostingsReaderBase, IOContext, String, int) - Constructor for class org.apache.lucene.codecs.appending.AppendingTermsReader
 
AppendingTermsWriter - Class in org.apache.lucene.codecs.appending
Append-only version of BlockTreeTermsWriter
AppendingTermsWriter(SegmentWriteState, PostingsWriterBase, int, int) - Constructor for class org.apache.lucene.codecs.appending.AppendingTermsWriter
 
arcCount - Variable in class org.apache.lucene.util.fst.FST
 
arcs - Variable in class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
arcWithOutputCount - Variable in class org.apache.lucene.util.fst.FST
 
ArrayUtil - Class in org.apache.lucene.util
Methods for manipulating arrays.
asInt(BytesRef) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Converts 4 consecutive bytes from the current offset to an int.
asList() - Method in class org.apache.lucene.index.SegmentInfos
Returns all contained segments as an unmodifiable List view.
asLong(BytesRef) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Converts 8 consecutive bytes from the current offset to a long.
asShort(BytesRef) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Converts 2 consecutive bytes from the current offset to a short.
asSortedSource() - Method in class org.apache.lucene.index.DocValues.SortedSource
 
asSortedSource() - Method in class org.apache.lucene.index.DocValues.Source
If this DocValues.Source is sorted this method will return an instance of DocValues.SortedSource otherwise UOE
AtomicReader - Class in org.apache.lucene.index
AtomicReader is an abstract class, providing an interface for accessing an index.
AtomicReader() - Constructor for class org.apache.lucene.index.AtomicReader
 
AtomicReaderContext - Class in org.apache.lucene.index
Attribute - Interface in org.apache.lucene.util
Base interface for attributes.
AttributeImpl - Class in org.apache.lucene.util
Base class for Attributes that can be added to a AttributeSource.
AttributeImpl() - Constructor for class org.apache.lucene.util.AttributeImpl
 
AttributeReflector - Interface in org.apache.lucene.util
This interface is used to reflect contents of AttributeSource or AttributeImpl.
attributes() - Method in class org.apache.lucene.index.DocsEnum
Returns the related attributes.
attributes() - Method in class org.apache.lucene.index.FieldInfo
 
attributes() - Method in class org.apache.lucene.index.FieldsEnum
Returns the related attributes.
attributes() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
attributes() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
 
attributes() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterFieldsEnum
 
attributes() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
attributes() - Method in class org.apache.lucene.index.FilteredTermsEnum
Returns the related attributes, the returned AttributeSource is shared with the delegate TermsEnum.
attributes() - Method in class org.apache.lucene.index.SegmentInfo
 
attributes() - Method in class org.apache.lucene.index.TermsEnum
Returns the related attributes.
AttributeSource - Class in org.apache.lucene.util
An AttributeSource contains a list of different AttributeImpls, and methods to add and get them.
AttributeSource() - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource using the default attribute factory AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY.
AttributeSource(AttributeSource) - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource that uses the same attributes as the supplied one.
AttributeSource(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource using the supplied AttributeSource.AttributeFactory for creating new Attribute instances.
AttributeSource.AttributeFactory - Class in org.apache.lucene.util
An AttributeFactory creates instances of AttributeImpls.
AttributeSource.AttributeFactory() - Constructor for class org.apache.lucene.util.AttributeSource.AttributeFactory
 
AttributeSource.State - Class in org.apache.lucene.util
This class holds the state of an AttributeSource.
AttributeSource.State() - Constructor for class org.apache.lucene.util.AttributeSource.State
 
automata() - Method in interface org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttribute
 
automata() - Method in class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
 
automaton - Variable in class org.apache.lucene.search.AutomatonQuery
the automaton to match index terms against
Automaton - Class in org.apache.lucene.util.automaton
Finite-state automaton with regular expression operations.
Automaton(State) - Constructor for class org.apache.lucene.util.automaton.Automaton
Constructs a new automaton that accepts the empty language.
Automaton() - Constructor for class org.apache.lucene.util.automaton.Automaton
 
AUTOMATON - Static variable in class org.apache.lucene.util.automaton.RegExp
Syntax flag, enables named automata (<identifier>).
AutomatonProvider - Interface in org.apache.lucene.util.automaton
Automaton provider for RegExp. RegExp.toAutomaton(AutomatonProvider)
AutomatonQuery - Class in org.apache.lucene.search
A Query that will match terms against a finite-state machine.
AutomatonQuery(Term, Automaton) - Constructor for class org.apache.lucene.search.AutomatonQuery
Create a new AutomatonQuery from an Automaton.
availableCodecs() - Static method in class org.apache.lucene.codecs.Codec
returns a list of all available codec names
availableHashFunctionNames() - Static method in class org.apache.lucene.util.hash.HashFunction
returns a list of all available hash function names
availablePostingsFormats() - Static method in class org.apache.lucene.codecs.PostingsFormat
returns a list of all available format names
availableServices() - Method in class org.apache.lucene.util.NamedSPILoader
 
AveragePayloadFunction - Class in org.apache.lucene.search.payloads
Calculate the final score as the average score of all payloads seen.
AveragePayloadFunction() - Constructor for class org.apache.lucene.search.payloads.AveragePayloadFunction
 
avgFieldLength - Variable in class org.apache.lucene.search.similarities.BasicStats
The average field length.
avgFieldLength(CollectionStatistics) - Method in class org.apache.lucene.search.similarities.BM25Similarity
The default implementation computes the average as sumTotalTermFreq / maxDoc, or returns 1 if the index does not store sumTotalTermFreq (Lucene 3.x indexes or any field that omits frequency information).

B

base - Variable in class org.apache.lucene.index.UpgradeIndexMergePolicy
 
base - Variable in class org.apache.lucene.search.CachingCollector
 
BaseCompositeReader<R extends IndexReader> - Class in org.apache.lucene.index
Base class for implementing CompositeReaders based on an array of sub-readers.
BaseCompositeReader(R[]) - Constructor for class org.apache.lucene.index.BaseCompositeReader
Constructs a BaseCompositeReader on the given subReaders.
BasicAutomata - Class in org.apache.lucene.util.automaton
Construction of basic automata.
BasicModel - Class in org.apache.lucene.search.similarities
This class acts as the base class for the specific basic model implementations in the DFR framework.
BasicModel() - Constructor for class org.apache.lucene.search.similarities.BasicModel
 
basicModel - Variable in class org.apache.lucene.search.similarities.DFRSimilarity
The basic model for information content.
BasicModelBE - Class in org.apache.lucene.search.similarities
Limiting form of the Bose-Einstein model.
BasicModelBE() - Constructor for class org.apache.lucene.search.similarities.BasicModelBE
 
BasicModelD - Class in org.apache.lucene.search.similarities
Implements the approximation of the binomial model with the divergence for DFR.
BasicModelD() - Constructor for class org.apache.lucene.search.similarities.BasicModelD
 
BasicModelG - Class in org.apache.lucene.search.similarities
Geometric as limiting form of the Bose-Einstein model.
BasicModelG() - Constructor for class org.apache.lucene.search.similarities.BasicModelG
 
BasicModelIF - Class in org.apache.lucene.search.similarities
An approximation of the I(ne) model.
BasicModelIF() - Constructor for class org.apache.lucene.search.similarities.BasicModelIF
 
BasicModelIn - Class in org.apache.lucene.search.similarities
The basic tf-idf model of randomness.
BasicModelIn() - Constructor for class org.apache.lucene.search.similarities.BasicModelIn
 
BasicModelIne - Class in org.apache.lucene.search.similarities
Tf-idf model of randomness, based on a mixture of Poisson and inverse document frequency.
BasicModelIne() - Constructor for class org.apache.lucene.search.similarities.BasicModelIne
 
BasicModelP - Class in org.apache.lucene.search.similarities
Implements the Poisson approximation for the binomial model for DFR.
BasicModelP() - Constructor for class org.apache.lucene.search.similarities.BasicModelP
 
BasicOperations - Class in org.apache.lucene.util.automaton
Basic automata operations.
BasicStats - Class in org.apache.lucene.search.similarities
Stores all statistics commonly used ranking methods.
BasicStats(String, float) - Constructor for class org.apache.lucene.search.similarities.BasicStats
Constructor.
BIG_TERM - Static variable in class org.apache.lucene.util.UnicodeUtil
A binary term consisting of a number of 0xff bytes, likely to be bigger than other terms one would normally encounter, and definitely bigger than any UTF-8 terms.
binaryField(FieldInfo, byte[], int, int) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
 
binaryField(FieldInfo, byte[], int, int) - Method in class org.apache.lucene.index.StoredFieldVisitor
Process a binary field.
binarySearch(BytesRef, FieldCache.DocTermsIndex, BytesRef) - Static method in class org.apache.lucene.search.FieldComparator
 
binarySearch(BytesRef, FieldCache.DocTermsIndex, BytesRef, int, int) - Static method in class org.apache.lucene.search.FieldComparator
 
binarySearchLookup(BytesRef, BytesRef) - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
 
binaryValue() - Method in class org.apache.lucene.document.Field
 
binaryValue() - Method in interface org.apache.lucene.index.IndexableField
Non-null if this field has a binary value
bitlist - Static variable in class org.apache.lucene.util.OpenBitSetIterator
 
bits() - Method in class org.apache.lucene.search.DocIdSet
Optionally provides a Bits interface for random access to matching documents.
bits() - Method in class org.apache.lucene.search.FieldCacheDocIdSet
 
bits() - Method in class org.apache.lucene.search.FilteredDocIdSet
 
Bits - Interface in org.apache.lucene.util
Interface for Bitset-like structures.
bits() - Method in class org.apache.lucene.util.DocIdBitSet
 
bits() - Method in class org.apache.lucene.util.FixedBitSet
 
bits - Variable in class org.apache.lucene.util.OpenBitSet
 
bits() - Method in class org.apache.lucene.util.OpenBitSet
 
Bits.MatchAllBits - Class in org.apache.lucene.util
Bits impl of the specified length with all bits set.
Bits.MatchAllBits(int) - Constructor for class org.apache.lucene.util.Bits.MatchAllBits
 
Bits.MatchNoBits - Class in org.apache.lucene.util
Bits impl of the specified length with no bits set.
Bits.MatchNoBits(int) - Constructor for class org.apache.lucene.util.Bits.MatchNoBits
 
bits2words(int) - Static method in class org.apache.lucene.util.FixedBitSet
returns the number of 64 bit words it would take to hold numBits
bits2words(long) - Static method in class org.apache.lucene.util.OpenBitSet
returns the number of 64 bit words it would take to hold numBits
BitsFilteredDocIdSet - Class in org.apache.lucene.search
This implementation supplies a filtered DocIdSet, that excludes all docids which are not in a Bits instance.
BitsFilteredDocIdSet(DocIdSet, Bits) - Constructor for class org.apache.lucene.search.BitsFilteredDocIdSet
Constructor.
bitsPerValue - Variable in class org.apache.lucene.util.packed.PackedInts.FormatAndBits
 
bitsPerValue - Variable in class org.apache.lucene.util.packed.PackedInts.Writer
 
bitsPerValue() - Method in class org.apache.lucene.util.packed.PackedInts.Writer
The number of bits per value.
bitsRequired(long) - Static method in class org.apache.lucene.util.packed.PackedInts
Returns how many bits are required to hold values up to and including maxValue
BitUtil - Class in org.apache.lucene.util
A variety of high efficiency bit twiddling routines.
blockCountByPrefixLen - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
 
blockFilePointer - Variable in class org.apache.lucene.codecs.BlockTermState
 
blockSize - Variable in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexInput
 
blockSize - Variable in class org.apache.lucene.util.ByteBlockPool.Allocator
 
BlockTermsReader - Class in org.apache.lucene.codecs
Handles a terms dict, but decouples all details of doc/freqs/positions reading to an instance of PostingsReaderBase.
BlockTermsReader(TermsIndexReaderBase, Directory, FieldInfos, String, PostingsReaderBase, IOContext, int, String) - Constructor for class org.apache.lucene.codecs.BlockTermsReader
 
BlockTermState - Class in org.apache.lucene.codecs
Holds all state required for PostingsReaderBase to produce a DocsEnum without re-seeking the terms dict.
BlockTermState() - Constructor for class org.apache.lucene.codecs.BlockTermState
 
BlockTermsWriter - Class in org.apache.lucene.codecs
Writes terms dict, block-encoding (column stride) each term's metadata for each set of terms between two index terms.
BlockTermsWriter(TermsIndexWriterBase, SegmentWriteState, PostingsWriterBase) - Constructor for class org.apache.lucene.codecs.BlockTermsWriter
 
blockTreeStats - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
 
BlockTreeTermsReader - Class in org.apache.lucene.codecs
A block-based terms index and dictionary that assigns terms to variable length blocks according to how they share prefixes.
BlockTreeTermsReader(Directory, FieldInfos, String, PostingsReaderBase, IOContext, String, int) - Constructor for class org.apache.lucene.codecs.BlockTreeTermsReader
 
BlockTreeTermsReader.FieldReader - Class in org.apache.lucene.codecs
 
BlockTreeTermsReader.Stats - Class in org.apache.lucene.codecs
BlockTree statistics for a single field returned by BlockTreeTermsReader.FieldReader.computeStats().
BlockTreeTermsReader.Stats(String, String) - Constructor for class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
 
BlockTreeTermsWriter - Class in org.apache.lucene.codecs
block-based terms index and dictionary writer.
BlockTreeTermsWriter(SegmentWriteState, PostingsWriterBase, int, int) - Constructor for class org.apache.lucene.codecs.BlockTreeTermsWriter
Create a new writer.
BLOOM_CODEC_NAME - Static variable in class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
 
BLOOM_CODEC_VERSION - Static variable in class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
 
BloomFilterFactory - Class in org.apache.lucene.codecs.bloom
Class used to create index-time FuzzySet appropriately configured for each field.
BloomFilterFactory() - Constructor for class org.apache.lucene.codecs.bloom.BloomFilterFactory
 
BloomFilteringPostingsFormat - Class in org.apache.lucene.codecs.bloom
A PostingsFormat useful for low doc-frequency fields such as primary keys.
BloomFilteringPostingsFormat(PostingsFormat, BloomFilterFactory) - Constructor for class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
Creates Bloom filters for a selection of fields created in the index.
BloomFilteringPostingsFormat(PostingsFormat) - Constructor for class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
Creates Bloom filters for a selection of fields created in the index.
BloomFilteringPostingsFormat() - Constructor for class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
 
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer - Class in org.apache.lucene.codecs.bloom
 
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer(SegmentReadState) - Constructor for class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat.BloomFilteredFieldsProducer
 
BM25Similarity - Class in org.apache.lucene.search.similarities
BM25 Similarity.
BM25Similarity(float, float) - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
 
BM25Similarity() - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
BM25 with these default values: k1 = 1.2, b = 0.75.
BooleanClause - Class in org.apache.lucene.search
A clause in a BooleanQuery.
BooleanClause(Query, BooleanClause.Occur) - Constructor for class org.apache.lucene.search.BooleanClause
Constructs a BooleanClause.
BooleanClause.Occur - Enum in org.apache.lucene.search
Specifies how clauses are to occur in matching documents.
BooleanQuery - Class in org.apache.lucene.search
A Query that matches documents matching boolean combinations of other queries, e.g.
BooleanQuery() - Constructor for class org.apache.lucene.search.BooleanQuery
Constructs an empty boolean query.
BooleanQuery(boolean) - Constructor for class org.apache.lucene.search.BooleanQuery
Constructs an empty boolean query.
BooleanQuery.BooleanWeight - Class in org.apache.lucene.search
Expert: the Weight for BooleanQuery, used to normalize, score and explain these queries.
BooleanQuery.BooleanWeight(IndexSearcher, boolean) - Constructor for class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
BooleanQuery.TooManyClauses - Exception in org.apache.lucene.search
Thrown when an attempt is made to add more than BooleanQuery.getMaxClauseCount() clauses.
BooleanQuery.TooManyClauses() - Constructor for exception org.apache.lucene.search.BooleanQuery.TooManyClauses
 
boost - Variable in class org.apache.lucene.document.Field
 
boost() - Method in class org.apache.lucene.document.Field
 
boost() - Method in interface org.apache.lucene.index.IndexableField
Field boost (you must pre-multiply in any doc boost).
boost(float) - Static method in class org.apache.lucene.util.ToStringUtils
for printing boost only if not 1.0
BoostAttribute - Interface in org.apache.lucene.search
Add this Attribute to a TermsEnum returned by MultiTermQuery.getTermsEnum(Terms,AttributeSource) and update the boost on each returned term.
BoostAttributeImpl - Class in org.apache.lucene.search
Implementation class for BoostAttribute.
BoostAttributeImpl() - Constructor for class org.apache.lucene.search.BoostAttributeImpl
 
BUF_SIZE_INT - Static variable in class org.apache.lucene.util.NumericUtils
The maximum term length (used for byte[] buffer size) for encoding int values.
BUF_SIZE_LONG - Static variable in class org.apache.lucene.util.NumericUtils
The maximum term length (used for byte[] buffer size) for encoding long values.
buffer() - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Returns the internal termBuffer character array which you can then directly alter.
buffer() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
buffer - Variable in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput
 
buffer - Variable in class org.apache.lucene.store.BufferedIndexInput
 
buffer - Variable in class org.apache.lucene.util.ByteBlockPool
 
BUFFER_SIZE - Static variable in class org.apache.lucene.store.BufferedIndexInput
Default buffer size set to 1024
BufferedIndexInput - Class in org.apache.lucene.store
Base implementation class for buffered IndexInput.
BufferedIndexInput(String) - Constructor for class org.apache.lucene.store.BufferedIndexInput
 
BufferedIndexInput(String, IOContext) - Constructor for class org.apache.lucene.store.BufferedIndexInput
 
BufferedIndexInput(String, int) - Constructor for class org.apache.lucene.store.BufferedIndexInput
Inits BufferedIndexInput with a specific bufferSize
BufferedIndexOutput - Class in org.apache.lucene.store
Base implementation class for buffered IndexOutput.
BufferedIndexOutput() - Constructor for class org.apache.lucene.store.BufferedIndexOutput
 
buffers - Variable in class org.apache.lucene.store.RAMFile
 
buffers - Variable in class org.apache.lucene.util.ByteBlockPool
 
bufferSize(IOContext) - Static method in class org.apache.lucene.store.BufferedIndexInput
Returns default buffer sizes for the given IOContext
bufferSkip(int) - Method in class org.apache.lucene.codecs.MultiLevelSkipListWriter
Writes the current skip data to the buffers.
build(AtomicReader) - Static method in class org.apache.lucene.index.MergeState.DocMap
 
build(IndexReaderContext, Term, boolean) - Static method in class org.apache.lucene.index.TermContext
Creates a TermContext from a top-level IndexReaderContext and the given Term.
Builder<T> - Class in org.apache.lucene.util.fst
Builds a minimal FST (maps an IntsRef term to an arbitrary output) from pre-sorted terms with outputs.
Builder(FST.INPUT_TYPE, Outputs<T>) - Constructor for class org.apache.lucene.util.fst.Builder
Instantiates an FST/FSA builder without any pruning.
Builder(FST.INPUT_TYPE, int, int, boolean, boolean, int, Outputs<T>, Builder.FreezeTail<T>, boolean) - Constructor for class org.apache.lucene.util.fst.Builder
Instantiates an FST/FSA builder with PackedInts.DEFAULT acceptableOverheadRatio.
Builder(FST.INPUT_TYPE, int, int, boolean, boolean, int, Outputs<T>, Builder.FreezeTail<T>, boolean, float) - Constructor for class org.apache.lucene.util.fst.Builder
Instantiates an FST/FSA builder with all the possible tuning and construction tweaks.
Builder.Arc<T> - Class in org.apache.lucene.util.fst
Expert: holds a pending (seen but not yet serialized) arc.
Builder.Arc() - Constructor for class org.apache.lucene.util.fst.Builder.Arc
 
Builder.FreezeTail<T> - Class in org.apache.lucene.util.fst
Expert: this is invoked by Builder whenever a suffix is serialized.
Builder.FreezeTail() - Constructor for class org.apache.lucene.util.fst.Builder.FreezeTail
 
Builder.UnCompiledNode<T> - Class in org.apache.lucene.util.fst
Expert: holds a pending (seen but not yet serialized) Node.
Builder.UnCompiledNode(Builder<T>, int) - Constructor for class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
buildSlices(int[], MergeState.DocMap[], DocValues[], SortedBytesMergeUtils.MergeContext) - Static method in class org.apache.lucene.index.SortedBytesMergeUtils
 
byId(int) - Static method in enum org.apache.lucene.util.packed.PackedInts.Format
Get a format according to its ID.
byte315ToFloat(byte) - Static method in class org.apache.lucene.util.SmallFloat
byteToFloat(b, mantissaBits=3, zeroExponent=15)
byte52ToFloat(byte) - Static method in class org.apache.lucene.util.SmallFloat
byteToFloat(b, mantissaBits=5, zeroExponent=2)
BYTE_BLOCK_MASK - Static variable in class org.apache.lucene.util.ByteBlockPool
 
BYTE_BLOCK_SHIFT - Static variable in class org.apache.lucene.util.ByteBlockPool
 
BYTE_BLOCK_SIZE - Static variable in class org.apache.lucene.util.ByteBlockPool
 
byteArray(StringBuilder, byte[]) - Static method in class org.apache.lucene.util.ToStringUtils
 
ByteArrayDataInput - Class in org.apache.lucene.store
DataInput backed by a byte array.
ByteArrayDataInput(byte[]) - Constructor for class org.apache.lucene.store.ByteArrayDataInput
 
ByteArrayDataInput(byte[], int, int) - Constructor for class org.apache.lucene.store.ByteArrayDataInput
 
ByteArrayDataInput() - Constructor for class org.apache.lucene.store.ByteArrayDataInput
 
ByteArrayDataOutput - Class in org.apache.lucene.store
DataOutput backed by a byte array.
ByteArrayDataOutput(byte[]) - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
 
ByteArrayDataOutput(byte[], int, int) - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
 
ByteArrayDataOutput() - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
 
ByteBlockPool - Class in org.apache.lucene.util
Class that Posting and PostingVector use to write byte streams into shared fixed-size byte[] arrays.
ByteBlockPool(ByteBlockPool.Allocator) - Constructor for class org.apache.lucene.util.ByteBlockPool
 
ByteBlockPool.Allocator - Class in org.apache.lucene.util
Abstract class for allocating and freeing byte blocks.
ByteBlockPool.Allocator(int) - Constructor for class org.apache.lucene.util.ByteBlockPool.Allocator
 
ByteBlockPool.DirectAllocator - Class in org.apache.lucene.util
A simple ByteBlockPool.Allocator that never recycles.
ByteBlockPool.DirectAllocator() - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectAllocator
 
ByteBlockPool.DirectAllocator(int) - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectAllocator
 
ByteBlockPool.DirectTrackingAllocator - Class in org.apache.lucene.util
A simple ByteBlockPool.Allocator that never recycles, but tracks how much total RAM is in use.
ByteBlockPool.DirectTrackingAllocator(Counter) - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
 
ByteBlockPool.DirectTrackingAllocator(int, Counter) - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
 
ByteDocValuesField - Class in org.apache.lucene.document
This class provides a Field that enables storing of a per-document byte value for scoring, sorting or value retrieval.
ByteDocValuesField(String, byte) - Constructor for class org.apache.lucene.document.ByteDocValuesField
 
byteOffset - Variable in class org.apache.lucene.util.ByteBlockPool
 
ByteRunAutomaton - Class in org.apache.lucene.util.automaton
Automaton representation for matching UTF-8 byte[].
ByteRunAutomaton(Automaton) - Constructor for class org.apache.lucene.util.automaton.ByteRunAutomaton
 
ByteRunAutomaton(Automaton, boolean) - Constructor for class org.apache.lucene.util.automaton.ByteRunAutomaton
expert: if utf8 is true, the input is already byte-based
Bytes - Class in org.apache.lucene.codecs.lucene40.values
Provides concrete Writer/Reader implementations for byte[] value per document.
bytes() - Method in class org.apache.lucene.index.Term
Returns the bytes of this term.
bytes - Variable in class org.apache.lucene.util.BytesRef
The contents of the BytesRef.
bytes - Variable in class org.apache.lucene.util.fst.FST.BytesReader
 
Bytes.Mode - Enum in org.apache.lucene.codecs.lucene40.values
Defines the Writers store mode.
bytesDifference(BytesRef, BytesRef) - Static method in class org.apache.lucene.util.StringHelper
Compares two BytesRef, element by element, and returns the number of elements common to both arrays.
bytesEquals(BytesRef) - Method in class org.apache.lucene.util.BytesRef
Expert: compares the bytes against another BytesRef, returning true if the bytes are equal.
ByteSequenceOutputs - Class in org.apache.lucene.util.fst
An FST Outputs implementation where each output is a sequence of bytes.
bytesPerValue - Variable in class org.apache.lucene.codecs.DocValuesArraySource
 
BytesRef - Class in org.apache.lucene.util
Represents byte[], as a slice (offset + length) into an existing byte[].
BytesRef() - Constructor for class org.apache.lucene.util.BytesRef
Create a BytesRef with BytesRef.EMPTY_BYTES
BytesRef(byte[], int, int) - Constructor for class org.apache.lucene.util.BytesRef
This instance will directly reference bytes w/o making a copy.
BytesRef(byte[]) - Constructor for class org.apache.lucene.util.BytesRef
This instance will directly reference bytes w/o making a copy.
BytesRef(int) - Constructor for class org.apache.lucene.util.BytesRef
Create a BytesRef pointing to a new array of size capacity.
BytesRef(CharSequence) - Constructor for class org.apache.lucene.util.BytesRef
Initialize the byte[] from the UTF8 bytes for the provided String.
BytesRefFSTEnum<T> - Class in org.apache.lucene.util.fst
Enumerates all input (BytesRef) + output pairs in an FST.
BytesRefFSTEnum(FST<T>) - Constructor for class org.apache.lucene.util.fst.BytesRefFSTEnum
doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target.
BytesRefFSTEnum.InputOutput<T> - Class in org.apache.lucene.util.fst
Holds a single input (BytesRef) + output pair.
BytesRefFSTEnum.InputOutput() - Constructor for class org.apache.lucene.util.fst.BytesRefFSTEnum.InputOutput
 
BytesRefHash - Class in org.apache.lucene.util
BytesRefHash is a special purpose hash-map like data-structure optimized for BytesRef instances.
BytesRefHash() - Constructor for class org.apache.lucene.util.BytesRefHash
BytesRefHash(ByteBlockPool) - Constructor for class org.apache.lucene.util.BytesRefHash
Creates a new BytesRefHash
BytesRefHash(ByteBlockPool, int, BytesRefHash.BytesStartArray) - Constructor for class org.apache.lucene.util.BytesRefHash
Creates a new BytesRefHash
BytesRefHash.BytesStartArray - Class in org.apache.lucene.util
Manages allocation of the per-term addresses.
BytesRefHash.BytesStartArray() - Constructor for class org.apache.lucene.util.BytesRefHash.BytesStartArray
 
BytesRefHash.DirectBytesStartArray - Class in org.apache.lucene.util
A simple BytesRefHash.BytesStartArray that tracks memory allocation using a private AtomicLong instance.
BytesRefHash.DirectBytesStartArray(int) - Constructor for class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
 
BytesRefHash.MaxBytesLengthExceededException - Exception in org.apache.lucene.util
Thrown if a BytesRef exceeds the BytesRefHash limit of ByteBlockPool.BYTE_BLOCK_SIZE-2.
BytesRefHash.TrackingDirectBytesStartArray - Class in org.apache.lucene.util
A simple BytesRefHash.BytesStartArray that tracks all memory allocation using a shared Counter instance.
BytesRefHash.TrackingDirectBytesStartArray(int, Counter) - Constructor for class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
 
BytesRefIterator - Interface in org.apache.lucene.util
A simple iterator interface for BytesRef iteration.
byteStart(int) - Method in class org.apache.lucene.util.BytesRefHash
Returns the bytesStart offset into the internally used ByteBlockPool for the given ord
bytesUsed - Variable in class org.apache.lucene.index.PerDocWriteState
 
bytesUsed() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
A Counter reference holding the number of bytes used by this BytesRefHash.BytesStartArray.
bytesUsed() - Method in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
 
bytesUsed - Variable in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
 
bytesUsed() - Method in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
 
bytesUsed() - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
 
byteToFloat(byte, int, int) - Static method in class org.apache.lucene.util.SmallFloat
Converts an 8 bit float to a 32 bit float.
byteUpto - Variable in class org.apache.lucene.util.ByteBlockPool
 

C

cachedDocs - Variable in class org.apache.lucene.search.CachingCollector
 
cachedSegs - Variable in class org.apache.lucene.search.CachingCollector
 
CachingCollector - Class in org.apache.lucene.search
Caches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.
CachingTokenFilter - Class in org.apache.lucene.analysis
This class can be used if the token attributes of a TokenStream are intended to be consumed more than once.
CachingTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.CachingTokenFilter
 
CachingWrapperFilter - Class in org.apache.lucene.search
Wraps another Filter's result and caches it.
CachingWrapperFilter(Filter) - Constructor for class org.apache.lucene.search.CachingWrapperFilter
Wraps another filter's result and caches it.
CachingWrapperFilter(Filter, boolean) - Constructor for class org.apache.lucene.search.CachingWrapperFilter
Wraps another filter's result and caches it.
calibrateSizeByDeletes - Variable in class org.apache.lucene.index.LogMergePolicy
 
canLoad(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
 
canLoad(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
canLoad(FieldInfo) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
 
canMerge(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesConsumer
 
canMerge(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocConsumer
Returns true iff the given field can be merged ie.
canMerge(FieldInfo) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
 
canReuse(Bits) - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
canReuse(MultiTermsEnum) - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
canReuse(MultiTermsEnum) - Method in class org.apache.lucene.index.MultiDocsEnum
 
cantOpenSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
True if we were unable to open the segments_N file.
capacity() - Method in class org.apache.lucene.util.OpenBitSet
Returns the current capacity in bits (1 greater than the index of the last bit)
captureState() - Method in class org.apache.lucene.util.AttributeSource
Captures the state of all Attributes.
cardinality() - Method in class org.apache.lucene.util.FixedBitSet
Returns number of set bits.
cardinality() - Method in class org.apache.lucene.util.OpenBitSet
 
changed() - Method in class org.apache.lucene.index.SegmentInfos
Call this before committing if changes have been made to the segments.
CharacterRunAutomaton - Class in org.apache.lucene.util.automaton
Automaton representation for matching char[].
CharacterRunAutomaton(Automaton) - Constructor for class org.apache.lucene.util.automaton.CharacterRunAutomaton
 
charAt(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
charAt(int) - Method in class org.apache.lucene.util.CharsRef
 
CharFilter - Class in org.apache.lucene.analysis
Subclasses of CharFilter can be chained to filter a Reader They can be used as Reader with additional offset correction.
CharFilter(Reader) - Constructor for class org.apache.lucene.analysis.CharFilter
Create a new CharFilter wrapping the provided reader.
chars - Variable in class org.apache.lucene.util.CharsRef
 
charsEquals(CharsRef) - Method in class org.apache.lucene.util.CharsRef
 
CharSequenceOutputs - Class in org.apache.lucene.util.fst
An FST Outputs implementation where each output is a sequence of characters.
CHARSET_UTF_8 - Static variable in class org.apache.lucene.util.IOUtils
UTF-8 Charset instance to prevent repeated Charset.forName(String) lookups
CharsRef - Class in org.apache.lucene.util
Represents char[], as a slice (offset + length) into an existing char[].
CharsRef() - Constructor for class org.apache.lucene.util.CharsRef
Creates a new CharsRef initialized an empty array zero-length
CharsRef(int) - Constructor for class org.apache.lucene.util.CharsRef
Creates a new CharsRef initialized with an array of the given capacity
CharsRef(char[], int, int) - Constructor for class org.apache.lucene.util.CharsRef
Creates a new CharsRef initialized with the given array, offset and length
CharsRef(String) - Constructor for class org.apache.lucene.util.CharsRef
Creates a new CharsRef initialized with the given Strings character array
CharTermAttribute - Interface in org.apache.lucene.analysis.tokenattributes
The term text of a Token.
CharTermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
The term text of a Token.
CharTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
check(FieldCache.CacheEntry...) - Method in class org.apache.lucene.util.FieldCacheSanityChecker
Tests a CacheEntry[] for indication of "insane" cache usage.
checkAbort - Variable in class org.apache.lucene.index.MergeState
 
checkAborted(Directory) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
 
checkHeader(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
Reads and validates a header previously written with CodecUtil.writeHeader(DataOutput, String, int).
checkHeaderNoMagic(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
Like CodecUtil.checkHeader(DataInput,String,int,int) except this version assumes the first int has already been read and validated from the input.
CheckIndex - Class in org.apache.lucene.index
Basic tool and API to check the health of an index and write a new segments file that removes reference to problematic segments.
CheckIndex(Directory) - Constructor for class org.apache.lucene.index.CheckIndex
Create a new CheckIndex on the directory.
checkIndex() - Method in class org.apache.lucene.index.CheckIndex
Returns a CheckIndex.Status instance detailing the state of the index.
checkIndex(List<String>) - Method in class org.apache.lucene.index.CheckIndex
Returns a CheckIndex.Status instance detailing the state of the index.
CheckIndex.Status - Class in org.apache.lucene.index
Returned from CheckIndex.checkIndex() detailing the health and status of the index.
CheckIndex.Status() - Constructor for class org.apache.lucene.index.CheckIndex.Status
 
CheckIndex.Status.DocValuesStatus - Class in org.apache.lucene.index
Status from testing DocValues
CheckIndex.Status.DocValuesStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.DocValuesStatus
 
CheckIndex.Status.FieldNormStatus - Class in org.apache.lucene.index
Status from testing field norms.
CheckIndex.Status.FieldNormStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
 
CheckIndex.Status.SegmentInfoStatus - Class in org.apache.lucene.index
Holds the status of each segment in the index.
CheckIndex.Status.SegmentInfoStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
 
CheckIndex.Status.StoredFieldStatus - Class in org.apache.lucene.index
Status from testing stored fields.
CheckIndex.Status.StoredFieldStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
 
CheckIndex.Status.TermIndexStatus - Class in org.apache.lucene.index
Status from testing term index.
CheckIndex.Status.TermIndexStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
 
CheckIndex.Status.TermVectorStatus - Class in org.apache.lucene.index
Status from testing stored fields.
CheckIndex.Status.TermVectorStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
 
checkIndexTerm(BytesRef, TermStats) - Method in class org.apache.lucene.codecs.TermsIndexWriterBase.FieldWriter
 
checkMaxClauseCount(int) - Method in class org.apache.lucene.search.ScoringRewrite
This method is called after every new term to check if the number of max clauses (e.g.
checkSanity(FieldCache) - Static method in class org.apache.lucene.util.FieldCacheSanityChecker
Quick and dirty convenience method
checkSanity(FieldCache.CacheEntry...) - Static method in class org.apache.lucene.util.FieldCacheSanityChecker
Quick and dirty convenience method that instantiates an instance with "good defaults" and uses it to test the CacheEntrys
checkServiceName(String) - Static method in class org.apache.lucene.util.NamedSPILoader
Validates that a service name meets the requirements of NamedSPILoader.NamedSPI
checkSnapshotted(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
Checks if the given id is already used by another snapshot, and throws IllegalStateException if it is.
ChecksumIndexInput - Class in org.apache.lucene.store
Writes bytes through to a primary IndexOutput, computing checksum as it goes.
ChecksumIndexInput(IndexInput) - Constructor for class org.apache.lucene.store.ChecksumIndexInput
 
ChecksumIndexOutput - Class in org.apache.lucene.store
Writes bytes through to a primary IndexOutput, computing checksum.
ChecksumIndexOutput(IndexOutput) - Constructor for class org.apache.lucene.store.ChecksumIndexOutput
 
child - Variable in class org.apache.lucene.search.Scorer.ChildScorer
 
children() - Method in class org.apache.lucene.index.AtomicReaderContext
 
children() - Method in class org.apache.lucene.index.CompositeReaderContext
 
children() - Method in class org.apache.lucene.index.IndexReaderContext
Returns the context's children iff this context is a composite context otherwise null.
chunkSize - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
clauses() - Method in class org.apache.lucene.search.BooleanQuery
Returns the list of clauses in this query.
clauses - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
clean - Variable in class org.apache.lucene.index.CheckIndex.Status
True if no problems were found with the index.
clear() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.Token
Resets the term text, payload, flags, and positionIncrement, startOffset, endOffset and token type to default.
clear() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
clear() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader.PulsingEnumAttributeImpl
 
clear() - Method in class org.apache.lucene.index.SegmentInfos
 
clear() - Method in class org.apache.lucene.index.TermContext
Clears the TermContext internal state and removes all registered TermStates
clear() - Method in class org.apache.lucene.search.BoostAttributeImpl
 
clear() - Method in class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
 
clear() - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
 
clear() - Method in class org.apache.lucene.util.AttributeImpl
Clears the values in this AttributeImpl and resets it to its default value.
clear() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
clears the BytesRefHash.BytesStartArray and returns the cleared instance.
clear(boolean) - Method in class org.apache.lucene.util.BytesRefHash
Clears the BytesRef which maps to the given BytesRef
clear() - Method in class org.apache.lucene.util.BytesRefHash
 
clear() - Method in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
 
clear() - Method in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
 
clear(int) - Method in class org.apache.lucene.util.FixedBitSet
 
clear(int, int) - Method in class org.apache.lucene.util.FixedBitSet
Clears a range of bits.
clear() - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
clear(int) - Method in interface org.apache.lucene.util.MutableBits
 
clear(long) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit, allowing access beyond the current set size without changing the size.
clear(int, int) - Method in class org.apache.lucene.util.OpenBitSet
Clears a range of bits.
clear(long, long) - Method in class org.apache.lucene.util.OpenBitSet
Clears a range of bits.
clear() - Method in class org.apache.lucene.util.packed.GrowableWriter
 
clear() - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
Sets all values to 0.
clear() - Method in class org.apache.lucene.util.PriorityQueue
Removes all entries from the PriorityQueue.
clear() - Method in class org.apache.lucene.util.SentinelIntSet
 
clear() - Method in class org.apache.lucene.util.WeakIdentityMap
 
clearAttributes() - Method in class org.apache.lucene.util.AttributeSource
Resets all Attributes in this AttributeSource by calling AttributeImpl.clear() on each Attribute implementation.
clearLock(String) - Method in class org.apache.lucene.store.Directory
Attempt to clear (forcefully unlock and remove) the specified lock.
clearLock(String) - Method in class org.apache.lucene.store.LockFactory
Attempt to clear (forcefully unlock and remove) the specified lock.
clearLock(String) - Method in class org.apache.lucene.store.NativeFSLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.NoLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
clearLock(String) - Method in class org.apache.lucene.store.SimpleFSLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.SingleInstanceLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
clearLock(String) - Method in class org.apache.lucene.store.VerifyingLockFactory
 
clearNumberedStates() - Method in class org.apache.lucene.util.automaton.Automaton
 
clone() - Method in class org.apache.lucene.analysis.Token
 
clone(char[], int, int, int, int) - Method in class org.apache.lucene.analysis.Token
Makes a clone, but replaces the term buffer & start/end offset in the process.
clone() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
clone() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
clone() - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
Returns a cloned FieldsReader that shares open IndexInputs with the original one.
clone() - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader
 
clone() - Method in class org.apache.lucene.codecs.sep.IntIndexInput.Index
 
clone() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsReader
 
clone() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsReader
 
clone() - Method in class org.apache.lucene.codecs.StoredFieldsReader
 
clone() - Method in class org.apache.lucene.codecs.TermVectorsReader
Create a clone that one caller at a time may use to read term vectors.
clone() - Method in class org.apache.lucene.index.IndexWriterConfig
 
clone() - Method in class org.apache.lucene.index.MergePolicy
 
clone() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
 
clone() - Method in class org.apache.lucene.index.SegmentInfos
Returns a copy of this instance, also copying each SegmentInfo.
clone() - Method in class org.apache.lucene.index.TermState
 
clone() - Method in class org.apache.lucene.search.BooleanQuery
 
clone() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Create a shallow copy of us -- used in rewriting if necessary
clone() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
clone() - Method in class org.apache.lucene.search.Query
Returns a clone of this query.
clone() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanPayloadCheckQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
 
clone() - Method in class org.apache.lucene.store.BufferedIndexInput
 
clone() - Method in class org.apache.lucene.store.DataInput
Returns a clone of this stream.
clone() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
clone() - Method in class org.apache.lucene.util.AttributeImpl
Shallow clone.
clone() - Method in class org.apache.lucene.util.AttributeSource.State
 
clone() - Method in class org.apache.lucene.util.automaton.Automaton
Returns a clone of this automaton.
clone() - Method in class org.apache.lucene.util.automaton.Transition
Clones this transition.
clone() - Method in class org.apache.lucene.util.BytesRef
 
clone() - Method in class org.apache.lucene.util.CharsRef
 
clone() - Method in class org.apache.lucene.util.DoubleBarrelLRUCache.CloneableKey
 
clone() - Method in class org.apache.lucene.util.FixedBitSet
 
clone() - Method in class org.apache.lucene.util.IntsRef
 
clone() - Method in class org.apache.lucene.util.LongsRef
 
clone() - Method in class org.apache.lucene.util.OpenBitSet
 
clone() - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
 
cloneAttributes() - Method in class org.apache.lucene.util.AttributeSource
Performs a clone of all AttributeImpl instances returned in a new AttributeSource instance.
close() - Method in class org.apache.lucene.analysis.Analyzer
Frees persistent resources used by this Analyzer
close() - Method in class org.apache.lucene.analysis.Analyzer.ReuseStrategy
Closes the ReuseStrategy, freeing any resources
close() - Method in class org.apache.lucene.analysis.TokenFilter
Close the input TokenStream.
close() - Method in class org.apache.lucene.analysis.Tokenizer
By default, closes the input Reader.
close() - Method in class org.apache.lucene.analysis.TokenStream
Releases resources associated with this stream.
close() - Method in class org.apache.lucene.codecs.BlockTermsReader
 
close() - Method in class org.apache.lucene.codecs.BlockTermsWriter
 
close() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
 
close() - Method in class org.apache.lucene.codecs.BlockTreeTermsWriter
 
close() - Method in class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat.BloomFilteredFieldsProducer
 
close() - Method in class org.apache.lucene.codecs.FieldsConsumer
Called when we are done adding everything.
close() - Method in class org.apache.lucene.codecs.FieldsProducer
 
close() - Method in class org.apache.lucene.codecs.FixedGapTermsIndexReader
 
close() - Method in class org.apache.lucene.codecs.FixedGapTermsIndexWriter
 
close() - Method in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexInput
 
close() - Method in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput
 
close() - Method in class org.apache.lucene.codecs.intblock.VariableIntBlockIndexInput
 
close() - Method in class org.apache.lucene.codecs.intblock.VariableIntBlockIndexOutput
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
Closes the underlying IndexInput streams.
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader
 
close() - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
Close all streams.
close() - Method in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
close() - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
 
close() - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
close() - Method in class org.apache.lucene.codecs.PostingsReaderBase
 
close() - Method in class org.apache.lucene.codecs.PostingsWriterBase
 
close() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader
 
close() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsWriter
 
close() - Method in class org.apache.lucene.codecs.sep.IntIndexInput
 
close() - Method in class org.apache.lucene.codecs.sep.IntIndexOutput
 
close() - Method in class org.apache.lucene.codecs.sep.SepPostingsReader
 
close() - Method in class org.apache.lucene.codecs.sep.SepPostingsWriter
 
close() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsReader
 
close() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsWriter
 
close() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsReader
 
close() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsWriter
 
close() - Method in class org.apache.lucene.codecs.TermsIndexReaderBase
 
close() - Method in class org.apache.lucene.codecs.VariableGapTermsIndexReader
 
close() - Method in class org.apache.lucene.codecs.VariableGapTermsIndexWriter
 
close() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
close() - Method in class org.apache.lucene.index.DocValues
Closes this DocValues instance.
close(DocValues) - Method in class org.apache.lucene.index.DocValues.SourceCache
Atomically closes the cache and frees all resources.
close() - Method in class org.apache.lucene.index.IndexReader
Closes files associated with this index.
close() - Method in class org.apache.lucene.index.IndexWriter
Commits all changes to an index and closes all associated files.
close(boolean) - Method in class org.apache.lucene.index.IndexWriter
Closes the index with or without waiting for currently running merges to finish.
close() - Method in class org.apache.lucene.index.LogMergePolicy
 
close() - Method in class org.apache.lucene.index.MergePolicy
Release all resources for the policy.
close() - Method in class org.apache.lucene.index.MergeScheduler
Close this MergeScheduler.
close() - Method in class org.apache.lucene.index.NoMergePolicy
 
close() - Method in class org.apache.lucene.index.NoMergeScheduler
 
close() - Method in class org.apache.lucene.index.PersistentSnapshotDeletionPolicy
Closes the index which writes the snapshots to the directory.
close() - Method in class org.apache.lucene.index.SerialMergeScheduler
 
close() - Method in class org.apache.lucene.index.TieredMergePolicy
 
close() - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
 
close() - Method in class org.apache.lucene.search.NRTManagerReopenThread
 
close() - Method in class org.apache.lucene.search.ReferenceManager
Close this ReferenceManager to future acquiring.
close() - Method in class org.apache.lucene.search.SearcherLifetimeManager
Close this to future searching; any searches still in process in other threads won't be affected, and they should still call SearcherLifetimeManager.release(org.apache.lucene.search.IndexSearcher) after they are done.
close() - Method in class org.apache.lucene.store.BufferedIndexOutput
Closes this stream to further operations.
close() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
close() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
close() - Method in class org.apache.lucene.store.CompoundFileDirectory
 
close() - Method in class org.apache.lucene.store.Directory
Closes the store.
close() - Method in class org.apache.lucene.store.FileSwitchDirectory
 
close() - Method in class org.apache.lucene.store.FSDirectory
Closes the store to future operations.
close() - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
 
close() - Method in class org.apache.lucene.store.IndexInput
Closes the stream to further operations.
close() - Method in class org.apache.lucene.store.IndexOutput
Closes this stream to further operations.
close() - Method in class org.apache.lucene.store.InputStreamDataInput
 
close() - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
 
close() - Method in class org.apache.lucene.store.NRTCachingDirectory
Close this directory, which flushes any cached files to the delegate and then closes the delegate.
close() - Method in class org.apache.lucene.store.OutputStreamDataOutput
 
close() - Method in class org.apache.lucene.store.RAMDirectory
Closes the store to future operations, releasing associated memory.
close() - Method in class org.apache.lucene.store.RAMInputStream
 
close() - Method in class org.apache.lucene.store.RAMOutputStream
 
close() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
close() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
 
close() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
close() - Method in class org.apache.lucene.util.BytesRefHash
Closes the BytesRefHash and releases all internally used memory
close() - Method in class org.apache.lucene.util.CloseableThreadLocal
 
close(Closeable...) - Static method in class org.apache.lucene.util.IOUtils
Closes all given Closeables.
close(Iterable<? extends Closeable>) - Static method in class org.apache.lucene.util.IOUtils
 
close() - Method in class org.apache.lucene.util.PrintStreamInfoStream
 
CloseableThreadLocal<T> - Class in org.apache.lucene.util
Java's builtin ThreadLocal has a serious flaw: it can take an arbitrarily long amount of time to dereference the things you had stored in it, even once the ThreadLocal instance itself is no longer referenced.
CloseableThreadLocal() - Constructor for class org.apache.lucene.util.CloseableThreadLocal
 
closeInternal(Collection<? extends Closeable>) - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
 
closeInternal(Collection<? extends Closeable>) - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
closeInternal(Collection<? extends Closeable>) - Method in class org.apache.lucene.codecs.sep.SepDocValuesProducer
 
closeInternal(Collection<? extends Closeable>) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
 
closeWhileHandlingException(E, Closeable...) - Static method in class org.apache.lucene.util.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(E, Iterable<? extends Closeable>) - Static method in class org.apache.lucene.util.IOUtils
 
closeWhileHandlingException(Closeable...) - Static method in class org.apache.lucene.util.IOUtils
Closes all given Closeables, suppressing all thrown exceptions.
closeWhileHandlingException(Iterable<? extends Closeable>) - Static method in class org.apache.lucene.util.IOUtils
 
Codec - Class in org.apache.lucene.codecs
Encodes/decodes an inverted index segment.
Codec(String) - Constructor for class org.apache.lucene.codecs.Codec
 
codec - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Codec used to read this segment.
codec - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
 
CODEC_MAGIC - Static variable in class org.apache.lucene.codecs.CodecUtil
Constant to identify the start of a codec header.
CODEC_NAME - Static variable in class org.apache.lucene.codecs.lucene40.values.Floats
 
CODEC_NAME - Static variable in class org.apache.lucene.codecs.lucene40.values.Ints
 
CODEC_NAME - Static variable in class org.apache.lucene.util.packed.PackedInts
 
CodecUtil - Class in org.apache.lucene.codecs
Utility class for reading and writing versioned headers.
codePointCount(BytesRef) - Static method in class org.apache.lucene.util.UnicodeUtil
Returns the number of code points in this utf8 sequence.
collect(int) - Method in class org.apache.lucene.search.Collector
Called once for every document matching a query, with the unbased document number.
collect(int) - Method in class org.apache.lucene.search.MultiCollector
 
collect(int) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
collect(int) - Method in class org.apache.lucene.search.TimeLimitingCollector
Calls Collector.collect(int) on the decorated Collector unless the allowed time has passed, in which case it throws an exception.
collect(int) - Method in class org.apache.lucene.search.TotalHitCountCollector
 
collectionModel - Variable in class org.apache.lucene.search.similarities.LMSimilarity
The collection model.
CollectionStatistics - Class in org.apache.lucene.search
Contains statistics for a collection (field)
CollectionStatistics(String, long, long, long, long) - Constructor for class org.apache.lucene.search.CollectionStatistics
 
collectionStatistics(String) - Method in class org.apache.lucene.search.IndexSearcher
Returns CollectionStatistics for a field.
CollectionUtil - Class in org.apache.lucene.util
Methods for manipulating (sorting) collections.
Collector - Class in org.apache.lucene.search
Expert: Collectors are primarily meant to be used to gather raw results from a search, and implement sorting or custom result filtering, collation, etc.
Collector() - Constructor for class org.apache.lucene.search.Collector
 
CommandLineUtil - Class in org.apache.lucene.util
Class containing some useful methods used by command line tools
commit() - Method in class org.apache.lucene.index.IndexWriter
Commits all pending changes (added & deleted documents, segment merges, added indexes, etc.) to the index, and syncs all referenced index files, such that a reader will see the changes and the index updates will survive an OS or machine crash or power loss.
commit(Map<String, String>) - Method in class org.apache.lucene.index.IndexWriter
Commits all changes to the index, specifying a commitUserData Map (String -> String).
commit - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
 
commit() - Method in interface org.apache.lucene.index.TwoPhaseCommit
The second phase of a 2-phase commit.
commit(Map<String, String>) - Method in interface org.apache.lucene.index.TwoPhaseCommit
Like TwoPhaseCommit.commit(), but takes an additional commit data to be included w/ the commit.
commit() - Method in class org.apache.lucene.index.TwoPhaseCommitTool.TwoPhaseCommitWrapper
 
commit(Map<String, String>) - Method in class org.apache.lucene.index.TwoPhaseCommitTool.TwoPhaseCommitWrapper
 
common(BytesRef, BytesRef) - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
 
common(CharsRef, CharsRef) - Method in class org.apache.lucene.util.fst.CharSequenceOutputs
 
common(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
 
common(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
 
common(T, T) - Method in class org.apache.lucene.util.fst.Outputs
Eg common("foo", "foobar") -> "foo"
common(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
 
common(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
 
common(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
commonSuffixRef - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
Shared common suffix accepted by the automaton.
compact() - Method in class org.apache.lucene.util.BytesRefHash
Returns the ords array in arbitrary order.
COMPACT - Static variable in class org.apache.lucene.util.packed.PackedInts
No memory overhead at all, but the returned implementation may be slow.
comparators - Variable in class org.apache.lucene.search.FieldValueHitQueue
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator
Compare hit at slot1 with hit at slot2.
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
 
compare(int, int) - Method in class org.apache.lucene.util.SorterTemplate
Compares slots i and j of you data.
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator
Compare the bottom of the queue with doc.
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
 
CompareByDestThenMinMax - Static variable in class org.apache.lucene.util.automaton.Transition
 
compareByMergeDocCount - Static variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
CompareByMinMaxThenDest - Static variable in class org.apache.lucene.util.automaton.Transition
 
compareDocToValue(int, Byte) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
compareDocToValue(int, T) - Method in class org.apache.lucene.search.FieldComparator
Returns negative result if the doc's value is less than the provided value.
compareDocToValue(int, Integer) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
compareDocToValue(int, Double) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
compareDocToValue(int, Float) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
compareDocToValue(int, Double) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
 
compareDocToValue(int, Integer) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
compareDocToValue(int, Long) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
 
compareDocToValue(int, Long) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
compareDocToValue(int, Float) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compareDocToValue(int, Short) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
compareDocToValue(int, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
 
compareDocToValue(int, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
 
compareDocToValue(int, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
 
compareDocToValue(int, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
 
compareImplementationDistance(Class<? extends C>, VirtualMethod<C>, VirtualMethod<C>) - Static method in class org.apache.lucene.util.VirtualMethod
Utility method that compares the implementation/override distance of two methods.
comparePivot(int) - Method in class org.apache.lucene.util.SorterTemplate
Implements the compare function for the previously stored pivot value.
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValue
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueBool
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueDouble
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueFloat
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueInt
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueLong
 
compareSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueStr
 
compareTo(IndexCommit) - Method in class org.apache.lucene.index.IndexCommit
 
compareTo(Term) - Method in class org.apache.lucene.index.Term
Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument.
compareTo(State) - Method in class org.apache.lucene.util.automaton.State
Compares this object with the specified object for order.
compareTo(BytesRef) - Method in class org.apache.lucene.util.BytesRef
Unsigned byte order comparison
compareTo(CharsRef) - Method in class org.apache.lucene.util.CharsRef
Signed int order comparison
compareTo(Util.MinResult<T>) - Method in class org.apache.lucene.util.fst.Util.MinResult
 
compareTo(IntsRef) - Method in class org.apache.lucene.util.IntsRef
Signed int order comparison
compareTo(LongsRef) - Method in class org.apache.lucene.util.LongsRef
Signed int order comparison
compareTo(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValue
 
compareValues(T, T) - Method in class org.apache.lucene.search.FieldComparator
Returns -1 if first is less than second.
compareValues(Float, Float) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compareValues(BytesRef, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
 
compareValues(BytesRef, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
 
compiled - Variable in class org.apache.lucene.search.AutomatonQuery
 
CompiledAutomaton - Class in org.apache.lucene.util.automaton
Immutable class holding compiled details for a given Automaton.
CompiledAutomaton(Automaton) - Constructor for class org.apache.lucene.util.automaton.CompiledAutomaton
 
CompiledAutomaton(Automaton, Boolean, boolean) - Constructor for class org.apache.lucene.util.automaton.CompiledAutomaton
 
CompiledAutomaton.AUTOMATON_TYPE - Enum in org.apache.lucene.util.automaton
Automata are compiled into different internal forms for the most efficient execution depending upon the language they accept.
complement() - Method in class org.apache.lucene.util.automaton.Automaton
complement(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
Returns a (deterministic) automaton that accepts the complement of the language of the given automaton.
COMPLEMENT - Static variable in class org.apache.lucene.util.automaton.RegExp
Syntax flag, enables complement (~).
ComplexExplanation - Class in org.apache.lucene.search
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
ComplexExplanation() - Constructor for class org.apache.lucene.search.ComplexExplanation
 
ComplexExplanation(boolean, float, String) - Constructor for class org.apache.lucene.search.ComplexExplanation
 
CompositeReader - Class in org.apache.lucene.index
Instances of this reader type can only be used to get stored fields from the underlying AtomicReaders, but it is not possible to directly retrieve postings.
CompositeReader() - Constructor for class org.apache.lucene.index.CompositeReader
 
CompositeReaderContext - Class in org.apache.lucene.index
compound - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if segment is compound file format.
COMPOUND_FILE_ENTRIES_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
Extension of compound file entries
COMPOUND_FILE_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
Extension of compound file
COMPOUND_FILES - Static variable in class org.apache.lucene.index.NoMergePolicy
A singleton NoMergePolicy which indicates the index uses compound files.
CompoundFileDirectory - Class in org.apache.lucene.store
Class for accessing a compound stream.
CompoundFileDirectory(Directory, String, IOContext, boolean) - Constructor for class org.apache.lucene.store.CompoundFileDirectory
Create a new CompoundFileDirectory.
CompoundFileDirectory.FileEntry - Class in org.apache.lucene.store
Offset/Length for a slice inside of a compound file
CompoundFileDirectory.FileEntry() - Constructor for class org.apache.lucene.store.CompoundFileDirectory.FileEntry
 
compress(byte[], int, int, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the specified byte range using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
compress(byte[], int, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the specified byte range, with default BEST_COMPRESSION level
compress(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
Compresses all bytes in the array, with default BEST_COMPRESSION level
CompressionTools - Class in org.apache.lucene.document
Simple utility class providing static methods to compress and decompress binary data for stored fields.
compressString(String) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the String value, with default BEST_COMPRESSION level
compressString(String, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
Implemented as state.getBoost()*lengthNorm(numTerms), where numTerms is FieldInvertState.getLength() if DefaultSimilarity.setDiscountOverlaps(boolean) is false, else it's FieldInvertState.getLength() - FieldInvertState.getNumOverlap().
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.MultiSimilarity
 
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
 
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.Similarity
Computes the normalization value for a field, given the accumulated state of term processing for this field (see FieldInvertState).
computeNorm(FieldInvertState, Norm) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Encodes the document length in the same way as TFIDFSimilarity.
computePayloadFactor(int, int, int, BytesRef) - Method in class org.apache.lucene.search.similarities.Similarity.SloppySimScorer
Calculate a scoring factor based on the data in the payload.
computeProbability(BasicStats) - Method in interface org.apache.lucene.search.similarities.LMSimilarity.CollectionModel
Computes the probability p(w|C) according to the language model strategy for the current term.
computeProbability(BasicStats) - Method in class org.apache.lucene.search.similarities.LMSimilarity.DefaultCollectionModel
 
computeSlopFactor(int) - Method in class org.apache.lucene.search.similarities.Similarity.SloppySimScorer
Computes the amount of a sloppy phrase match, based on an edit distance.
computeStats() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
For debugging -- used by CheckIndex too
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.MultiSimilarity
 
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
 
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.Similarity
Compute any collection-level weight (e.g.
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.SimilarityBase
 
computeWeight(float, CollectionStatistics, TermStatistics...) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
 
concatenate(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton
concatenate(List<Automaton>) - Static method in class org.apache.lucene.util.automaton.Automaton
concatenate(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
Returns an automaton that accepts the concatenation of the languages of the given automata.
concatenate(List<Automaton>) - Static method in class org.apache.lucene.util.automaton.BasicOperations
Returns an automaton that accepts the concatenation of the languages of the given automata.
ConcurrentMergeScheduler - Class in org.apache.lucene.index
A MergeScheduler that runs each merge using a separate thread.
ConcurrentMergeScheduler() - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler
 
ConcurrentMergeScheduler.MergeThread - Class in org.apache.lucene.index
 
ConcurrentMergeScheduler.MergeThread(IndexWriter, MergePolicy.OneMerge) - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
CONSTANT_SCORE_AUTO_REWRITE_DEFAULT - Static variable in class org.apache.lucene.search.MultiTermQuery
Read-only default instance of MultiTermQuery.ConstantScoreAutoRewrite, with ConstantScoreAutoRewrite.setTermCountCutoff(int) set to ConstantScoreAutoRewrite.DEFAULT_TERM_COUNT_CUTOFF and ConstantScoreAutoRewrite.setDocCountPercent(double) set to ConstantScoreAutoRewrite.DEFAULT_DOC_COUNT_PERCENT.
CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
Like MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE except scores are not computed.
CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.ScoringRewrite
Like ScoringRewrite.SCORING_BOOLEAN_QUERY_REWRITE except scores are not computed.
CONSTANT_SCORE_FILTER_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
A rewrite method that first creates a private Filter, by visiting each term in sequence and marking all docs for that term.
Constants - Class in org.apache.lucene.util
Some useful constants.
ConstantScoreQuery - Class in org.apache.lucene.search
A query that wraps another query or a filter and simply returns a constant score equal to the query boost for every document that matches the filter or query.
ConstantScoreQuery(Query) - Constructor for class org.apache.lucene.search.ConstantScoreQuery
Strips off scores from the passed in Query.
ConstantScoreQuery(Filter) - Constructor for class org.apache.lucene.search.ConstantScoreQuery
Wraps a Filter as a Query.
ConstantScoreQuery.ConstantScorer - Class in org.apache.lucene.search
 
ConstantScoreQuery.ConstantScorer(DocIdSetIterator, Weight, float) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
ConstantScoreQuery.ConstantWeight - Class in org.apache.lucene.search
 
ConstantScoreQuery.ConstantWeight(IndexSearcher) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
consume(BytesRef, int, long) - Method in interface org.apache.lucene.index.SortedBytesMergeUtils.BytesRefConsumer
 
consume(BytesRef, int, long) - Method in class org.apache.lucene.index.SortedBytesMergeUtils.IndexOutputBytesRefConsumer
 
contains(BytesRef) - Method in class org.apache.lucene.util.FuzzySet
The main method required for a Bloom filter which, given a value determines set membership.
containsKey(Object) - Method in class org.apache.lucene.util.WeakIdentityMap
 
context - Variable in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
context - Variable in class org.apache.lucene.index.PerDocWriteState
 
context - Variable in class org.apache.lucene.index.SegmentReadState
 
context - Variable in class org.apache.lucene.index.SegmentWriteState
 
context - Variable in class org.apache.lucene.store.IOContext
An object of a enumerator Context type
convert(Automaton) - Method in class org.apache.lucene.util.automaton.UTF32ToUTF8
Converts an incoming utf32 automaton to an equivalent utf8 one.
coord(int, int) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
coord(int, int) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
Implemented as overlap / maxOverlap.
coord(int, int) - Method in class org.apache.lucene.search.similarities.Similarity
Hook to integrate coordinate-level matching.
coord(int, int) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
Computes a score factor based on the fraction of all query terms that a document contains.
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator
This method is called when a new hit is competitive.
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
 
copy(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.Directory
Copies the file src to Directory to under the new file name dest.
copy(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
copy(BytesRef) - Method in class org.apache.lucene.util.ByteBlockPool
Copies the given BytesRef at the current positions ( ByteBlockPool.byteUpto across buffer boundaries
copy(File, File) - Static method in class org.apache.lucene.util.IOUtils
Copy one file's contents to another file.
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValue
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueBool
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueDouble
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueFloat
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueInt
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueLong
 
copy(MutableValue) - Method in class org.apache.lucene.util.mutable.MutableValueStr
 
copy(PackedInts.Reader, int, PackedInts.Mutable, int, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
Copy src[srcPos:srcPos+len] into dest[destPos:destPos+len] using at most mem bytes.
copy(IndexInput, long) - Method in class org.apache.lucene.util.PagedBytes
Read this many bytes from in
copy(BytesRef) - Method in class org.apache.lucene.util.PagedBytes
Copy BytesRef in
copy(BytesRef, BytesRef) - Method in class org.apache.lucene.util.PagedBytes
Copy BytesRef in, setting BytesRef out to the result.
copyBuffer(char[], int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.
copyBuffer(char[], int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
copyBytes(IndexOutput, long) - Method in class org.apache.lucene.store.BufferedIndexInput
 
copyBytes(DataInput, long) - Method in class org.apache.lucene.store.DataOutput
Copy numBytes bytes from input to ourself.
copyBytes(IndexOutput, long) - Method in class org.apache.lucene.store.IndexInput
Copies numBytes bytes to the given IndexOutput.
copyBytes(IndexOutput, long) - Method in class org.apache.lucene.store.RAMInputStream
 
copyBytes(DataInput, long) - Method in class org.apache.lucene.store.RAMOutputStream
 
copyBytes(IndexOutput, long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
copyBytes(BytesRef) - Method in class org.apache.lucene.util.BytesRef
Copies the bytes from the given BytesRef
copyChars(CharSequence) - Method in class org.apache.lucene.util.BytesRef
Copies the UTF8 bytes for this string.
copyChars(CharsRef) - Method in class org.apache.lucene.util.CharsRef
Copies the given CharsRef referenced content into this instance.
copyChars(char[], int, int) - Method in class org.apache.lucene.util.CharsRef
Copies the given array into this CharsRef.
copyFrom(TermState) - Method in class org.apache.lucene.codecs.BlockTermState
 
copyFrom(IntIndexOutput.Index, boolean) - Method in class org.apache.lucene.codecs.sep.IntIndexOutput.Index
Copies index from other
copyFrom(TermState) - Method in class org.apache.lucene.index.OrdTermState
 
copyFrom(TermState) - Method in class org.apache.lucene.index.TermState
Copies the content of the given TermState to this instance
copyFrom(BytesRef) - Method in class org.apache.lucene.util.ByteBlockPool
 
copyFrom(FST.Arc<T>) - Method in class org.apache.lucene.util.fst.FST.Arc
Returns this
copyInt(BytesRef, int) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Copies the given int value and encodes it as 4 byte Big-Endian.
copyInts(IntsRef) - Method in class org.apache.lucene.util.IntsRef
 
copyLong(BytesRef, long) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Copies the given long value and encodes it as 8 byte Big-Endian.
copyLongs(LongsRef) - Method in class org.apache.lucene.util.LongsRef
 
copyShort(BytesRef, short) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
Copies the given short value and encodes it as a 2 byte Big-Endian.
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.Token
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader.PulsingEnumAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.search.BoostAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.util.AttributeImpl
Copies the values from this Attribute into the passed-in target attribute.
copyTo(AttributeSource) - Method in class org.apache.lucene.util.AttributeSource
Copies the contents of this AttributeSource to the given target AttributeSource.
copyUsingLengthPrefix(BytesRef) - Method in class org.apache.lucene.util.PagedBytes
Copy bytes in, writing the length as a 1 or 2 byte vInt prefix.
correct(int) - Method in class org.apache.lucene.analysis.CharFilter
Subclasses override to correct the current offset.
correctOffset(int) - Method in class org.apache.lucene.analysis.CharFilter
Chains the corrected offset through the input CharFilter(s).
correctOffset(int) - Method in class org.apache.lucene.analysis.Tokenizer
Return the corrected offset.
CorruptIndexException - Exception in org.apache.lucene.index
This exception is thrown when Lucene detects an inconsistency in the index.
CorruptIndexException(String) - Constructor for exception org.apache.lucene.index.CorruptIndexException
 
count - Variable in class org.apache.lucene.search.spans.TermSpans
 
count - Variable in class org.apache.lucene.util.SentinelIntSet
 
counter - Variable in class org.apache.lucene.index.SegmentInfos
 
Counter - Class in org.apache.lucene.util
Simple counter class
Counter() - Constructor for class org.apache.lucene.util.Counter
 
cp - Variable in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
 
create(boolean, boolean, double) - Static method in class org.apache.lucene.search.CachingCollector
Creates a CachingCollector which does not wrap another collector.
create(Collector, boolean, double) - Static method in class org.apache.lucene.search.CachingCollector
Create a new CachingCollector that wraps the given collector and caches documents and scores up to the specified RAM threshold.
create(Collector, boolean, int) - Static method in class org.apache.lucene.search.CachingCollector
Create a new CachingCollector that wraps the given collector and caches documents and scores up to the specified max docs threshold.
create(SortField[], int) - Static method in class org.apache.lucene.search.FieldValueHitQueue
Creates a hit queue sorted by the given list of fields.
create(Sort, int, boolean, boolean, boolean, boolean) - Static method in class org.apache.lucene.search.TopFieldCollector
Creates a new TopFieldCollector from the given arguments.
create(Sort, int, FieldDoc, boolean, boolean, boolean, boolean) - Static method in class org.apache.lucene.search.TopFieldCollector
Creates a new TopFieldCollector from the given arguments.
create(int, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
Creates a new TopScoreDocCollector given the number of hits to collect and whether documents are scored in order by the input Scorer to TopScoreDocCollector.setScorer(Scorer).
create(int, ScoreDoc, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
Creates a new TopScoreDocCollector given the number of hits to collect, the bottom of the previous page, and whether documents are scored in order by the input Scorer to TopScoreDocCollector.setScorer(Scorer).
createAttributeInstance(Class<? extends Attribute>) - Method in class org.apache.lucene.analysis.Token.TokenAttributeFactory
 
createAttributeInstance(Class<? extends Attribute>) - Method in class org.apache.lucene.util.AttributeSource.AttributeFactory
returns an AttributeImpl for the supplied Attribute interface class.
createComponents(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
Creates a new Analyzer.TokenStreamComponents instance for this analyzer.
createComponents(String, Reader) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
Creates a new Analyzer.TokenStreamComponents instance for this analyzer.
createNormalizedWeight(Query) - Method in class org.apache.lucene.search.IndexSearcher
Creates a normalized weight for a top-level Query.
createOutput(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.sep.IntStreamFactory
 
createOutput(String, IOContext) - Method in class org.apache.lucene.store.CompoundFileDirectory
 
createOutput(String, IOContext) - Method in class org.apache.lucene.store.Directory
Creates a new, empty file in the directory with the given name.
createOutput(String, IOContext) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
createOutput(String, IOContext) - Method in class org.apache.lucene.store.FSDirectory
Creates an IndexOutput for the file with the given name.
createOutput(String, IOContext) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
createOutput(String, IOContext) - Method in class org.apache.lucene.store.RAMDirectory
Creates a new, empty file in the directory with the given name.
createOutput(String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
createSetBasedOnMaxMemory(int, HashFunction) - Static method in class org.apache.lucene.util.FuzzySet
 
createSetBasedOnQuality(int, float, HashFunction) - Static method in class org.apache.lucene.util.FuzzySet
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.CompoundFileDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.Directory
Creates an Directory.IndexInputSlicer for the given file name.
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.MMapDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.NIOFSDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.SimpleFSDirectory
 
createSlicer(String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.BooleanQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Create the Weight used to score us
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.FilteredQuery
Returns a Weight that applies the filter to the enclosed query's Weight.
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.MultiPhraseQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.PhraseQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.Query
Expert: Constructs an appropriate Weight implementation for this query.
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.spans.SpanQuery
 
createWeight(IndexSearcher) - Method in class org.apache.lucene.search.TermQuery
 
ctx - Variable in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesConsumer
 
curDocs - Variable in class org.apache.lucene.search.CachingCollector
 
current - Variable in class org.apache.lucene.search.ReferenceManager
 
current() - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
 
current() - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
 
currentPayloadProcessor - Variable in class org.apache.lucene.index.MergeState
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.PayloadFunction
Calculate the score up to this point for this doc and field

D

DATA_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
Filename extension for data files.
DataInput - Class in org.apache.lucene.store
Abstract base class for performing read operations of Lucene's low-level data types.
DataInput() - Constructor for class org.apache.lucene.store.DataInput
 
DataOutput - Class in org.apache.lucene.store
Abstract base class for performing write operations of Lucene's low-level data types.
DataOutput() - Constructor for class org.apache.lucene.store.DataOutput
 
DateTools - Class in org.apache.lucene.document
Provides support for converting dates to strings and vice-versa.
DateTools.Resolution - Enum in org.apache.lucene.document
Specifies the time granularity.
dateToString(Date, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
Converts a Date to a string suitable for indexing.
decode(char[], int, int, byte[], int, int) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Deprecated.
Decodes the input char sequence into the output byte sequence.
decodeNormValue(byte) - Method in class org.apache.lucene.search.similarities.BM25Similarity
The default implementation returns 1 / f2 where f is SmallFloat.byte315ToFloat(byte).
decodeNormValue(byte) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Decodes a normalization factor (document length) stored in an index.
decodeNormValue(byte) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
Decodes a normalization factor stored in an index.
decompress(BytesRef) - Static method in class org.apache.lucene.document.CompressionTools
 
decompress(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
 
decompress(byte[], int, int) - Static method in class org.apache.lucene.document.CompressionTools
Decompress the byte array previously returned by compress
decompressString(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
Decompress the byte array previously returned by compressString back into a String
decompressString(byte[], int, int) - Static method in class org.apache.lucene.document.CompressionTools
 
decompressString(BytesRef) - Static method in class org.apache.lucene.document.CompressionTools
 
decRef() - Method in class org.apache.lucene.index.IndexReader
Expert: decreases the refCount of this IndexReader instance.
decRef(DirectoryReader) - Method in class org.apache.lucene.index.ReaderManager
 
decRef(IndexSearcher) - Method in class org.apache.lucene.search.NRTManager
 
decRef(G) - Method in class org.apache.lucene.search.ReferenceManager
Decrement reference counting on the given reference.
decRef(IndexSearcher) - Method in class org.apache.lucene.search.SearcherManager
 
deepCopyOf() - Method in class org.apache.lucene.index.Term
 
deepCopyOf(BytesRef) - Static method in class org.apache.lucene.util.BytesRef
Creates a new BytesRef that points to a copy of the bytes from other
deepCopyOf(CharsRef) - Static method in class org.apache.lucene.util.CharsRef
Creates a new CharsRef that points to a copy of the chars from other
deepCopyOf(IntsRef) - Static method in class org.apache.lucene.util.IntsRef
Creates a new IntsRef that points to a copy of the ints from other
deepCopyOf(LongsRef) - Static method in class org.apache.lucene.util.LongsRef
Creates a new IntsRef that points to a copy of the longs from other
DEFAULT - Static variable in interface org.apache.lucene.search.FieldCache
Expert: The cache used internally by sorting and range query classes.
DEFAULT - Static variable in class org.apache.lucene.store.IOContext
 
DEFAULT - Static variable in class org.apache.lucene.util.packed.PackedInts
At most 20% memory overhead.
DEFAULT_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.util.AttributeSource.AttributeFactory
This is the default factory that creates AttributeImpls using the class name of the supplied Attribute interface class by appending Impl to it.
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.lucene.util.packed.PackedInts
Default amount of memory to use for bulk operations.
DEFAULT_BUFFERED_BLOCKS - Static variable in class org.apache.lucene.util.RecyclingByteBlockAllocator
 
DEFAULT_BYTE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for byte values, which are encoded by Byte.toString(byte)
DEFAULT_CAPACITY - Static variable in class org.apache.lucene.util.BytesRefHash
 
DEFAULT_DOUBLE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for double values, which are encoded by Double.toString(double)
DEFAULT_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for float values, which are encoded by Float.toString(float)
DEFAULT_INDEX_INTERVAL_BITS - Static variable in class org.apache.lucene.index.DocTermOrds
 
DEFAULT_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for int values, which are encoded by Integer.toString(int)
DEFAULT_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for long values, which are encoded by Long.toString(long)
DEFAULT_MAX_BLOCK_SIZE - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
 
DEFAULT_MAX_BUFF - Static variable in class org.apache.lucene.store.MMapDirectory
 
DEFAULT_MAX_BUFFERED_DELETE_TERMS - Static variable in class org.apache.lucene.index.IndexWriterConfig
Disabled by default (because IndexWriter flushes by RAM usage by default).
DEFAULT_MAX_BUFFERED_DOCS - Static variable in class org.apache.lucene.index.IndexWriterConfig
Disabled by default (because IndexWriter flushes by RAM usage by default).
DEFAULT_MAX_MERGE_DOCS - Static variable in class org.apache.lucene.index.LogMergePolicy
Default maximum segment size.
DEFAULT_MAX_MERGE_MB - Static variable in class org.apache.lucene.index.LogByteSizeMergePolicy
Default maximum segment size.
DEFAULT_MAX_MERGE_MB_FOR_FORCED_MERGE - Static variable in class org.apache.lucene.index.LogByteSizeMergePolicy
Default maximum segment size.
DEFAULT_MAX_THREAD_STATES - Static variable in class org.apache.lucene.index.IndexWriterConfig
The maximum number of simultaneous threads that may be indexing documents at once in IndexWriter; if more than this many threads arrive they will wait for others to finish.
DEFAULT_MERGE_FACTOR - Static variable in class org.apache.lucene.index.LogMergePolicy
Default merge factor, which is how many segments are merged at a time
DEFAULT_MIN_BLOCK_SIZE - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
 
DEFAULT_MIN_MERGE_DOCS - Static variable in class org.apache.lucene.index.LogDocMergePolicy
Default minimum segment size.
DEFAULT_MIN_MERGE_MB - Static variable in class org.apache.lucene.index.LogByteSizeMergePolicy
Default minimum segment size.
DEFAULT_NO_CFS_RATIO - Static variable in class org.apache.lucene.index.LogMergePolicy
Default noCFSRatio.
DEFAULT_RAM_BUFFER_SIZE_MB - Static variable in class org.apache.lucene.index.IndexWriterConfig
Default value is 16 MB (which means flush when buffered docs consume approximately 16 MB RAM).
DEFAULT_RAM_PER_THREAD_HARD_LIMIT_MB - Static variable in class org.apache.lucene.index.IndexWriterConfig
Default value is 1945.
DEFAULT_READ_CHUNK_SIZE - Static variable in class org.apache.lucene.store.FSDirectory
Default read chunk size.
DEFAULT_READER_POOLING - Static variable in class org.apache.lucene.index.IndexWriterConfig
DEFAULT_READER_TERMS_INDEX_DIVISOR - Static variable in class org.apache.lucene.index.IndexWriterConfig
Default value is 1.
DEFAULT_RESOLUTION - Static variable in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
 
DEFAULT_SHORT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for short values, which are encoded by Short.toString(short)
DEFAULT_TERM_INDEX_INTERVAL - Static variable in class org.apache.lucene.index.IndexWriterConfig
Default value is 32.
DEFAULT_TERMS_INDEX_DIVISOR - Static variable in class org.apache.lucene.index.DirectoryReader
 
DEFAULT_TYPE - Static variable in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
the default type
DefaultBloomFilterFactory - Class in org.apache.lucene.codecs.bloom
Default policy is to allocate a bitset with 10% saturation given a unique term per document.
DefaultBloomFilterFactory() - Constructor for class org.apache.lucene.codecs.bloom.DefaultBloomFilterFactory
 
defaultMaxEdits - Static variable in class org.apache.lucene.search.FuzzyQuery
 
defaultMaxExpansions - Static variable in class org.apache.lucene.search.FuzzyQuery
 
defaultMinSimilarity - Static variable in class org.apache.lucene.search.FuzzyQuery
Deprecated.
pass integer edit distances instead.
defaultPrefixLength - Static variable in class org.apache.lucene.search.FuzzyQuery
 
DefaultSimilarity - Class in org.apache.lucene.search.similarities
Expert: Default scoring implementation.
DefaultSimilarity() - Constructor for class org.apache.lucene.search.similarities.DefaultSimilarity
 
defaultTranspositions - Static variable in class org.apache.lucene.search.FuzzyQuery
 
delCountOnFlush - Variable in class org.apache.lucene.index.SegmentWriteState
 
delete() - Method in class org.apache.lucene.index.IndexCommit
Delete this commit point.
delete() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
 
deleteAll() - Method in class org.apache.lucene.index.IndexWriter
Delete all documents in the index.
deleteAll() - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
deleteDocuments(Term) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) containing term.
deleteDocuments(Term...) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) containing any of the terms.
deleteDocuments(Query) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) matching the provided query.
deleteDocuments(Query...) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) matching any of the provided queries.
deleteDocuments(Term) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
deleteDocuments(Term...) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
deleteDocuments(Query) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
deleteDocuments(Query...) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
deleteFile(String) - Method in class org.apache.lucene.store.CompoundFileDirectory
Not implemented
deleteFile(String) - Method in class org.apache.lucene.store.Directory
Removes an existing file in the directory.
deleteFile(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
deleteFile(String) - Method in class org.apache.lucene.store.FSDirectory
Removes an existing file in the directory.
deleteFile(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
deleteFile(String) - Method in class org.apache.lucene.store.RAMDirectory
Removes an existing file in the directory.
deleteFile(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
deleteFilesIgnoringExceptions(Directory, String...) - Static method in class org.apache.lucene.util.IOUtils
 
deleteLast(int, Builder.Node) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
deleteUnusedFiles() - Method in class org.apache.lucene.index.IndexWriter
Expert: remove any index files that are no longer used.
deletionsGen - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Current deletions generation.
delPolicy - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
 
depth - Variable in class org.apache.lucene.util.fst.Builder.UnCompiledNode
This node's depth, starting from the automaton root.
deref(BytesRef) - Method in class org.apache.lucene.util.ByteBlockPool
Dereferences the byte block according to BytesRef offset.
DerefBytesDocValuesField - Class in org.apache.lucene.document
This class provides a Field that enables storing of a per-document BytesRef value.
DerefBytesDocValuesField(String, BytesRef) - Constructor for class org.apache.lucene.document.DerefBytesDocValuesField
 
DerefBytesDocValuesField(String, BytesRef, boolean) - Constructor for class org.apache.lucene.document.DerefBytesDocValuesField
 
description - Variable in enum org.apache.lucene.util.RamUsageEstimator.JvmFeature
 
deserialize(DataInput) - Static method in class org.apache.lucene.util.FuzzySet
 
determinize() - Method in class org.apache.lucene.util.automaton.Automaton
determinize(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
Determinizes the given automaton.
DFRSimilarity - Class in org.apache.lucene.search.similarities
Implements the divergence from randomness (DFR) framework introduced in Gianni Amati and Cornelis Joost Van Rijsbergen.
DFRSimilarity(BasicModel, AfterEffect, Normalization) - Constructor for class org.apache.lucene.search.similarities.DFRSimilarity
 
diagnostics - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Map that includes certain debugging details that IndexWriter records into each segment it creates
dir - Variable in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesConsumer
 
dir - Variable in class org.apache.lucene.index.CheckIndex.Status
Directory index is in.
dir - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
dir - Variable in class org.apache.lucene.index.SegmentInfo
 
dir - Variable in class org.apache.lucene.index.SegmentReadState
 
directory - Variable in class org.apache.lucene.index.DirectoryReader
 
directory() - Method in class org.apache.lucene.index.DirectoryReader
Returns the directory this index resides in.
directory - Variable in class org.apache.lucene.index.PerDocWriteState
 
directory() - Method in class org.apache.lucene.index.SegmentReader
Returns the directory this index resides in.
directory - Variable in class org.apache.lucene.index.SegmentWriteState
 
Directory - Class in org.apache.lucene.store
A Directory is a flat list of files.
Directory() - Constructor for class org.apache.lucene.store.Directory
 
directory - Variable in class org.apache.lucene.store.FSDirectory
 
Directory.IndexInputSlicer - Class in org.apache.lucene.store
Allows to create one or more sliced IndexInput instances from a single file handle.
Directory.IndexInputSlicer() - Constructor for class org.apache.lucene.store.Directory.IndexInputSlicer
 
DirectoryReader - Class in org.apache.lucene.index
DirectoryReader is an implementation of CompositeReader that can read indexes in a Directory.
DirectoryReader(Directory, AtomicReader[]) - Constructor for class org.apache.lucene.index.DirectoryReader
Expert: Constructs a DirectoryReader on the given subReaders.
DirectPostingsFormat - Class in org.apache.lucene.codecs.memory
Wraps Lucene40PostingsFormat format for on-disk storage, but then at read time loads and stores all terms & postings directly in RAM as byte[], int[].
DirectPostingsFormat() - Constructor for class org.apache.lucene.codecs.memory.DirectPostingsFormat
 
DirectPostingsFormat(int, int) - Constructor for class org.apache.lucene.codecs.memory.DirectPostingsFormat
minSkipCount is how many terms in a row must have the same prefix before we put a skip pointer down.
DirectPostingsFormat.HighFreqDocsAndPositionsEnum - Class in org.apache.lucene.codecs.memory
 
DirectPostingsFormat.HighFreqDocsAndPositionsEnum(Bits, boolean) - Constructor for class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
DirectPostingsFormat.HighFreqDocsEnum - Class in org.apache.lucene.codecs.memory
 
DirectPostingsFormat.HighFreqDocsEnum(Bits) - Constructor for class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
dirOffset - Variable in class org.apache.lucene.codecs.BlockTermsReader
 
dirOffset - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader
 
dirOffset - Variable in class org.apache.lucene.codecs.FixedGapTermsIndexReader
 
dirOffset - Variable in class org.apache.lucene.codecs.VariableGapTermsIndexReader
 
DISABLE_AUTO_FLUSH - Static variable in class org.apache.lucene.index.IndexWriterConfig
Denotes a flush trigger is disabled.
discountOverlaps - Variable in class org.apache.lucene.search.similarities.BM25Similarity
 
discountOverlaps - Variable in class org.apache.lucene.search.similarities.DefaultSimilarity
 
discountOverlaps - Variable in class org.apache.lucene.search.similarities.SimilarityBase
 
DisjunctionMaxQuery - Class in org.apache.lucene.search
A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.
DisjunctionMaxQuery(float) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery
Creates a new empty DisjunctionMaxQuery.
DisjunctionMaxQuery(Collection<Query>, float) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery
Creates a new DisjunctionMaxQuery
DisjunctionMaxQuery.DisjunctionMaxWeight - Class in org.apache.lucene.search
Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.
DisjunctionMaxQuery.DisjunctionMaxWeight(IndexSearcher) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
Construct the Weight for this Query searched by searcher.
Distribution - Class in org.apache.lucene.search.similarities
The probabilistic distribution used to model term occurrence in information-based models.
Distribution() - Constructor for class org.apache.lucene.search.similarities.Distribution
 
distribution - Variable in class org.apache.lucene.search.similarities.IBSimilarity
The probabilistic distribution used to model term occurrence.
DistributionLL - Class in org.apache.lucene.search.similarities
Log-logistic distribution.
DistributionLL() - Constructor for class org.apache.lucene.search.similarities.DistributionLL
 
DistributionSPL - Class in org.apache.lucene.search.similarities
The smoothed power-law (SPL) distribution for the information-based framework that is described in the original paper.
DistributionSPL() - Constructor for class org.apache.lucene.search.similarities.DistributionSPL
 
doAfterFlush() - Method in class org.apache.lucene.index.IndexWriter
A hook for extending classes to execute operations after pending added and deleted documents have been flushed to the Directory but before the change is committed (new segments_N file written).
doBeforeFlush() - Method in class org.apache.lucene.index.IndexWriter
A hook for extending classes to execute operations before pending added and deleted documents are flushed to the Directory.
doBody(String) - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
Subclass must implement this.
doBody() - Method in class org.apache.lucene.store.Lock.With
Code to execute with exclusive access.
doc(int) - Method in class org.apache.lucene.search.IndexSearcher
Sugar for .getIndexReader().document(docID)
doc(int, StoredFieldVisitor) - Method in class org.apache.lucene.search.IndexSearcher
Sugar for .getIndexReader().document(docID, fieldVisitor)
doc - Variable in class org.apache.lucene.search.ScoreDoc
A hit document's number.
doc() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
doc() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
doc() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
 
doc() - Method in class org.apache.lucene.search.spans.Spans
Returns the document number of the current match.
doc - Variable in class org.apache.lucene.search.spans.SpanScorer
 
doc - Variable in class org.apache.lucene.search.spans.TermSpans
 
doc() - Method in class org.apache.lucene.search.spans.TermSpans
 
DOC_VALUES_SEGMENT_SUFFIX - Static variable in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
 
doCacheWrite(String, IOContext) - Method in class org.apache.lucene.store.NRTCachingDirectory
Subclass can override this to customize logic; return true if this file should be written to the RAMDirectory.
docBase - Variable in class org.apache.lucene.index.AtomicReaderContext
The readers absolute doc base
docBase - Variable in class org.apache.lucene.index.MergeState
 
docBaseInParent - Variable in class org.apache.lucene.index.IndexReaderContext
the doc base for this reader in the parent, 0 if parent is null
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.DocValuesStatus
Number of documents tested.
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Document count (does not take deletions into account).
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
Number of documents tested.
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
Number of documents tested.
docCount() - Method in class org.apache.lucene.search.CollectionStatistics
returns the total number of documents that have at least one term for this field.
docFreq - Variable in class org.apache.lucene.codecs.BlockTermState
 
docFreq - Variable in class org.apache.lucene.codecs.TermStats
 
docFreq(String, BytesRef) - Method in class org.apache.lucene.index.AtomicReader
 
docFreq(String, BytesRef) - Method in class org.apache.lucene.index.BaseCompositeReader
 
docFreq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
docFreq() - Method in class org.apache.lucene.index.FilteredTermsEnum
 
docFreq(Term) - Method in class org.apache.lucene.index.IndexReader
Returns the number of documents containing the term.
docFreq(String, BytesRef) - Method in class org.apache.lucene.index.IndexReader
Returns the number of documents containing the term.
docFreq() - Method in class org.apache.lucene.index.MultiTermsEnum
 
docFreq() - Method in class org.apache.lucene.index.TermContext
Returns the accumulated document frequency of all TermState instances passed to TermContext.register(TermState, int, int, long).
docFreq() - Method in class org.apache.lucene.index.TermsEnum
Returns the number of documents containing the current term.
docFreq() - Method in class org.apache.lucene.search.FuzzyTermsEnum
 
docFreq - Variable in class org.apache.lucene.search.similarities.BasicStats
The document frequency.
docFreq() - Method in class org.apache.lucene.search.TermStatistics
returns the number of documents this term occurs in
docID() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
docID() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
 
docID() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
docID() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
docID() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
docID() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
 
docID() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
docID() - Method in class org.apache.lucene.index.MultiDocsEnum
 
docID() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
docID() - Method in class org.apache.lucene.search.DocIdSetIterator
Returns the following: -1 or DocIdSetIterator.NO_MORE_DOCS if DocIdSetIterator.nextDoc() or DocIdSetIterator.advance(int) were not called yet.
docID() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
 
docID() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
docID() - Method in class org.apache.lucene.search.spans.SpanScorer
 
docID() - Method in class org.apache.lucene.util.OpenBitSetIterator
 
DocIdBitSet - Class in org.apache.lucene.util
Simple DocIdSet and DocIdSetIterator backed by a BitSet
DocIdBitSet(BitSet) - Constructor for class org.apache.lucene.util.DocIdBitSet
 
DocIdSet - Class in org.apache.lucene.search
A DocIdSet contains a set of doc ids.
DocIdSet() - Constructor for class org.apache.lucene.search.DocIdSet
 
DocIdSetIterator - Class in org.apache.lucene.search
This abstract class defines methods to iterate over a set of non-decreasing doc ids.
DocIdSetIterator() - Constructor for class org.apache.lucene.search.DocIdSetIterator
 
docIdSetToCache(DocIdSet, AtomicReader) - Method in class org.apache.lucene.search.CachingWrapperFilter
Provide the DocIdSet to be cached, using the DocIdSet provided by the wrapped Filter.
doClose() - Method in class org.apache.lucene.index.FilterAtomicReader
 
doClose() - Method in class org.apache.lucene.index.IndexReader
Implements close.
doClose() - Method in class org.apache.lucene.index.MultiReader
 
doClose() - Method in class org.apache.lucene.index.ParallelAtomicReader
 
doClose() - Method in class org.apache.lucene.index.ParallelCompositeReader
 
doClose() - Method in class org.apache.lucene.index.SegmentReader
 
doClose() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
docMaps - Variable in class org.apache.lucene.index.MergeState
 
docs(FieldInfo, BlockTermState, Bits, DocsEnum, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
 
docs(FieldInfo, BlockTermState, Bits, DocsEnum, int) - Method in class org.apache.lucene.codecs.PostingsReaderBase
Must fully consume state, since after this call that TermState may be reused.
docs(FieldInfo, BlockTermState, Bits, DocsEnum, int) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader
 
docs(FieldInfo, BlockTermState, Bits, DocsEnum, int) - Method in class org.apache.lucene.codecs.sep.SepPostingsReader
 
docs(Bits, DocsEnum, int) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
docs(Bits, DocsEnum, int) - Method in class org.apache.lucene.index.FilteredTermsEnum
 
docs(Bits, DocsEnum, int) - Method in class org.apache.lucene.index.MultiTermsEnum
 
docs(Bits, DocsEnum) - Method in class org.apache.lucene.index.TermsEnum
Get DocsEnum for the current term.
docs(Bits, DocsEnum, int) - Method in class org.apache.lucene.index.TermsEnum
Get DocsEnum for the current term, with control over whether freqs are required.
docs(Bits, DocsEnum, int) - Method in class org.apache.lucene.search.FuzzyTermsEnum
 
docsAndPositions(FieldInfo, BlockTermState, Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
 
docsAndPositions(FieldInfo, BlockTermState, Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.codecs.PostingsReaderBase
Must fully consume state, since after this call that TermState may be reused.
docsAndPositions(FieldInfo, BlockTermState, Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader
 
docsAndPositions(FieldInfo, BlockTermState, Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.codecs.sep.SepPostingsReader
 
docsAndPositions(Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
docsAndPositions(Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.index.FilteredTermsEnum
 
docsAndPositions(Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.index.MultiTermsEnum
 
docsAndPositions(Bits, DocsAndPositionsEnum) - Method in class org.apache.lucene.index.TermsEnum
Get DocsAndPositionsEnum for the current term.
docsAndPositions(Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.index.TermsEnum
Get DocsAndPositionsEnum for the current term, with control over whether offsets and payloads are required.
docsAndPositions(Bits, DocsAndPositionsEnum, int) - Method in class org.apache.lucene.search.FuzzyTermsEnum
 
DocsAndPositionsEnum - Class in org.apache.lucene.index
Also iterates through positions.
DocsAndPositionsEnum() - Constructor for class org.apache.lucene.index.DocsAndPositionsEnum
 
docsAndPositionsEnum - Variable in class org.apache.lucene.index.MultiDocsAndPositionsEnum.EnumWithSlice
 
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.DocValuesFormat
Consumes (writes) doc values during indexing.
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesFormat
 
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat
 
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.NormsFormat
Returns a PerDocConsumer to write norms to the index.
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesFormat
 
docsConsumer(PerDocWriteState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.PayloadFunction
Calculate the final score for all the payloads seen so far for this doc/field
docScorer - Variable in class org.apache.lucene.search.spans.SpanScorer
 
DocsEnum - Class in org.apache.lucene.index
Iterates through the documents and term freqs.
DocsEnum() - Constructor for class org.apache.lucene.index.DocsEnum
 
docsEnum - Variable in class org.apache.lucene.index.DocTermOrds
 
docsEnum - Variable in class org.apache.lucene.index.MultiDocsEnum.EnumWithSlice
 
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.DocValuesFormat
Produces (reads) doc values during reading/searching.
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesFormat
 
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat
 
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.NormsFormat
Returns a PerDocProducer to read norms from the index.
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesFormat
 
docsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat
 
docStoreCompoundFile - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if the shared doc store files are compound file format.
docStoreOffset - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments.
docStoreSegment - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
String of the shared doc store segment, or null if this segment does not share the doc store files.
docsWithField - Variable in class org.apache.lucene.search.FieldComparator.NumericComparator
 
DocTermOrds - Class in org.apache.lucene.index
This class enables fast access to multiple term ords for a specified field across all docIDs.
DocTermOrds(AtomicReader, String) - Constructor for class org.apache.lucene.index.DocTermOrds
Inverts all terms
DocTermOrds(AtomicReader, String, BytesRef) - Constructor for class org.apache.lucene.index.DocTermOrds
Inverts only terms starting w/ prefix
DocTermOrds(AtomicReader, String, BytesRef, int) - Constructor for class org.apache.lucene.index.DocTermOrds
Inverts only terms starting w/ prefix, and only terms whose docFreq (not taking deletions into account) is <= maxTermDocFreq
DocTermOrds(AtomicReader, String, BytesRef, int, int) - Constructor for class org.apache.lucene.index.DocTermOrds
Inverts only terms starting w/ prefix, and only terms whose docFreq (not taking deletions into account) is <= maxTermDocFreq, with a custom indexing interval (default is every 128nd term).
DocTermOrds(String, int, int) - Constructor for class org.apache.lucene.index.DocTermOrds
Subclass inits w/ this, but be sure you then call uninvert, only once
DocTermOrds.TermOrdsIterator - Class in org.apache.lucene.index
 
DocTermOrds.TermOrdsIterator() - Constructor for class org.apache.lucene.index.DocTermOrds.TermOrdsIterator
 
docToEntry - Variable in class org.apache.lucene.index.SortedBytesMergeUtils.MergeContext
 
Document - Class in org.apache.lucene.document
Documents are the unit of indexing and search.
Document() - Constructor for class org.apache.lucene.document.Document
Constructs a new document with no fields.
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.BaseCompositeReader
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.FilterAtomicReader
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.IndexReader
Expert: visits the fields of a stored document, for custom processing/loading of each field.
document(int) - Method in class org.apache.lucene.index.IndexReader
Returns the stored fields of the nth Document in this index.
document(int, Set<String>) - Method in class org.apache.lucene.index.IndexReader
Like IndexReader.document(int) but only loads the specified fields.
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.ParallelAtomicReader
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.SegmentReader
 
document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
document(int, Set<String>) - Method in class org.apache.lucene.search.IndexSearcher
Sugar for .getIndexReader().document(docID, fieldsToLoad)
DocumentStoredFieldVisitor - Class in org.apache.lucene.document
A StoredFieldVisitor that creates a Document containing all stored fields, or only specific requested fields provided to DocumentStoredFieldVisitor.DocumentStoredFieldVisitor(Set) This is used by IndexReader.document(int) to load a document.
DocumentStoredFieldVisitor(Set<String>) - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
Load only fields named in the provided Set<String>.
DocumentStoredFieldVisitor(String...) - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
Load only fields named in the provided Set<String>.
DocumentStoredFieldVisitor() - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
Load all stored fields.
docValues - Variable in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
 
docValues() - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
 
docValues(String) - Method in class org.apache.lucene.codecs.PerDocProducer
Returns DocValues for the current field.
docValues() - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
docValues(String) - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
docValues() - Method in class org.apache.lucene.codecs.sep.SepDocValuesProducer
 
docValues - Variable in class org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
 
docValues() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextPerDocProducer
 
docValues(String) - Method in class org.apache.lucene.index.AtomicReader
Returns DocValues for this field.
DocValues - Class in org.apache.lucene.index
DocValues provides a dense per-document typed storage for fast value access based on the lucene internal document id.
DocValues() - Constructor for class org.apache.lucene.index.DocValues
 
docValues(String) - Method in class org.apache.lucene.index.FilterAtomicReader
 
docValues(String) - Method in class org.apache.lucene.index.ParallelAtomicReader
 
docValues(String) - Method in class org.apache.lucene.index.SegmentReader
 
docValues(String) - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
DocValues.SortedSource - Class in org.apache.lucene.index
A sorted variant of DocValues.Source for byte[] values per document.
DocValues.SortedSource(DocValues.Type, Comparator<BytesRef>) - Constructor for class org.apache.lucene.index.DocValues.SortedSource
 
DocValues.Source - Class in org.apache.lucene.index
Source of per document values like long, double or BytesRef depending on the DocValues fields DocValues.Type.
DocValues.Source(DocValues.Type) - Constructor for class org.apache.lucene.index.DocValues.Source
 
DocValues.SourceCache - Class in org.apache.lucene.index
Abstract base class for DocValues DocValues.Source cache.
DocValues.SourceCache() - Constructor for class org.apache.lucene.index.DocValues.SourceCache
 
DocValues.SourceCache.DirectSourceCache - Class in org.apache.lucene.index
Simple per DocValues instance cache implementation that holds a DocValues.Source a member variable.
DocValues.SourceCache.DirectSourceCache() - Constructor for class org.apache.lucene.index.DocValues.SourceCache.DirectSourceCache
 
DocValues.Type - Enum in org.apache.lucene.index
Type specifies the DocValues type for a certain field.
DocValuesArraySource - Class in org.apache.lucene.codecs
DocValues DocValues.Source implementation backed by simple arrays.
docValuesByte(DocValues.Type) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
 
DocValuesConsumer - Class in org.apache.lucene.codecs
Abstract API that consumes IndexableFields.
DocValuesConsumer() - Constructor for class org.apache.lucene.codecs.DocValuesConsumer
 
docValuesFormat() - Method in class org.apache.lucene.codecs.appending.AppendingCodec
 
docValuesFormat() - Method in class org.apache.lucene.codecs.Codec
Encodes/decodes docvalues
DocValuesFormat - Class in org.apache.lucene.codecs
Encodes/decodes DocValues
DocValuesFormat() - Constructor for class org.apache.lucene.codecs.DocValuesFormat
 
docValuesFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
Deprecated.
 
docValuesFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
 
docValuesFormat() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextCodec
 
docValuesId(String, int) - Static method in class org.apache.lucene.codecs.PerDocProducerBase
 
docValuesStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of DocValues (null if DocValues could not be tested).
docValuesType(String) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosReader
 
DocValuesWriterBase - Class in org.apache.lucene.codecs.lucene40.values
Abstract base class for PerDocConsumer implementations
DocValuesWriterBase(PerDocWriteState) - Constructor for class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
DocValuesWriterBase(PerDocWriteState, float) - Constructor for class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
docValueType() - Method in class org.apache.lucene.document.FieldType
 
docValueType() - Method in interface org.apache.lucene.index.IndexableFieldType
DocValues type; if non-null then the field's value will be indexed into docValues
doMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
doNext() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
 
doOpenIfChanged() - Method in class org.apache.lucene.index.DirectoryReader
Implement this method to support DirectoryReader.openIfChanged(DirectoryReader).
doOpenIfChanged(IndexCommit) - Method in class org.apache.lucene.index.DirectoryReader
doOpenIfChanged(IndexWriter, boolean) - Method in class org.apache.lucene.index.DirectoryReader
doPrune(double, IndexSearcher) - Method in class org.apache.lucene.search.SearcherLifetimeManager.PruneByAge
 
doPrune(double, IndexSearcher) - Method in interface org.apache.lucene.search.SearcherLifetimeManager.Pruner
Return true if this searcher should be removed.
DoubleBarrelLRUCache<K extends DoubleBarrelLRUCache.CloneableKey,V> - Class in org.apache.lucene.util
Simple concurrent LRU cache, using a "double barrel" approach where two ConcurrentHashMaps record entries.
DoubleBarrelLRUCache(int) - Constructor for class org.apache.lucene.util.DoubleBarrelLRUCache
 
DoubleBarrelLRUCache.CloneableKey - Class in org.apache.lucene.util
Object providing clone(); the key class must subclass this.
DoubleBarrelLRUCache.CloneableKey() - Constructor for class org.apache.lucene.util.DoubleBarrelLRUCache.CloneableKey
 
DoubleDocValuesField - Class in org.apache.lucene.document
This class provides a Field that enables storing of a per-document double value for scoring, sorting or value retrieval.
DoubleDocValuesField(String, double) - Constructor for class org.apache.lucene.document.DoubleDocValuesField
 
doubleField(FieldInfo, double) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
 
DoubleField - Class in org.apache.lucene.document
This class provides a Field that enables indexing of double values for efficient range filtering and sorting.
DoubleField(String, double, Field.Store) - Constructor for class org.apache.lucene.document.DoubleField
Creates a stored or un-stored DoubleField with the provided value and default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
DoubleField(String, double, FieldType) - Constructor for class org.apache.lucene.document.DoubleField
Expert: allows you to customize the FieldType.
doubleField(FieldInfo, double) - Method in class org.apache.lucene.index.StoredFieldVisitor
Process a double numeric field.
doubleToSortableLong(double) - Static method in class org.apache.lucene.util.NumericUtils
Converts a double value to a sortable signed long.
downsize(FieldInfo, FuzzySet) - Method in class org.apache.lucene.codecs.bloom.BloomFilterFactory
Called when downsizing bitsets for serialization
downsize(float) - Method in class org.apache.lucene.util.FuzzySet
 
dropBuffersAndReset() - Method in class org.apache.lucene.util.ByteBlockPool
 
DS_COMPOUND_KEY - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
DS_NAME_KEY - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
DS_OFFSET_KEY - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValue
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueBool
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueDate
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueDouble
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueFloat
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueInt
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueLong
 
duplicate() - Method in class org.apache.lucene.util.mutable.MutableValueStr
 

E

EMPTY - Static variable in class org.apache.lucene.codecs.PostingsFormat
 
EMPTY - Static variable in class org.apache.lucene.index.FieldsEnum
Provides zero fields
EMPTY - Static variable in class org.apache.lucene.index.TermsEnum
An empty TermsEnum for quickly returning an empty instance e.g.
EMPTY - Static variable in class org.apache.lucene.util.automaton.RegExp
Syntax flag, enables empty language (#).
EMPTY - Static variable in interface org.apache.lucene.util.BytesRefIterator
Singleton BytesRefIterator that iterates over 0 BytesRefs.
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.DocValues
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.Fields
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.FieldsEnum
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.MultiDocValues.DocValuesSlice
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.MultiFieldsEnum.FieldsEnumWithSlice
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.ReaderSlice
 
EMPTY_ARRAY - Static variable in class org.apache.lucene.index.Terms
 
EMPTY_ARRAY - Static variable in interface org.apache.lucene.util.Bits
 
EMPTY_BYTES - Static variable in class org.apache.lucene.util.BytesRef
An empty byte array for convenience
EMPTY_CHARS - Static variable in class org.apache.lucene.util.CharsRef
 
EMPTY_DOCIDSET - Static variable in class org.apache.lucene.search.DocIdSet
An empty DocIdSet instance for easy use, e.g.
EMPTY_INTS - Static variable in class org.apache.lucene.util.IntsRef
 
EMPTY_LONGS - Static variable in class org.apache.lucene.util.LongsRef
 
EMPTY_TERM_SPANS - Static variable in class org.apache.lucene.search.spans.TermSpans
 
EMPTY_TOPDOCS - Static variable in class org.apache.lucene.search.TopDocsCollector
 
emptyVal - Variable in class org.apache.lucene.util.SentinelIntSet
 
encode(byte[], int, int, char[], int, int) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Deprecated.
Encodes the input byte sequence into the output char sequence.
encodeNormValue(float, int) - Method in class org.apache.lucene.search.similarities.BM25Similarity
The default implementation encodes boost / sqrt(length) with SmallFloat.floatToByte315(float).
encodeNormValue(float, float) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Encodes the length to a byte via SmallFloat.
encodeNormValue(float) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
Encodes a normalization factor for storage in an index.
end() - Method in class org.apache.lucene.analysis.CachingTokenFilter
 
end() - Method in class org.apache.lucene.analysis.TokenFilter
Performs end-of-stream operations, if any, and calls then end() on the input TokenStream.

NOTE: Be sure to call super.end() first when overriding this method.

end() - Method in class org.apache.lucene.analysis.TokenStream
This method is called by the consumer after the last token has been consumed, after TokenStream.incrementToken() returned false (using the new TokenStream API).
end() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
end() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
end() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
 
end - Variable in class org.apache.lucene.search.spans.SpanPositionRangeQuery
 
end() - Method in class org.apache.lucene.search.spans.Spans
Returns the end position of the current match.
end() - Method in class org.apache.lucene.search.spans.TermSpans
 
end - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
END_LABEL - Static variable in class org.apache.lucene.util.fst.FST
 
endOffset() - Method in class org.apache.lucene.analysis.Token
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
endOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
endOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
endOffset() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
endOffset() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
endOffset() - Method in class org.apache.lucene.index.DocsAndPositionsEnum
Returns end offset for the current position, or -1 if offsets were not indexed.
endOffset() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
endOffset() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
endsWith(BytesRef, BytesRef) - Static method in class org.apache.lucene.util.StringHelper
Returns true iff the ref ends with the given suffix.
ensureCanWrite(String) - Method in class org.apache.lucene.store.FSDirectory
 
ensureCapacity(long) - Method in class org.apache.lucene.util.OpenBitSet
Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
ensureCapacityWords(int) - Method in class org.apache.lucene.util.OpenBitSet
Expand the long[] with the size given as a number of words (64 bit longs).
ensureOpen() - Method in class org.apache.lucene.index.IndexReader
 
ensureOpen(boolean) - Method in class org.apache.lucene.index.IndexWriter
Used internally to throw an AlreadyClosedException if this IndexWriter has been closed.
ensureOpen() - Method in class org.apache.lucene.index.IndexWriter
 
ensureOpen() - Method in class org.apache.lucene.store.Directory
 
enums() - Method in interface org.apache.lucene.codecs.pulsing.PulsingPostingsReader.PulsingEnumAttribute
 
enums() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsReader.PulsingEnumAttributeImpl
 
eof() - Method in class org.apache.lucene.store.ByteArrayDataInput
 
equals(Object) - Method in class org.apache.lucene.analysis.Token
 
equals(Object) - Method in class org.apache.lucene.analysis.Token.TokenAttributeFactory
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.index.IndexCommit
Two IndexCommits are equal if both their Directory and versions are equal.
equals(Object) - Method in class org.apache.lucene.index.IndexReader
equals(Object) - Method in class org.apache.lucene.index.SegmentInfo
We consider another SegmentInfo instance equal if it has the same dir and same name.
equals(Object) - Method in class org.apache.lucene.index.Term
 
equals(Object) - Method in class org.apache.lucene.search.AutomatonQuery
 
equals(Object) - Method in class org.apache.lucene.search.BooleanClause
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.BooleanQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.CachingWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
equals(Object) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Return true iff we represent the same query as o
equals(Object) - Method in class org.apache.lucene.search.FieldCacheRangeFilter
 
equals(Object) - Method in class org.apache.lucene.search.FieldValueFilter
 
equals(Object) - Method in class org.apache.lucene.search.FilteredQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.FuzzyQuery
 
equals(Object) - Method in class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
equals(Object) - Method in class org.apache.lucene.search.MultiPhraseQuery
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.MultiTermQuery
 
equals(Object) - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.NGramPhraseQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.NumericRangeQuery
 
equals(Object) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery
 
equals(Object) - Method in class org.apache.lucene.search.PhraseQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.PrefixQuery
 
equals(Object) - Method in class org.apache.lucene.search.Query
 
equals(Object) - Method in class org.apache.lucene.search.QueryWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.Sort
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.SortField
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanNearQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.spans.SpanNotQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanPayloadCheckQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
equals(Object) - Method in class org.apache.lucene.search.TermQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.TermRangeQuery
 
equals(Object) - Method in class org.apache.lucene.search.TopTermsRewrite
 
equals(Object) - Method in class org.apache.lucene.store.FlushInfo
 
equals(Object) - Method in class org.apache.lucene.store.IOContext
 
equals(Object) - Method in class org.apache.lucene.store.MergeInfo
 
equals(char[], int, char[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
See if two array slices are the same.
equals(byte[], int, byte[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
See if two array slices are the same.
equals(int[], int, int[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
See if two array slices are the same.
equals(Object) - Method in class org.apache.lucene.util.AttributeSource
 
equals(Object) - Method in class org.apache.lucene.util.automaton.Automaton
 
equals(Object) - Method in class org.apache.lucene.util.automaton.StatePair
Checks for equality.
equals(Object) - Method in class org.apache.lucene.util.automaton.Transition
Checks for equality.
equals(Object) - Method in class org.apache.lucene.util.BytesRef
 
equals(Object) - Method in class org.apache.lucene.util.CharsRef
 
equals(Object) - Method in class org.apache.lucene.util.FixedBitSet
returns true if both sets have the same bits set
equals(Object) - Method in class org.apache.lucene.util.fst.PairOutputs.Pair
 
equals(Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
equals(Object) - Method in class org.apache.lucene.util.IntsRef
 
equals(Object) - Method in class org.apache.lucene.util.LongsRef
 
equals(Object) - Method in class org.apache.lucene.util.mutable.MutableValue
 
equals(Object) - Method in class org.apache.lucene.util.OpenBitSet
returns true if both sets have the same bits set
equals(String, String) - Static method in class org.apache.lucene.util.StringHelper
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValue
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueBool
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueDouble
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueFloat
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueInt
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueLong
 
equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueStr
 
error - Variable in class org.apache.lucene.index.CheckIndex.Status.DocValuesStatus
Exception thrown during doc values test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
Exception thrown during term index test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
Exception thrown during stored fields test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
Exception thrown during term index test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
Exception thrown during term vector test (null on success)
estimatedMergeBytes - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
 
estimatedMergeBytes - Variable in class org.apache.lucene.store.MergeInfo
 
estimatedSegmentSize - Variable in class org.apache.lucene.store.FlushInfo
 
estimateSize() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
Computes (and stores) the estimated size of the cache Value
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.MultiSimilarity
 
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
 
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.Similarity
Creates a new Similarity.ExactSimScorer to score matching documents from a segment of the inverted index.
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.SimilarityBase
 
exactSimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
 
execute(TwoPhaseCommit...) - Static method in class org.apache.lucene.index.TwoPhaseCommitTool
Executes a 2-phase commit algorithm by first TwoPhaseCommit.prepareCommit() all objects and only if all succeed, it proceeds with TwoPhaseCommit.commit().
exists(int) - Method in class org.apache.lucene.search.FieldCache.DocTerms
Returns true if this doc has this field and is not deleted.
exists - Variable in class org.apache.lucene.util.mutable.MutableValue
 
exists() - Method in class org.apache.lucene.util.mutable.MutableValue
 
exists(int) - Method in class org.apache.lucene.util.SentinelIntSet
 
expandingWordNum(long) - Method in class org.apache.lucene.util.OpenBitSet
 
expandSingleton() - Method in class org.apache.lucene.util.automaton.Automaton
Expands singleton representation to normal representation.
EXPECTED - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
Indicates an expected bit of "insanity".
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
Explain the score we computed for doc
explain(Query, int) - Method in class org.apache.lucene.search.IndexSearcher
Returns an Explanation that describes how doc scored against query.
explain(Weight, int) - Method in class org.apache.lucene.search.IndexSearcher
Expert: low-level implementation method Returns an Explanation that describes how doc scored against weight.
explain(int, String, int, float) - Method in class org.apache.lucene.search.payloads.PayloadFunction
 
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
 
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
 
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffect
Returns an explanation for the score.
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffect.NoAfterEffect
 
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffectB
 
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffectL
 
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModel
Returns an explanation for the score.
explain(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelIn
 
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.DFRSimilarity
 
explain(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Distribution
Explains the score.
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.IBSimilarity
 
explain(BasicStats) - Method in class org.apache.lucene.search.similarities.Lambda
Explains the lambda parameter.
explain(BasicStats) - Method in class org.apache.lucene.search.similarities.LambdaDF
 
explain(BasicStats) - Method in class org.apache.lucene.search.similarities.LambdaTTF
 
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.LMDirichletSimilarity
 
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
 
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.LMSimilarity
 
explain(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Normalization
Returns an explanation for the normalized term frequency.
explain(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Normalization.NoNormalization
 
explain(int, Explanation) - Method in class org.apache.lucene.search.similarities.Similarity.ExactSimScorer
Explain the score for a single document
explain(int, Explanation) - Method in class org.apache.lucene.search.similarities.Similarity.SloppySimScorer
Explain the score for a single document
explain(Explanation, BasicStats, int, float, float) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Subclasses should implement this method to explain the score.
explain(BasicStats, int, Explanation, float) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Explains the score.
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.spans.SpanWeight
 
explain(AtomicReaderContext, int) - Method in class org.apache.lucene.search.Weight
An explanation of the score computation for the named document.
Explanation - Class in org.apache.lucene.search
Expert: Describes the score computation for document and query.
Explanation() - Constructor for class org.apache.lucene.search.Explanation
 
Explanation(float, String) - Constructor for class org.apache.lucene.search.Explanation
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.BooleanQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.FilteredQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.MultiPhraseQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.PhraseQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.Query
Expert: adds all terms occurring in this query to the terms set.
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
extractTerms(Set<Term>) - Method in class org.apache.lucene.search.TermQuery
 

F

failureReason - Variable in class org.apache.lucene.store.Lock
If a lock obtain called, this failureReason may be set with the "root cause" Exception as to why the lock was not obtained.
FAST - Static variable in class org.apache.lucene.util.packed.PackedInts
At most 50% memory overhead, always select a reasonably fast implementation.
fastClear(int) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit.
fastClear(long) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit.
FASTEST - Static variable in class org.apache.lucene.util.packed.PackedInts
At most 700% memory overhead, always select a direct implementation.
fastestFormatAndBits(int, int, float) - Static method in class org.apache.lucene.util.packed.PackedInts
Try to find the PackedInts.Format and number of bits per value that would restore from disk the fastest reader whose overhead is less than acceptableOverheadRatio.
fastFlip(int) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit.
fastFlip(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit.
fastGet(int) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
fastGet(long) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
fastSet(int) - Method in class org.apache.lucene.util.OpenBitSet
Sets the bit at the specified index.
fastSet(long) - Method in class org.apache.lucene.util.OpenBitSet
Sets the bit at the specified index.
field - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
 
Field - Class in org.apache.lucene.document
Expert: directly create a field for a document.
Field(String, FieldType) - Constructor for class org.apache.lucene.document.Field
 
Field(String, Reader, FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with Reader value.
Field(String, TokenStream, FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with TokenStream value.
Field(String, byte[], FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with binary value.
Field(String, byte[], int, int, FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with binary value.
Field(String, BytesRef, FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with binary value.
Field(String, String, FieldType) - Constructor for class org.apache.lucene.document.Field
Create field with String value.
Field(String, String, Field.Store, Field.Index) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use StringField, TextField instead.
Field(String, String, Field.Store, Field.Index, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use StringField, TextField instead.
Field(String, Reader) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use TextField instead.
Field(String, Reader, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use TextField instead.
Field(String, TokenStream) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use TextField instead
Field(String, TokenStream, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use TextField instead
Field(String, byte[]) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use StoredField instead.
Field(String, byte[], int, int) - Constructor for class org.apache.lucene.document.Field
Deprecated.
Use StoredField instead.
field - Variable in class org.apache.lucene.index.DocTermOrds
 
field() - Method in class org.apache.lucene.index.Norm
Returns the IndexableField representation for this norm
field() - Method in class org.apache.lucene.index.Term
Returns the field of this term.
field() - Method in class org.apache.lucene.search.CollectionStatistics
returns the field name
field - Variable in class org.apache.lucene.search.FieldComparator.NumericComparator
 
field() - Method in class org.apache.lucene.search.FieldValueFilter
Returns the field this filter is applied on.
field - Variable in class org.apache.lucene.search.MultiTermQuery
 
field - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
Field.Index - Enum in org.apache.lucene.document
Deprecated.
This is here only to ease transition from the pre-4.0 APIs.
Field.Store - Enum in org.apache.lucene.document
Specifies whether a field's value should be stored.
Field.TermVector - Enum in org.apache.lucene.document
Deprecated.
This is here only to ease transition from the pre-4.0 APIs.
FIELD_DOC - Static variable in class org.apache.lucene.search.SortField
Represents sorting by document number (index order).
FIELD_SCORE - Static variable in class org.apache.lucene.search.SortField
Represents sorting by document score (relevance).
FieldCache - Interface in org.apache.lucene.search
Expert: Maintains caches of term values.
FieldCache.ByteParser - Interface in org.apache.lucene.search
Interface to parse bytes from document fields.
FieldCache.CacheEntry - Class in org.apache.lucene.search
EXPERT: A unique Identifier/Description for each item in the FieldCache.
FieldCache.CacheEntry() - Constructor for class org.apache.lucene.search.FieldCache.CacheEntry
 
FieldCache.CreationPlaceholder - Class in org.apache.lucene.search
 
FieldCache.CreationPlaceholder() - Constructor for class org.apache.lucene.search.FieldCache.CreationPlaceholder
 
FieldCache.DocTerms - Class in org.apache.lucene.search
FieldCache.DocTerms() - Constructor for class org.apache.lucene.search.FieldCache.DocTerms
 
FieldCache.DocTermsIndex - Class in org.apache.lucene.search
FieldCache.DocTermsIndex() - Constructor for class org.apache.lucene.search.FieldCache.DocTermsIndex
 
FieldCache.DoubleParser - Interface in org.apache.lucene.search
Interface to parse doubles from document fields.
FieldCache.FloatParser - Interface in org.apache.lucene.search
Interface to parse floats from document fields.
FieldCache.IntParser - Interface in org.apache.lucene.search
Interface to parse ints from document fields.
FieldCache.LongParser - Interface in org.apache.lucene.search
Interface to parse long from document fields.
FieldCache.Parser - Interface in org.apache.lucene.search
Marker interface as super-interface to all parsers.
FieldCache.ShortParser - Interface in org.apache.lucene.search
Interface to parse shorts from document fields.
FieldCache.StopFillCacheException - Exception in org.apache.lucene.search
Hack: When thrown from a Parser (NUMERIC_UTILS_* ones), this stops processing terms and returns the current FieldCache array.
FieldCache.StopFillCacheException() - Constructor for exception org.apache.lucene.search.FieldCache.StopFillCacheException
 
FieldCacheDocIdSet - Class in org.apache.lucene.search
Base class for DocIdSet to be used with FieldCache.
FieldCacheDocIdSet(int, Bits) - Constructor for class org.apache.lucene.search.FieldCacheDocIdSet
 
FieldCacheRangeFilter<T> - Class in org.apache.lucene.search
A range filter built on top of a cached single term field (in FieldCache).
FieldCacheSanityChecker - Class in org.apache.lucene.util
Provides methods for sanity checking that entries in the FieldCache are not wasteful or inconsistent.
FieldCacheSanityChecker() - Constructor for class org.apache.lucene.util.FieldCacheSanityChecker
 
FieldCacheSanityChecker.Insanity - Class in org.apache.lucene.util
Simple container for a collection of related CacheEntry objects that in conjunction with each other represent some "insane" usage of the FieldCache.
FieldCacheSanityChecker.Insanity(FieldCacheSanityChecker.InsanityType, String, FieldCache.CacheEntry...) - Constructor for class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
 
FieldCacheSanityChecker.InsanityType - Class in org.apache.lucene.util
An Enumeration of the different types of "insane" behavior that may be detected in a FieldCache.
FieldCacheTermsFilter - Class in org.apache.lucene.search
A Filter that only accepts documents whose single term value in the specified field is contained in the provided set of allowed terms.
FieldCacheTermsFilter(String, BytesRef...) - Constructor for class org.apache.lucene.search.FieldCacheTermsFilter
 
FieldCacheTermsFilter(String, String...) - Constructor for class org.apache.lucene.search.FieldCacheTermsFilter
 
FieldComparator<T> - Class in org.apache.lucene.search
Expert: a FieldComparator compares hits so as to determine their sort order when collecting the top results with TopFieldCollector.
FieldComparator() - Constructor for class org.apache.lucene.search.FieldComparator
 
FieldComparator.ByteComparator - Class in org.apache.lucene.search
Parses field's values as byte (using FieldCache.getBytes(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.DocComparator - Class in org.apache.lucene.search
Sorts by ascending docID
FieldComparator.DoubleComparator - Class in org.apache.lucene.search
Parses field's values as double (using FieldCache.getDoubles(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.FloatComparator - Class in org.apache.lucene.search
Parses field's values as float (using FieldCache.getFloats(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.FloatDocValuesComparator - Class in org.apache.lucene.search
Uses float index values to sort by ascending value
FieldComparator.IntComparator - Class in org.apache.lucene.search
Parses field's values as int (using FieldCache.getInts(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.IntDocValuesComparator - Class in org.apache.lucene.search
Loads int index values and sorts by ascending value.
FieldComparator.LongComparator - Class in org.apache.lucene.search
Parses field's values as long (using FieldCache.getLongs(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.NumericComparator<T extends Number> - Class in org.apache.lucene.search
 
FieldComparator.NumericComparator(String, T) - Constructor for class org.apache.lucene.search.FieldComparator.NumericComparator
 
FieldComparator.RelevanceComparator - Class in org.apache.lucene.search
Sorts by descending relevance.
FieldComparator.ShortComparator - Class in org.apache.lucene.search
Parses field's values as short (using FieldCache.getShorts(org.apache.lucene.index.AtomicReader, java.lang.String, boolean) and sorts by ascending value
FieldComparator.TermOrdValComparator - Class in org.apache.lucene.search
Sorts by field's natural Term sort order, using ordinals.
FieldComparator.TermOrdValComparator(int, String) - Constructor for class org.apache.lucene.search.FieldComparator.TermOrdValComparator
 
FieldComparator.TermOrdValDocValuesComparator - Class in org.apache.lucene.search
Sorts by field's natural Term sort order, using ordinals; this is just like FieldComparator.TermValComparator except it uses DocValues to retrieve the sort ords saved during indexing.
FieldComparator.TermOrdValDocValuesComparator(int, String) - Constructor for class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
 
FieldComparator.TermValComparator - Class in org.apache.lucene.search
Sorts by field's natural Term sort order.
FieldComparator.TermValDocValuesComparator - Class in org.apache.lucene.search
Sorts by field's natural Term sort order.
FieldComparatorSource - Class in org.apache.lucene.search
Provides a FieldComparator for custom field sorting.
FieldComparatorSource() - Constructor for class org.apache.lucene.search.FieldComparatorSource
 
FieldDoc - Class in org.apache.lucene.search
Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FieldDoc(int, float) - Constructor for class org.apache.lucene.search.FieldDoc
Expert: Creates one of these objects with empty sort information.
FieldDoc(int, float, Object[]) - Constructor for class org.apache.lucene.search.FieldDoc
Expert: Creates one of these objects with the given sort information.
FieldDoc(int, float, Object[], int) - Constructor for class org.apache.lucene.search.FieldDoc
Expert: Creates one of these objects with the given sort information.
FieldInfo - Class in org.apache.lucene.index
Access to the Fieldable Info file that describes document fields and whether or not they are indexed.
FieldInfo(String, boolean, int, boolean, boolean, boolean, FieldInfo.IndexOptions, DocValues.Type, DocValues.Type, Map<String, String>) - Constructor for class org.apache.lucene.index.FieldInfo
 
fieldInfo(String) - Method in class org.apache.lucene.index.FieldInfos
Return the fieldinfo object referenced by the field name
fieldInfo(int) - Method in class org.apache.lucene.index.FieldInfos
Return the fieldinfo object referenced by the fieldNumber.
fieldInfo - Variable in class org.apache.lucene.index.MergeState
 
FieldInfo.IndexOptions - Enum in org.apache.lucene.index
Controls how much information is stored in the postings lists.
FieldInfos - Class in org.apache.lucene.index
Collection of FieldInfos (accessible by number or by name).
FieldInfos(FieldInfo[]) - Constructor for class org.apache.lucene.index.FieldInfos
 
fieldInfos - Variable in class org.apache.lucene.index.MergeState
 
fieldInfos - Variable in class org.apache.lucene.index.SegmentReadState
 
fieldInfos - Variable in class org.apache.lucene.index.SegmentWriteState
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.appending.AppendingCodec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.Codec
Encodes/decodes field infos file
FieldInfosFormat - Class in org.apache.lucene.codecs
Encodes/decodes FieldInfos
FieldInfosFormat() - Constructor for class org.apache.lucene.codecs.FieldInfosFormat
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
Deprecated.
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
 
fieldInfosFormat() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextCodec
 
FieldInfosReader - Class in org.apache.lucene.codecs
Codec API for reading FieldInfos.
FieldInfosReader() - Constructor for class org.apache.lucene.codecs.FieldInfosReader
 
FieldInfosWriter - Class in org.apache.lucene.codecs
Codec API for writing FieldInfos.
FieldInfosWriter() - Constructor for class org.apache.lucene.codecs.FieldInfosWriter
 
FieldInvertState - Class in org.apache.lucene.index
This class tracks the number and position / offset parameters of terms being added to the index.
FieldInvertState(String) - Constructor for class org.apache.lucene.index.FieldInvertState
 
FieldInvertState(String, int, int, int, int, float) - Constructor for class org.apache.lucene.index.FieldInvertState
 
FieldMaskingSpanQuery - Class in org.apache.lucene.search.spans
Wrapper to allow SpanQuery objects participate in composite single-field SpanQueries by 'lying' about their search field.
FieldMaskingSpanQuery(SpanQuery, String) - Constructor for class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
fieldName - Variable in class org.apache.lucene.search.payloads.PayloadNearQuery
 
fieldNormStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of field norms (null if field norms could not be tested).
fields() - Method in class org.apache.lucene.index.AtomicReader
Returns Fields for this reader.
Fields - Class in org.apache.lucene.index
Flex API for access to fields and terms
Fields() - Constructor for class org.apache.lucene.index.Fields
 
fields() - Method in class org.apache.lucene.index.FilterAtomicReader
 
fields() - Method in class org.apache.lucene.index.ParallelAtomicReader
 
fields() - Method in class org.apache.lucene.index.SegmentReader
 
fields() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
fields - Variable in class org.apache.lucene.search.FieldDoc
Expert: The values which are used to sort the referenced document.
fields - Variable in class org.apache.lucene.search.FieldValueHitQueue
Stores the sort criteria being used.
fields - Variable in class org.apache.lucene.search.TopFieldDocs
The fields which were used to sort results by.
FIELDS_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
Extension of stored fields file
FIELDS_INDEX_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
Extension of stored fields index file
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
 
FieldsConsumer - Class in org.apache.lucene.codecs
Abstract API that consumes terms, doc, freq, prox, offset and payloads postings.
FieldsConsumer() - Constructor for class org.apache.lucene.codecs.FieldsConsumer
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.memory.MemoryPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.perfield.PerFieldPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.PostingsFormat
Writes a new segment
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsFormat
 
fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextPostingsFormat
 
fieldsData - Variable in class org.apache.lucene.document.Field
 
FieldsEnum - Class in org.apache.lucene.index
Enumerates indexed fields.
FieldsEnum() - Constructor for class org.apache.lucene.index.FieldsEnum
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat
 
FieldsProducer - Class in org.apache.lucene.codecs
Abstract API that produces terms, doc, freq, prox and payloads postings.
FieldsProducer() - Constructor for class org.apache.lucene.codecs.FieldsProducer
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.memory.MemoryPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.perfield.PerFieldPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.PostingsFormat
Reads a segment.
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsFormat
 
fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextPostingsFormat
 
fieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsFormat
 
fieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsFormat
 
fieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Method in class org.apache.lucene.codecs.StoredFieldsFormat
Returns a StoredFieldsReader to load stored fields.
fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsFormat
 
fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsFormat
 
fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.StoredFieldsFormat
Returns a StoredFieldsWriter to write stored fields.
fieldType() - Method in class org.apache.lucene.document.Field
Returns the FieldType for this field.
FieldType - Class in org.apache.lucene.document
Describes the properties of a field.
FieldType(FieldType) - Constructor for class org.apache.lucene.document.FieldType
 
FieldType() - Constructor for class org.apache.lucene.document.FieldType
 
fieldType() - Method in interface org.apache.lucene.index.IndexableField
IndexableFieldType describing the properties of this field.
FieldType.NumericType - Enum in org.apache.lucene.document
Data type of the numeric value
FieldValueFilter - Class in org.apache.lucene.search
A Filter that accepts all documents that have one or more values in a given field.
FieldValueFilter(String) - Constructor for class org.apache.lucene.search.FieldValueFilter
Creates a new FieldValueFilter
FieldValueFilter(String, boolean) - Constructor for class org.apache.lucene.search.FieldValueFilter
Creates a new FieldValueFilter
FieldValueHitQueue<T extends FieldValueHitQueue.Entry> - Class in org.apache.lucene.search
Expert: A hit queue for sorting by hits by terms in more than one field.
FieldValueHitQueue.Entry - Class in org.apache.lucene.search
 
FieldValueHitQueue.Entry(int, int, float) - Constructor for class org.apache.lucene.search.FieldValueHitQueue.Entry
 
file - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
fileExists(String) - Method in class org.apache.lucene.store.CompoundFileDirectory
Returns true iff a file with the given name exists.
fileExists(String) - Method in class org.apache.lucene.store.Directory
Returns true iff a file with the given name exists.
fileExists(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
fileExists(String) - Method in class org.apache.lucene.store.FSDirectory
Returns true iff a file with the given name exists.
fileExists(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
fileExists(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns true iff the named file exists in this directory.
fileExists(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
fileLength(String) - Method in class org.apache.lucene.store.CompoundFileDirectory
Returns the length of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.Directory
Returns the length of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
fileLength(String) - Method in class org.apache.lucene.store.FSDirectory
Returns the length in bytes of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
 
fileLength(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns the length in bytes of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
fileMap - Variable in class org.apache.lucene.store.RAMDirectory
 
fileModified(File, String) - Static method in class org.apache.lucene.store.FSDirectory
Returns the time the named file was last modified.
fileNameFromGeneration(String, String, long) - Static method in class org.apache.lucene.index.IndexFileNames
Computes the full file name from base, extension and generation.
files(SegmentInfoPerCommit, Collection<String>) - Method in class org.apache.lucene.codecs.LiveDocsFormat
Records all files in use by this SegmentInfoPerCommit into the files argument.
files(SegmentInfoPerCommit, Collection<String>) - Method in class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
 
files(SegmentInfoPerCommit, Collection<String>) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextLiveDocsFormat
 
files() - Method in class org.apache.lucene.index.SegmentInfo
 
files() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
 
files(Directory, boolean) - Method in class org.apache.lucene.index.SegmentInfos
Returns all file names referenced by SegmentInfo instances matching the provided Directory (ie files associated with any "external" segments are skipped).
FileSwitchDirectory - Class in org.apache.lucene.store
Expert: A Directory instance that switches files between two other Directory instances.
FileSwitchDirectory(Set<String>, Directory, Directory, boolean) - Constructor for class org.apache.lucene.store.FileSwitchDirectory
 
fill(int, int, long) - Method in class org.apache.lucene.util.packed.GrowableWriter
 
fill(int, int, long) - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
Fill the mutable from fromIndex (inclusive) to toIndex (exclusive) with val.
fill(BytesRef, long) - Method in class org.apache.lucene.util.PagedBytes.Reader
Reads length as 1 or 2 byte vInt prefix, starting at start.
fillAndGetIndex(BytesRef, long) - Method in class org.apache.lucene.util.PagedBytes.Reader
Reads length as 1 or 2 byte vInt prefix, starting at start.
fillAndGetStart(BytesRef, long) - Method in class org.apache.lucene.util.PagedBytes.Reader
Reads length as 1 or 2 byte vInt prefix, starting at start and returns the start offset of the next part, suitable as start parameter on next call to sequentially read all BytesRef.
fillBasicStats(BasicStats, CollectionStatistics, TermStatistics) - Method in class org.apache.lucene.search.similarities.LMSimilarity
Computes the collection probability of the current term in addition to the usual statistics.
fillBasicStats(BasicStats, CollectionStatistics, TermStatistics) - Method in class org.apache.lucene.search.similarities.SimilarityBase
Fills all member fields defined in BasicStats in stats.
fillBytesRef() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
 
fillBytesRef() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
fillBytesRef() - Method in interface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
Updates the bytes TermToBytesRefAttribute.getBytesRef() to contain this term's final encoding, and returns its hashcode.
fillSlice(BytesRef, long, int) - Method in class org.apache.lucene.util.PagedBytes.Reader
Gets a slice out of PagedBytes starting at start with a given length.
fillSliceWithPrefix(BytesRef, long) - Method in class org.apache.lucene.util.PagedBytes.Reader
Gets a slice out of PagedBytes starting at start, the length is read as 1 or 2 byte vInt prefix.
filter - Variable in class org.apache.lucene.search.ConstantScoreQuery
 
Filter - Class in org.apache.lucene.search
Abstract base class for restricting which documents may be returned during searching.
Filter() - Constructor for class org.apache.lucene.search.Filter
 
FilterAtomicReader - Class in org.apache.lucene.index
A FilterAtomicReader contains another AtomicReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
FilterAtomicReader(AtomicReader) - Constructor for class org.apache.lucene.index.FilterAtomicReader
Construct a FilterAtomicReader based on the specified base reader.
FilterAtomicReader.FilterDocsAndPositionsEnum - Class in org.apache.lucene.index
Base class for filtering DocsAndPositionsEnum implementations.
FilterAtomicReader.FilterDocsAndPositionsEnum(DocsAndPositionsEnum) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
FilterAtomicReader.FilterDocsEnum - Class in org.apache.lucene.index
Base class for filtering DocsEnum implementations.
FilterAtomicReader.FilterDocsEnum(DocsEnum) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
 
FilterAtomicReader.FilterFields - Class in org.apache.lucene.index
Base class for filtering Fields implementations.
FilterAtomicReader.FilterFields(Fields) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterFields
 
FilterAtomicReader.FilterFieldsEnum - Class in org.apache.lucene.index
Base class for filtering TermsEnum implementations.
FilterAtomicReader.FilterFieldsEnum(FieldsEnum) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterFieldsEnum
 
FilterAtomicReader.FilterTerms - Class in org.apache.lucene.index
Base class for filtering Terms implementations.
FilterAtomicReader.FilterTerms(Terms) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterTerms
 
FilterAtomicReader.FilterTermsEnum - Class in org.apache.lucene.index
Base class for filtering TermsEnum implementations.
FilterAtomicReader.FilterTermsEnum(TermsEnum) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
FilteredDocIdSet - Class in org.apache.lucene.search
Abstract decorator class for a DocIdSet implementation that provides on-demand filtering/validation mechanism on a given DocIdSet.
FilteredDocIdSet(DocIdSet) - Constructor for class org.apache.lucene.search.FilteredDocIdSet
Constructor.
FilteredDocIdSetIterator - Class in org.apache.lucene.search
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.
FilteredDocIdSetIterator(DocIdSetIterator) - Constructor for class org.apache.lucene.search.FilteredDocIdSetIterator
Constructor.
FilteredQuery - Class in org.apache.lucene.search
A query that applies a filter to the results of another query.
FilteredQuery(Query, Filter) - Constructor for class org.apache.lucene.search.FilteredQuery
Constructs a new query which applies a filter to the results of the original query.
FilteredTermsEnum - Class in org.apache.lucene.index
Abstract class for enumerating a subset of all terms.
FilteredTermsEnum(TermsEnum) - Constructor for class org.apache.lucene.index.FilteredTermsEnum
Creates a filtered TermsEnum on a terms enum.
FilteredTermsEnum(TermsEnum, boolean) - Constructor for class org.apache.lucene.index.FilteredTermsEnum
Creates a filtered TermsEnum on a terms enum.
FilteredTermsEnum.AcceptStatus - Enum in org.apache.lucene.index
Return value, if term should be accepted or the iteration should END.
find(int) - Method in class org.apache.lucene.util.SentinelIntSet
returns the slot for this key, or -slot-1 if not found
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
Finds merges necessary to force-merge all deletes from the index.
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations is necessary in order to expunge all deletes from the index.
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.NoMergePolicy
 
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.TieredMergePolicy
 
findForcedDeletesMerges(SegmentInfos) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.LogMergePolicy
Returns the merges necessary to merge the index down to a specified number of segments.
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations is necessary in order to merge to <= the specified segment count.
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.NoMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.TieredMergePolicy
 
findForcedMerges(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
 
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
Checks if any merges are now necessary and returns a MergePolicy.MergeSpecification if so.
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations are now necessary on the index.
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.NoMergePolicy
 
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.TieredMergePolicy
 
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
 
findTargetArc(int, FST.Arc<T>, FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
Finds an arc leaving the incoming arc, replacing the arc in place.
finish(int) - Method in class org.apache.lucene.codecs.DocValuesConsumer
Called when the consumer of this API is done adding values.
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
 
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
 
finish(int) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesConsumer
 
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextStoredFieldsWriter
 
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsWriter
 
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.StoredFieldsWriter
Called before Closeable.close(), passing in the number of documents that were written.
finish(long, long, int) - Method in class org.apache.lucene.codecs.TermsConsumer
Called when we are done adding terms to this field.
finish(long) - Method in class org.apache.lucene.codecs.TermsIndexWriterBase.FieldWriter
 
finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.TermVectorsWriter
Called before Closeable.close(), passing in the number of documents that were written.
finish() - Method in class org.apache.lucene.util.fst.Builder
Returns final FST.
finish() - Method in class org.apache.lucene.util.packed.PackedInts.Writer
Perform end-of-stream operations.
finishCommit() - Method in class org.apache.lucene.store.ChecksumIndexOutput
writes the checksum
finishDoc() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
finishDoc() - Method in class org.apache.lucene.codecs.PostingsConsumer
Called when we are done adding positions & payloads for each doc.
finishDoc() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsWriter
 
finishDoc() - Method in class org.apache.lucene.codecs.sep.SepPostingsWriter
Called when we are done adding positions & payloads
finishTerm(TermStats) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
Called when we are done adding docs to this term
finishTerm(TermStats) - Method in class org.apache.lucene.codecs.PostingsWriterBase
Finishes the current term
finishTerm(TermStats) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsWriter
Called when we are done adding docs to this term
finishTerm(TermStats) - Method in class org.apache.lucene.codecs.sep.SepPostingsWriter
Called when we are done adding docs to this term
finishTerm(BytesRef, TermStats) - Method in class org.apache.lucene.codecs.TermsConsumer
Finishes the current term; numDocs must be > 0.
finite - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
Indicates if the automaton accepts a finite set of strings.
first - Variable in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
 
FIRST_LEVEL_SIZE - Static variable in class org.apache.lucene.util.ByteBlockPool
 
firstComparator - Variable in class org.apache.lucene.search.FieldValueHitQueue
 
FixedBitSet - Class in org.apache.lucene.util
BitSet of fixed length (numBits), backed by accessible (FixedBitSet.getBits()) long[], accessed with an int index, implementing Bits and DocIdSet.
FixedBitSet(int) - Constructor for class org.apache.lucene.util.FixedBitSet
 
FixedBitSet(long[], int) - Constructor for class org.apache.lucene.util.FixedBitSet
 
FixedBitSet(FixedBitSet) - Constructor for class org.apache.lucene.util.FixedBitSet
Makes full copy.
FixedGapTermsIndexReader - Class in org.apache.lucene.codecs
TermsIndexReader for simple every-nth terms indexes.
FixedGapTermsIndexReader(Directory, FieldInfos, String, int, Comparator<BytesRef>, String, IOContext) - Constructor for class org.apache.lucene.codecs.FixedGapTermsIndexReader
 
FixedGapTermsIndexWriter - Class in org.apache.lucene.codecs
Selects every Nth term as and index term, and hold term bytes (mostly) fully expanded in memory.
FixedGapTermsIndexWriter(SegmentWriteState) - Constructor for class org.apache.lucene.codecs.FixedGapTermsIndexWriter
 
FixedIntBlockIndexInput - Class in org.apache.lucene.codecs.intblock
Abstract base class that reads fixed-size blocks of ints from an IndexInput.
FixedIntBlockIndexInput(IndexInput) - Constructor for class org.apache.lucene.codecs.intblock.FixedIntBlockIndexInput
 
FixedIntBlockIndexInput.BlockReader - Interface in org.apache.lucene.codecs.intblock
Interface for fixed-size block decoders.
FixedIntBlockIndexOutput - Class in org.apache.lucene.codecs.intblock
Abstract base class that writes fixed-size blocks of ints to an IndexOutput.
FixedIntBlockIndexOutput(IndexOutput, int) - Constructor for class org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput
 
fixIndex(CheckIndex.Status, Codec) - Method in class org.apache.lucene.index.CheckIndex
Repairs the index using previously returned result from CheckIndex.checkIndex().
FLAG_FREQS - Static variable in class org.apache.lucene.index.DocsEnum
Flag to pass to TermsEnum.docs(Bits,DocsEnum,int) if you require term frequencies in the returned enum.
FLAG_OFFSETS - Static variable in class org.apache.lucene.index.DocsAndPositionsEnum
Flag to pass to TermsEnum.docsAndPositions(Bits,DocsAndPositionsEnum,int) if you require offsets in the returned enum.
FLAG_PAYLOADS - Static variable in class org.apache.lucene.index.DocsAndPositionsEnum
Flag to pass to TermsEnum.docsAndPositions(Bits,DocsAndPositionsEnum,int) if you require payloads in the returned enum.
FlagsAttribute - Interface in org.apache.lucene.analysis.tokenattributes
This attribute can be used to pass different flags down the Tokenizer chain, eg from one TokenFilter to another one.
FlagsAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
This attribute can be used to pass different flags down the tokenizer chain, eg from one TokenFilter to another one.
FlagsAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
flip(int, int) - Method in class org.apache.lucene.util.FixedBitSet
Flips a range of bits
flip(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit, expanding the set size if necessary
flip(long, long) - Method in class org.apache.lucene.util.OpenBitSet
Flips a range of bits, expanding the set size if necessary
flipAndGet(int) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit and returns the resulting bit value.
flipAndGet(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit and returns the resulting bit value.
FloatDocValuesField - Class in org.apache.lucene.document
This class provides a Field that enables storing of a per-document float value for scoring, sorting or value retrieval.
FloatDocValuesField(String, float) - Constructor for class org.apache.lucene.document.FloatDocValuesField
 
floatField(FieldInfo, float) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
 
FloatField - Class in org.apache.lucene.document
This class provides a Field that enables indexing of float values for efficient range filtering and sorting.
FloatField(String, float, Field.Store) - Constructor for class org.apache.lucene.document.FloatField
Creates a stored or un-stored FloatField with the provided value and default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
FloatField(String, float, FieldType) - Constructor for class org.apache.lucene.document.FloatField
Expert: allows you to customize the FieldType.
floatField(FieldInfo, float) - Method in class org.apache.lucene.index.StoredFieldVisitor
Process a float numeric field.
Floats - Class in org.apache.lucene.codecs.lucene40.values
Exposes Writer and reader (DocValues.Source) for 32 bit and 64 bit floating point values.
Floats() - Constructor for class org.apache.lucene.codecs.lucene40.values.Floats
 
floatToByte(float, int, int) - Static method in class org.apache.lucene.util.SmallFloat
Converts a 32 bit float to an 8 bit float.
floatToByte315(float) - Static method in class org.apache.lucene.util.SmallFloat
floatToByte(b, mantissaBits=3, zeroExponent=15)
smallest non-zero value = 5.820766E-10
largest value = 7.5161928E9
epsilon = 0.125
floatToByte52(float) - Static method in class org.apache.lucene.util.SmallFloat
floatToByte(b, mantissaBits=5, zeroExponent=2)
smallest nonzero value = 0.033203125
largest value = 1984.0
epsilon = 0.03125
floatToEdits(float, int) - Static method in class org.apache.lucene.search.FuzzyQuery
Deprecated.
pass integer edit distances instead.
floatToSortableInt(float) - Static method in class org.apache.lucene.util.NumericUtils
Converts a float value to a sortable signed int.
floor(BytesRef, BytesRef) - Method in class org.apache.lucene.util.automaton.CompiledAutomaton
Finds largest term accepted by this Automaton, that's <= the provided input term.
floorBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
 
floorSubBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
 
flush(boolean, boolean) - Method in class org.apache.lucene.index.IndexWriter
Flush all in-memory buffered updates (adds and deletes) to the Directory.
flush() - Method in class org.apache.lucene.store.BufferedIndexOutput
Forces any buffered output to be written.
flush() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
flush() - Method in class org.apache.lucene.store.IndexOutput
Forces any buffered output to be written.
flush() - Method in class org.apache.lucene.store.RAMOutputStream
 
flushBlock() - Method in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput
 
flushBuffer(IndexOutput, long) - Method in class org.apache.lucene.store.BufferedIndexInput
Flushes the in-memory bufer to the given output, copying at most numBytes.
flushBuffer(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexOutput
Expert: implements buffer write.
flushBuffer(byte[], int, int) - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
output methods:
FlushInfo - Class in org.apache.lucene.store
A FlushInfo provides information required for a FLUSH context.
FlushInfo(int, long) - Constructor for class org.apache.lucene.store.FlushInfo
Creates a new FlushInfo instance from the values required for a FLUSH IOContext context.
flushInfo - Variable in class org.apache.lucene.store.IOContext
 
flushPolicy - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
 
flushTermsBlock(int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
 
flushTermsBlock(int, int) - Method in class org.apache.lucene.codecs.PostingsWriterBase
Flush count terms starting at start "backwards", as a block.
flushTermsBlock(int, int) - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsWriter
 
flushTermsBlock(int, int) - Method in class org.apache.lucene.codecs.sep.SepPostingsWriter
 
forceMerge(int) - Method in class org.apache.lucene.index.IndexWriter
Forces merge policy to merge segments until there are <= maxNumSegments.
forceMerge(int, boolean) - Method in class org.apache.lucene.index.IndexWriter
Just like IndexWriter.forceMerge(int), except you can specify whether the call should block until all merging completes.
forceMergeDeletes(boolean) - Method in class org.apache.lucene.index.IndexWriter
Just like IndexWriter.forceMergeDeletes(), except you can specify whether the call should block until the operation completes.
forceMergeDeletes() - Method in class org.apache.lucene.index.IndexWriter
Forces merging of all segments that have deleted documents.
format - Variable in class org.apache.lucene.util.packed.PackedInts.FormatAndBits
 
FORMAT_3_1 - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
Each segment records the Lucene version that created it.
FORMAT_DIAGNOSTICS - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
This format adds optional per-segment String diagnostics storage, and switches userData to Map
FORMAT_HAS_VECTORS - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
Each segment records whether it has term vectors
FORMAT_SEGMENTS_GEN_CURRENT - Static variable in class org.apache.lucene.index.SegmentInfos
Used for the segments.gen file only! Whenever you add a new format, make it 1 smaller (negative version logic)!
forName(String) - Static method in class org.apache.lucene.codecs.Codec
looks up a codec by name
forName(String) - Static method in class org.apache.lucene.codecs.PostingsFormat
looks up a format by name
forName(String) - Static method in class org.apache.lucene.util.hash.HashFunction
looks up a hash function by name
forType(DocValues.Type) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
 
freeBefore(int) - Method in class org.apache.lucene.util.RollingCharBuffer
Call this to notify us that no chars before this absolute position are needed anymore.
freeBlocks(int) - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
Removes the given number of byte blocks from the buffer if possible.
freeze() - Method in class org.apache.lucene.document.FieldType
Prevents future changes.
freeze(Builder.UnCompiledNode<T>[], int, IntsRef) - Method in class org.apache.lucene.util.fst.Builder.FreezeTail
 
freeze(boolean) - Method in class org.apache.lucene.util.PagedBytes
Commits final byte[], trimming it if necessary and if trim=true
freq() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
freq() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
 
freq() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
freq() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
freq() - Method in class org.apache.lucene.index.DocsEnum
Returns term frequency in the current document.
freq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
freq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
 
freq() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
freq() - Method in class org.apache.lucene.index.MultiDocsEnum
 
freq() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
freq() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
freq() - Method in class org.apache.lucene.search.Scorer
Returns number of matches for the current document.
freq - Variable in class org.apache.lucene.search.spans.SpanScorer
 
freq() - Method in class org.apache.lucene.search.spans.SpanScorer
 
freq - Variable in class org.apache.lucene.search.spans.TermSpans
 
FSDirectory - Class in org.apache.lucene.store
FSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.FSDirectory
Create a new FSDirectory for the named location (ctor for subclasses).
FSDirectory.FSIndexOutput - Class in org.apache.lucene.store
 
FSDirectory.FSIndexOutput(FSDirectory, String, RateLimiter) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexOutput
 
FSLockFactory - Class in org.apache.lucene.store
Base class for file system based locking implementation.
FSLockFactory() - Constructor for class org.apache.lucene.store.FSLockFactory
 
FST<T> - Class in org.apache.lucene.util.fst
Represents an finite state machine (FST), using a compact byte[] format.
FST(DataInput, Outputs<T>) - Constructor for class org.apache.lucene.util.fst.FST
Load a previously saved FST.
FST.Arc<T> - Class in org.apache.lucene.util.fst
Represents a single arc.
FST.Arc() - Constructor for class org.apache.lucene.util.fst.FST.Arc
 
FST.BytesReader - Class in org.apache.lucene.util.fst
Reads the bytes from this FST.
FST.BytesReader(byte[], int) - Constructor for class org.apache.lucene.util.fst.FST.BytesReader
 
FST.INPUT_TYPE - Enum in org.apache.lucene.util.fst
Specifies allowed range of each int input label for this FST.
fsync(String) - Method in class org.apache.lucene.store.FSDirectory
 
function - Variable in class org.apache.lucene.search.payloads.PayloadNearQuery
 
function - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery
 
FUZZY_SERIALIZATION_VERSION - Static variable in class org.apache.lucene.util.FuzzySet
 
FuzzyQuery - Class in org.apache.lucene.search
Implements the fuzzy search query.
FuzzyQuery(Term, int, int, int, boolean) - Constructor for class org.apache.lucene.search.FuzzyQuery
Create a new FuzzyQuery that will match terms with an edit distance of at most maxEdits to term.
FuzzyQuery(Term, int, int) - Constructor for class org.apache.lucene.search.FuzzyQuery
FuzzyQuery(Term, int) - Constructor for class org.apache.lucene.search.FuzzyQuery
FuzzyQuery(Term) - Constructor for class org.apache.lucene.search.FuzzyQuery
FuzzySet - Class in org.apache.lucene.util
A class used to represent a set of many, potentially large, values (e.g.
FuzzySet.ContainsResult - Enum in org.apache.lucene.util
 
FuzzyTermsEnum - Class in org.apache.lucene.search
Subclass of TermsEnum for enumerating all terms that are similar to the specified filter term.
FuzzyTermsEnum(Terms, AttributeSource, Term, float, int, boolean) - Constructor for class org.apache.lucene.search.FuzzyTermsEnum
Constructor for enumeration of all terms from specified reader which share a prefix of length prefixLength with term and which have a fuzzy similarity > minSimilarity.
FuzzyTermsEnum.LevenshteinAutomataAttribute - Interface in org.apache.lucene.search
 
FuzzyTermsEnum.LevenshteinAutomataAttributeImpl - Class in org.apache.lucene.search
 
FuzzyTermsEnum.LevenshteinAutomataAttributeImpl() - Constructor for class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
 

G

GEN_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
Extension of gen file
generationFromSegmentsFileName(String) - Static method in class org.apache.lucene.index.SegmentInfos
Parse the generation off the segments file name and return it.
get(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader
 
get(int) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsReader
 
get(int) - Method in class org.apache.lucene.codecs.TermVectorsReader
Returns term vectors for this document, or null if term vectors were not indexed.
get(String) - Method in class org.apache.lucene.document.Document
Returns the string value of the field with the given name if any exist in this document, or null.
get(int) - Method in class org.apache.lucene.index.MergeState.DocMap
 
get(int) - Method in class org.apache.lucene.index.TermContext
Returns the TermState for an leaf ordinal or null if no TermState for the ordinal was registered.
get() - Static method in class org.apache.lucene.LucenePackage
Return Lucene's package, including version information.
get(String) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
Returns a Similarity for scoring a field.
get(int) - Method in interface org.apache.lucene.util.Bits
 
get(int) - Method in class org.apache.lucene.util.Bits.MatchAllBits
 
get(int) - Method in class org.apache.lucene.util.Bits.MatchNoBits
 
get(int, BytesRef) - Method in class org.apache.lucene.util.BytesRefHash
Populates and returns a BytesRef with the bytes for the given ord.
get() - Method in class org.apache.lucene.util.CloseableThreadLocal
 
get() - Method in class org.apache.lucene.util.Counter
Returns the counters current value
get(int) - Method in class org.apache.lucene.util.DocIdBitSet
 
get(K) - Method in class org.apache.lucene.util.DoubleBarrelLRUCache
 
get(int) - Method in class org.apache.lucene.util.FixedBitSet
 
get(long) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
get(long, long) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
get(FST<T>, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
Looks up the output for this input, or null if the input is not accepted.
get(FST<T>, BytesRef) - Static method in class org.apache.lucene.util.fst.Util
Looks up the output for this input, or null if the input is not accepted
get(int) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
get(long) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index
get(int) - Method in class org.apache.lucene.util.packed.GrowableWriter
 
get(int, long[], int, int) - Method in class org.apache.lucene.util.packed.GrowableWriter
 
get(int) - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
 
get(int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
Bulk get: read at least one and at most len longs starting from index into arr[off:off+len] and return the actual number of values that have been read.
get(int) - Method in class org.apache.lucene.util.RollingCharBuffer
 
get(int, int) - Method in class org.apache.lucene.util.RollingCharBuffer
 
get() - Method in class org.apache.lucene.util.SetOnce
Returns the object set by SetOnce.set(Object).
get(Class<S>) - Static method in class org.apache.lucene.util.SPIClassIterator
 
get(Class<S>, ClassLoader) - Static method in class org.apache.lucene.util.SPIClassIterator
 
get(Object) - Method in class org.apache.lucene.util.WeakIdentityMap
 
getAcceptStates() - Method in class org.apache.lucene.util.automaton.Automaton
Returns the set of reachable accept states.
getAfterEffect() - Method in class org.apache.lucene.search.similarities.DFRSimilarity
 
getAnalyzer() - Method in class org.apache.lucene.index.IndexWriter
Returns the analyzer used by this index.
getAnalyzer() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getAnalyzer() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the default analyzer to use for indexing documents.
getAndClear(int) - Method in class org.apache.lucene.util.FixedBitSet
 
getAndSet(int) - Method in class org.apache.lucene.util.FixedBitSet
 
getAndSet(int) - Method in class org.apache.lucene.util.OpenBitSet
Sets a bit and returns the previous value.
getAndSet(long) - Method in class org.apache.lucene.util.OpenBitSet
Sets a bit and returns the previous value.
getArcCount() - Method in class org.apache.lucene.util.fst.FST
 
getArcWithOutputCount() - Method in class org.apache.lucene.util.fst.FST
 
getArray() - Method in class org.apache.lucene.index.DocValues.Source
Returns the internal array representation iff this DocValues.Source uses an array as its inner representation, otherwise UOE.
getArray() - Method in class org.apache.lucene.util.packed.GrowableWriter
 
getArray() - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
Expert: if the bit-width of this reader matches one of java's native types, returns the underlying array (ie, byte[], short[], int[], long[]); else, returns null.
getAttribute(String) - Method in class org.apache.lucene.index.FieldInfo
Get a codec attribute value, or null if it does not exist
getAttribute(String) - Method in class org.apache.lucene.index.SegmentInfo
Get a codec attribute value, or null if it does not exist
getAttribute(Class<A>) - Method in class org.apache.lucene.util.AttributeSource
The caller must pass in a Class<? extends Attribute> value.
getAttributeClassesIterator() - Method in class org.apache.lucene.util.AttributeSource
Returns a new iterator that iterates the attribute classes in the same order they were added in.
getAttributeFactory() - Method in class org.apache.lucene.util.AttributeSource
returns the used AttributeFactory.
getAttributeImplsIterator() - Method in class org.apache.lucene.util.AttributeSource
Returns a new iterator that iterates all unique Attribute implementations.
getAttributeSource() - Method in class org.apache.lucene.index.FieldInvertState
 
getAutomaton(String) - Method in interface org.apache.lucene.util.automaton.AutomatonProvider
Returns automaton of the given name.
getAutomatonEnum(int, BytesRef) - Method in class org.apache.lucene.search.FuzzyTermsEnum
return an automata-based enum for matching up to editDistance from lastTerm, if possible
getAvgFieldLength() - Method in class org.apache.lucene.search.similarities.BasicStats
Returns the average field length.
getB() - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
getBasicModel() - Method in class org.apache.lucene.search.similarities.DFRSimilarity
 
getBinaryValue(String) - Method in class org.apache.lucene.document.Document
Returns an array of bytes for the first (or only) field that has the name specified as the method parameter.
getBinaryValues(String) - Method in class org.apache.lucene.document.Document
Returns an array of byte arrays for of the fields that have the name specified as the method parameter.
getBit(int) - Method in class org.apache.lucene.util.OpenBitSet
returns 1 if the bit is set, 0 if not.
getBits() - Method in class org.apache.lucene.util.FixedBitSet
Expert.
getBits() - Method in class org.apache.lucene.util.OpenBitSet
Expert: returns the long[] storing the bits
getBitSet() - Method in class org.apache.lucene.util.DocIdBitSet
Returns the underlying BitSet.
getBitsPerValue() - Method in class org.apache.lucene.util.packed.GrowableWriter
 
getBitsPerValue() - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
 
getBitsPerValue() - Method in interface org.apache.lucene.util.packed.PackedInts.ReaderIterator
Returns number of bits per value
getBlockEnds() - Method in class org.apache.lucene.util.PagedBytes.Reader
 
getBlockReader(IndexInput, int[]) - Method in class org.apache.lucene.codecs.intblock.FixedIntBlockIndexInput
 
getBlockReader(IndexInput, int[]) - Method in class org.apache.lucene.codecs.intblock.VariableIntBlockIndexInput
 
getBlocks() - Method in class org.apache.lucene.util.PagedBytes.Reader
 
getBoost() - Method in class org.apache.lucene.index.FieldInvertState
Get boost value.
getBoost() - Method in interface org.apache.lucene.search.BoostAttribute
Retrieves the boost, default is 1.0f.
getBoost() - Method in class org.apache.lucene.search.BoostAttributeImpl
 
getBoost() - Method in class org.apache.lucene.search.Query
Gets the boost for this clause.
getBuffer(int) - Method in class org.apache.lucene.store.RAMFile
 
getBufferSize() - Method in class org.apache.lucene.store.BufferedIndexInput
Returns buffer size.
getByOrd(int, BytesRef) - Method in class org.apache.lucene.index.DocValues.SortedSource
Returns value for specified ord.
getByOutput(FST<Long>, long) - Static method in class org.apache.lucene.util.fst.Util
Reverse lookup (lookup by output instead of by input), in the special case when your FSTs outputs are strictly ascending.
getByteBlock() - Method in class org.apache.lucene.util.ByteBlockPool.Allocator
 
getByteBlock() - Method in class org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
 
getByteBlock() - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
 
getBytes(int, BytesRef) - Method in class org.apache.lucene.codecs.DocValuesArraySource
 
getBytes(int, BytesRef) - Method in class org.apache.lucene.index.DocValues.SortedSource
 
getBytes(int, BytesRef) - Method in class org.apache.lucene.index.DocValues.Source
Returns a BytesRef for the given document id or throws an UnsupportedOperationException if this source doesn't support byte[] values.
getBytes(AtomicReader, String, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as a single byte and returns an array of size reader.maxDoc() of the value each document has in the given field.
getBytes(AtomicReader, String, FieldCache.ByteParser, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as bytes and returns an array of size reader.maxDoc() of the value each document has in the given field.
getBytesComparator() - Method in class org.apache.lucene.search.SortField
 
getByteSize() - Method in class org.apache.lucene.util.SortedVIntList
 
getBytesReader(int) - Method in class org.apache.lucene.util.fst.FST
 
getBytesRef() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
 
getBytesRef() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
 
getBytesRef() - Method in interface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
Retrieve this attribute's BytesRef.
getC() - Method in class org.apache.lucene.search.similarities.NormalizationH1
 
getC() - Method in class org.apache.lucene.search.similarities.NormalizationH2
 
getCacheEntries() - Method in interface org.apache.lucene.search.FieldCache
EXPERT: Generates an array of CacheEntry objects representing all items currently in the FieldCache.
getCacheEntries() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
CacheEntry objects which suggest a problem
getCacheType() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getCalibrateSizeByDeletes() - Method in class org.apache.lucene.index.LogMergePolicy
Returns true if the segment size should be calibrated by the number of deletes when choosing segments for merge.
getCharIntervals() - Method in class org.apache.lucene.util.automaton.RunAutomaton
Returns array of codepoint class interval start points.
getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
getChildren() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
getChildren() - Method in class org.apache.lucene.search.Scorer
Returns child sub-scorers
getClauses() - Method in class org.apache.lucene.search.BooleanQuery
Returns the set of clauses in this query.
getClauses() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Return the clauses whose spans are matched.
getClauses() - Method in class org.apache.lucene.search.spans.SpanOrQuery
Return the clauses whose spans are matched.
getCodec() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getCodec() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the current Codec.
getCodec() - Method in class org.apache.lucene.index.SegmentInfo
 
getCollectionProbability() - Method in class org.apache.lucene.search.similarities.LMSimilarity.LMStats
Returns the probability that the current term is generated by the collection.
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.FilterAtomicReader
Expert: Returns a key for this IndexReader that also includes deletions, so FieldCache/CachingWrapperFilter can find it again.
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.IndexReader
Expert: Returns a key for this IndexReader that also includes deletions, so FieldCache/CachingWrapperFilter can find it again.
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.SegmentReader
 
getCombinedCoreAndDeletesKey() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
getCommonPrefix(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
Returns the longest string that is a prefix of all accepted strings and visits each state at most once.
getCommonPrefixBytesRef(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
 
getCommonSuffix(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
Returns the longest string that is a suffix of all accepted strings and visits each state at most once.
getCommonSuffixBytesRef(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
 
getComparator() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
 
getComparator() - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
 
getComparator() - Method in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
getComparator() - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
getComparator() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsWriter
 
getComparator() - Method in class org.apache.lucene.codecs.TermsConsumer
Return the BytesRef Comparator used to sort terms before feeding to this API.
getComparator() - Method in class org.apache.lucene.codecs.TermVectorsWriter
Return the BytesRef Comparator used to sort terms before feeding to this API.
getComparator() - Method in class org.apache.lucene.index.DocValues.SortedSource
Returns the comparator used to order the BytesRefs.
getComparator() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
 
getComparator() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
 
getComparator() - Method in class org.apache.lucene.index.FilteredTermsEnum
 
getComparator() - Method in class org.apache.lucene.index.MultiTerms
 
getComparator() - Method in class org.apache.lucene.index.MultiTermsEnum
 
getComparator() - Method in class org.apache.lucene.index.Terms
Return the BytesRef Comparator used to sort terms provided by the iterator.
getComparator() - Method in class org.apache.lucene.search.FuzzyTermsEnum
 
getComparator(int, int) - Method in class org.apache.lucene.search.SortField
Returns the FieldComparator to use for sorting.
getComparator() - Method in interface org.apache.lucene.util.BytesRefIterator
Return the BytesRef Comparator used to sort terms provided by the iterator.
getComparators() - Method in class org.apache.lucene.search.FieldValueHitQueue
 
getComparatorSource() - Method in class org.apache.lucene.search.SortField
Returns the FieldComparatorSource used for custom sorting
getCompetitiveTerm() - Method in interface org.apache.lucene.search.MaxNonCompetitiveBoostAttribute
This is the term or null of the term that triggered the boost change.
getCompetitiveTerm() - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
 
getConfig() - Method in class org.apache.lucene.index.IndexWriter
Returns a LiveIndexWriterConfig, which can be used to query the IndexWriter current settings, as well as modify "live" ones.
getCoreCacheKey() - Method in class org.apache.lucene.index.FilterAtomicReader
Expert: Returns a key for this IndexReader, so FieldCache/CachingWrapperFilter can find it again.
getCoreCacheKey() - Method in class org.apache.lucene.index.IndexReader
Expert: Returns a key for this IndexReader, so FieldCache/CachingWrapperFilter can find it again.
getCoreCacheKey() - Method in class org.apache.lucene.index.SegmentReader
 
getCoreCacheKey() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
getCreatedFiles() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
getCrossCheckTermVectors() - Method in class org.apache.lucene.index.CheckIndex
getCurrentLabel() - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
 
getCurrentLabel() - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
 
getCurrentMerge() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
getCurrentSearchingGen() - Method in class org.apache.lucene.search.NRTManager
Returns generation of current searcher.
getCustom() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getDataInput() - Method in class org.apache.lucene.util.PagedBytes
Returns a DataInput to read values from this PagedBytes instance.
getDataOutput() - Method in class org.apache.lucene.util.PagedBytes
Returns a DataOutput that you may use to write into this PagedBytes instance.
getDecodedLength(char[], int, int) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Deprecated.
Returns the number of bytes required to decode the given char sequence.
getDecodingReader(InputStream, Charset) - Static method in class org.apache.lucene.util.IOUtils
Wrapping the given InputStream in a reader using a CharsetDecoder.
getDecodingReader(File, Charset) - Static method in class org.apache.lucene.util.IOUtils
Opens a Reader for the given File using a CharsetDecoder.
getDecodingReader(Class<?>, String, Charset) - Static method in class org.apache.lucene.util.IOUtils
Opens a Reader for the given resource using a CharsetDecoder.
getDefault() - Static method in class org.apache.lucene.codecs.Codec
expert: returns the default codec used for newly created IndexWriterConfigs.
getDefault() - Static method in class org.apache.lucene.util.InfoStream
The default InfoStream used by a newly instantiated classes.
getDefaultGenLookahedCount() - Static method in class org.apache.lucene.index.SegmentInfos
 
getDefaultSimilarity() - Static method in class org.apache.lucene.search.IndexSearcher
Expert: returns a default Similarity instance.
getDefaultSortedSource(DocValues.Type, int) - Static method in class org.apache.lucene.index.DocValues
Returns a SortedSource that always returns default (missing) values for all documents.
getDefaultSource(DocValues.Type) - Static method in class org.apache.lucene.index.DocValues
Returns a Source that always returns default (missing) values for all documents.
getDefaultWriteLockTimeout() - Static method in class org.apache.lucene.index.IndexWriterConfig
Returns the default write lock timeout for newly instantiated IndexWriterConfigs.
getDelCount() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
 
getDelegate() - Method in class org.apache.lucene.store.NRTCachingDirectory
 
getDelGen() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
 
getDescription() - Method in class org.apache.lucene.search.Explanation
A description of this explanation node.
getDest() - Method in class org.apache.lucene.util.automaton.Transition
Returns destination of this transition.
getDetails() - Method in class org.apache.lucene.search.Explanation
The sub-nodes of this explanation node.
getDiagnostics() - Method in class org.apache.lucene.index.SegmentInfo
 
getDirectory() - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
 
getDirectory() - Method in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
 
getDirectory() - Method in class org.apache.lucene.codecs.sep.SepDocValuesConsumer
 
getDirectory() - Method in class org.apache.lucene.index.IndexCommit
Returns the Directory for the index.
getDirectory() - Method in class org.apache.lucene.index.IndexWriter
Returns the Directory used by this index.
getDirectory() - Method in exception org.apache.lucene.index.MergePolicy.MergeException
Returns the Directory of the index that hit the exception.
getDirectory() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
 
getDirectory() - Method in class org.apache.lucene.store.CompoundFileDirectory
 
getDirectory() - Method in class org.apache.lucene.store.FSDirectory
 
getDirectReader(IndexInput) - Static method in class org.apache.lucene.util.packed.PackedInts
Construct a direct PackedInts.Reader from an IndexInput.
getDirectReaderNoHeader(IndexInput, PackedInts.Format, int, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
Expert: Construct a direct PackedInts.Reader from a stream without reading metadata at the beginning of the stream.
getDirectSource() - Method in class org.apache.lucene.index.DocValues
Returns a disk resident DocValues.Source instance.
getDirectSource() - Method in class org.apache.lucene.index.MultiDocValues.EmptyDocValues
 
getDirectSource() - Method in class org.apache.lucene.index.MultiDocValues.EmptyFixedDocValues
 
getDirectSource() - Method in class org.apache.lucene.index.MultiDocValues
 
getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
 
getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.SimilarityBase
 
getDisjuncts() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
 
getDistribution() - Method in class org.apache.lucene.search.similarities.IBSimilarity
 
getDivisor() - Method in class org.apache.lucene.codecs.FixedGapTermsIndexReader
 
getDivisor() - Method in class org.apache.lucene.codecs.TermsIndexReaderBase
 
getDivisor() - Method in class org.apache.lucene.codecs.VariableGapTermsIndexReader
 
getDoc() - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
Returns the id of the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
getDocCount() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
 
getDocCount() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
 
getDocCount() - Method in class org.apache.lucene.index.MultiTerms
 
getDocCount() - Method in class org.apache.lucene.index.SegmentInfo
 
getDocCount() - Method in class org.apache.lucene.index.Terms
Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec.
getDocFreq() - Method in class org.apache.lucene.search.similarities.BasicStats
Returns the document frequency.
getDocIDs() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
getDocIDs() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.CachingWrapperFilter
 
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.FieldCacheRangeFilter
This method is implemented for each data type
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.FieldCacheTermsFilter
 
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.FieldValueFilter
 
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.Filter
Creates a DocIdSet enumerating the documents that should be permitted in search results.
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Returns a DocIdSet with documents that should be permitted in search results.
getDocIdSet(AtomicReaderContext, Bits) - Method in class org.apache.lucene.search.QueryWrapperFilter
 
getDocStoreFiles(SegmentInfo) - Static method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
Deprecated.
Returns file names for shared doc stores, if any, else null.
getDocStoreIsCompoundFile(SegmentInfo) - Static method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
getDocStoreOffset(SegmentInfo) - Static method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
getDocStoreSegment(SegmentInfo) - Static method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
Deprecated.
 
getDocsWithField(AtomicReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field and returns a bit set at the size of reader.maxDoc(), with turned on bits for each docid that does have a value for this field.
getDocTermOrds(AtomicReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the term values in field and returns a DocTermOrds instance, providing a method to retrieve the terms (as ords) per document.
getDocToOrd() - Method in class org.apache.lucene.index.DocValues.SortedSource
Returns the PackedInts.Reader impl that maps document to ord.
getDocToOrd() - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
 
getDocument() - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
 
getDocValues(IndexReader, String) - Static method in class org.apache.lucene.index.MultiDocValues
Returns a single DocValues instance for this field, merging their values on the fly.
getDocValuesForMerge(AtomicReader, FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesConsumer
 
getDocValuesForMerge(AtomicReader, FieldInfo) - Method in class org.apache.lucene.codecs.PerDocConsumer
Returns a DocValues instance for merging from the given reader for the given FieldInfo.
getDocValuesForMerge(AtomicReader, FieldInfo) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
 
getDocValuesType(byte) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosReader
 
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesConsumer
 
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
 
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocConsumer
Returns the DocValues DocValues.Type for the given FieldInfo.
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocProducerBase
 
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
 
getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocProducer
 
getDocValuesType() - Method in class org.apache.lucene.index.FieldInfo
 
getDoubles(AtomicReader, String, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as integers and returns an array of size reader.maxDoc() of the value each document has in the given field.
getDoubles(AtomicReader, String, FieldCache.DoubleParser, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as doubles and returns an array of size reader.maxDoc() of the value each document has in the given field.
getEmptyOutput() - Method in class org.apache.lucene.util.fst.FST
 
getEncodedLength(byte[], int, int) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Deprecated.
Returns the number of chars required to encode the given bytes.
getEnd() - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
 
getEstimatedNumberUniqueValuesAllowingForCollisions(int, int) - Static method in class org.apache.lucene.util.FuzzySet
 
getEstimatedSize() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
The most recently estimated size of the value, null unless estimateSize has been called.
getEstimatedUniqueValues() - Method in class org.apache.lucene.util.FuzzySet
 
getExclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches must not overlap those returned.
getExtension(String) - Static method in class org.apache.lucene.store.FileSwitchDirectory
Utility method to return a file's extension.
getField(String) - Method in class org.apache.lucene.document.Document
Returns a field with the given name if any exist in this document, or null.
getField() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
Returns the field name for this filter
getField() - Method in class org.apache.lucene.search.MultiTermQuery
Returns the field name for this query
getField() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Returns the field name for this query
getField() - Method in class org.apache.lucene.search.SortField
Returns the name of the field.
getField() - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
 
getField() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanQuery
Returns the name of the field matched by this query.
getField() - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
getFieldCache() - Method in class org.apache.lucene.search.FieldCacheTermsFilter
 
getFieldEnum(FieldInfo) - Method in class org.apache.lucene.codecs.FixedGapTermsIndexReader
 
getFieldEnum(FieldInfo) - Method in class org.apache.lucene.codecs.TermsIndexReaderBase
 
getFieldEnum(FieldInfo) - Method in class org.apache.lucene.codecs.VariableGapTermsIndexReader
 
getFieldInfos() - Method in class org.apache.lucene.index.AtomicReader
Get the FieldInfos describing all fields in this reader.
getFieldInfos() - Method in class org.apache.lucene.index.FilterAtomicReader
 
getFieldInfos() - Method in class org.apache.lucene.index.ParallelAtomicReader
Get the FieldInfos describing all fields in this reader.
getFieldInfos() - Method in class org.apache.lucene.index.SegmentReader
 
getFieldInfos() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
getFieldInfosReader() - Method in class org.apache.lucene.codecs.FieldInfosFormat
Returns a FieldInfosReader to read field infos from the index
getFieldInfosReader() - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
 
getFieldInfosReader() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat
 
getFieldInfosWriter() - Method in class org.apache.lucene.codecs.FieldInfosFormat
Returns a FieldInfosWriter to write field infos to the index
getFieldInfosWriter() - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
 
getFieldInfosWriter() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextFieldInfosFormat
 
getFieldName() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getFields(String) - Method in class org.apache.lucene.document.Document
Returns an array of IndexableFields with the given name.
getFields() - Method in class org.apache.lucene.document.Document
Returns a List of all the fields in a document.
getFields(IndexReader) - Static method in class org.apache.lucene.index.MultiFields
Returns a single Fields instance for this reader, merging fields/terms/docs/positions on the fly.
getFieldsReader() - Method in class org.apache.lucene.index.SegmentReader
 
getFileNames() - Method in class org.apache.lucene.index.IndexCommit
Returns all index files referenced by this commit point.
getFileNames() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
 
getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexInput
 
getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexOutput
Returns the current position in this file, where the next write will occur.
getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
getFilePointer() - Method in class org.apache.lucene.store.IndexInput
Returns the current position in this file, where the next read will occur.
getFilePointer() - Method in class org.apache.lucene.store.IndexOutput
Returns the current position in this file, where the next write will occur.
getFilePointer() - Method in class org.apache.lucene.store.RAMInputStream
 
getFilePointer() - Method in class org.apache.lucene.store.RAMOutputStream
 
getFilter() - Method in class org.apache.lucene.search.ConstantScoreQuery
Returns the encapsulated filter, returns null if a query is wrapped.
getFilter() - Method in class org.apache.lucene.search.FilteredQuery
 
getFirstArc(FST.Arc<T>) - Method in class org.apache.lucene.util.fst.FST
Fills virtual 'start' arc, ie, an empty incoming arc to the FST's start node
getFirstState() - Method in class org.apache.lucene.util.automaton.StatePair
Returns first component of this pair.
getFlags() - Method in class org.apache.lucene.analysis.Token

Get the bitset for any bits that have been set.

getFlags() - Method in interface org.apache.lucene.analysis.tokenattributes.FlagsAttribute

Get the bitset for any bits that have been set.

getFlags() - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl

Get the bitset for any bits that have been set.

getFloat(int) - Method in class org.apache.lucene.index.DocValues.Source
Returns a double for the given document id or throws an UnsupportedOperationException if this source doesn't support double values.
getFloats(AtomicReader, String, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as floats and returns an array of size reader.maxDoc() of the value each document has in the given field.
getFloats(AtomicReader, String, FieldCache.FloatParser, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as floats and returns an array of size reader.maxDoc() of the value each document has in the given field.
getFloorSegmentMB() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getForceMergeDeletesPctAllowed() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getFormat() - Method in class org.apache.lucene.util.packed.PackedInts.Writer
The format used to serialize values.
getFreqCutoff() - Method in class org.apache.lucene.codecs.pulsing.PulsingPostingsFormat
 
getFreqPointer() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
Returns the freq pointer of the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
getFreqs() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsEnum
 
getGeneration() - Method in class org.apache.lucene.index.IndexCommit
Returns the generation (the _N in segments_N) for this IndexCommit
getGeneration() - Method in class org.apache.lucene.index.SegmentInfos
 
getGeneration() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
 
getGeneration() - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
getGlobalCounter() - Static method in class org.apache.lucene.search.TimeLimitingCollector
Returns the global TimerThreads Counter
getGlobalTimerThread() - Static method in class org.apache.lucene.search.TimeLimitingCollector
getHeader() - Method in class org.apache.lucene.codecs.simpletext.SimpleTextDocValuesConsumer
 
getHeapArray() - Method in class org.apache.lucene.util.PriorityQueue
This method returns the internal heap array as Object[].
getId() - Method in enum org.apache.lucene.util.packed.PackedInts.Format
Returns the ID of the format.
getIdentifiers() - Method in class org.apache.lucene.util.automaton.RegExp
Returns set of automaton identifiers that occur in this regular expression.
getImplementationDistance(Class<? extends C>) - Method in class org.apache.lucene.util.VirtualMethod
Returns the distance from the baseClass in which this method is overridden/implemented in the inheritance path between baseClass and the given subclass subclazz.
getInclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches are filtered.
getIndexCommit() - Method in class org.apache.lucene.index.DirectoryReader
Expert: return the IndexCommit that this reader has opened.
getIndexCommit() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getIndexCommit() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the IndexCommit as specified in IndexWriterConfig.setIndexCommit(IndexCommit) or the default, null which specifies to open the latest index commit point.
getIndexDeletionPolicy() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getIndexDeletionPolicy() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
getIndexedFields(IndexReader) - Static method in class org.apache.lucene.index.MultiFields
 
getIndexOptions() - Method in class org.apache.lucene.index.FieldInfo
 
getIndexReader() - Method in class org.apache.lucene.search.IndexSearcher
Return the IndexReader this searches.
getIndexWriter() - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
 
getInfo() - Method in class org.apache.lucene.util.automaton.Automaton
Returns extra information associated with this automaton.
getInfoStream() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getInfoStream() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
 
getInfoStream() - Static method in class org.apache.lucene.index.SegmentInfos
 
getInfoStream() - Method in interface org.apache.lucene.search.FieldCache
getInitialState() - Method in class org.apache.lucene.util.automaton.Automaton
Gets initial state.
getInitialState() - Method in class org.apache.lucene.util.automaton.RunAutomaton
Returns initial state.
getInputType() - Method in class org.apache.lucene.util.fst.FST
 
getInt(int) - Method in class org.apache.lucene.index.DocValues.Source
Returns a long for the given document id or throws an UnsupportedOperationException if this source doesn't support long values.
getInts(AtomicReader, String, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as integers and returns an array of size reader.maxDoc() of the value each document has in the given field.
getInts(AtomicReader, String, FieldCache.IntParser, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as integers and returns an array of size reader.maxDoc() of the value each document has in the given field.
getK1() - Method in class org.apache.lucene.search.similarities.BM25Similarity
 
getLambda() - Method in class org.apache.lucene.search.similarities.IBSimilarity
 
getLambda() - Method in class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
Returns the λ parameter.
getLastCommitGeneration(String[]) - Static method in class org.apache.lucene.index.SegmentInfos
Get the generation of the most recent commit to the list of index files (N in the segments_N file).
getLastCommitGeneration(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Get the generation of the most recent commit to the index in this directory (N in the segments_N file).
getLastCommitSegmentsFileName(String[]) - Static method in class org.apache.lucene.index.SegmentInfos
Get the filename of the segments_N file for the most recent commit in the list of index files.
getLastCommitSegmentsFileName(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Get the filename of the segments_N file for the most recent commit to the index in this Directory.
getLastDocCollected() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
Returns last doc (absolute doc id) that was collected when the search time exceeded.
getLastGeneration() - Method in class org.apache.lucene.index.SegmentInfos
 
getLastOutput(int) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
 
getLength() - Method in class org.apache.lucene.index.FieldInvertState
Get total number of terms in this field.
getLength() - Method in class org.apache.lucene.store.RAMFile
 
getLiveDocs() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
getLiveDocs() - Method in class org.apache.lucene.index.AtomicReader
Returns the Bits representing live (not deleted) docs.
getLiveDocs() - Method in class org.apache.lucene.index.FilterAtomicReader
 
getLiveDocs(IndexReader) - Static method in class org.apache.lucene.index.MultiFields
 
getLiveDocs() - Method in class org.apache.lucene.index.ParallelAtomicReader
 
getLiveDocs() - Method in class org.apache.lucene.index.SegmentReader
 
getLiveDocs() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
 
getLockDir() - Method in class org.apache.lucene.store.FSLockFactory
Retrieve the lock directory.
getLockFactory() - Method in class org.apache.lucene.store.Directory
Get the LockFactory that this Directory instance is using for its locking implementation.
getLockFactory() - Method in class org.apache.lucene.store.NRTCachingDirectory
 
getLockFactory() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
getLockID() - Method in class org.apache.lucene.store.Directory
Return a string identifier that uniquely differentiates this Directory instance from other Directory instances.
getLockID() - Method in class org.apache.lucene.store.FSDirectory
 
getLockID() - Method in class org.apache.lucene.store.NRTCachingDirectory
 
getLockID() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
 
getLockPrefix() - Method in class org.apache.lucene.store.LockFactory
Get the prefix in use for all locks created in this LockFactory.
getLongs(AtomicReader, String, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as longs and returns an array of size reader.maxDoc() of the value each document has in the given field.
getLongs(AtomicReader, String, FieldCache.LongParser, boolean) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as longs and returns an array of size reader.maxDoc() of the value each document has in the given field.
getLowerTerm() - Method in class org.apache.lucene.search.TermRangeFilter
Returns the lower value of this range filter
getLowerTerm() - Method in class org.apache.lucene.search.TermRangeQuery
Returns the lower value of this range query
getLowerVal() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
Returns the lower value of this range filter
getMap() - Method in class org.apache.lucene.util.MapOfSets
 
getMappedStateCount() - Method in class org.apache.lucene.util.fst.Builder
 
getMaskedQuery() - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
getMatch() - Method in class org.apache.lucene.search.ComplexExplanation
The match status of this explanation node.
getMatch() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
 
getMatchArray() - Method in class org.apache.lucene.index.MultiTermsEnum
 
getMatchCount() - Method in class org.apache.lucene.index.MultiTermsEnum
 
getMax() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the upper value of this range filter
getMax() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the upper value of this range query
getMax() - Method in class org.apache.lucene.util.automaton.Transition
Returns maximum of this transition interval.
getMaxBufferedDeleteTerms() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMaxBufferedDeleteTerms() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the number of buffered deleted terms that will trigger a flush of all buffered deletes if enabled.
getMaxBufferedDocs() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMaxBufferedDocs() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the number of buffered added documents that will trigger a flush if enabled.
getMaxChunkSize() - Method in class org.apache.lucene.store.MMapDirectory
Returns the current mmap chunk size.
getMaxClauseCount() - Static method in class org.apache.lucene.search.BooleanQuery
Return the maximum number of clauses permitted, 1024 by default.
getMaxEdits() - Method in class org.apache.lucene.search.FuzzyQuery
 
getMaxMergeAtOnce() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getMaxMergeAtOnceExplicit() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getMaxMergeCount() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
getMaxMergeDocs() - Method in class org.apache.lucene.index.LogMergePolicy
Returns the largest segment (measured by document count) that may be merged with other segments.
getMaxMergedSegmentMB() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getMaxMergeMB() - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Returns the largest segment (measured by total byte size of the segment's files, in MB) that may be merged with other segments.
getMaxMergeMBForForcedMerge() - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Returns the largest segment (measured by total byte size of the segment's files, in MB) that may be merged with other segments during forceMerge.
getMaxMergeWriteMBPerSec() - Method in class org.apache.lucene.store.FSDirectory
getMaxNonCompetitiveBoost() - Method in interface org.apache.lucene.search.MaxNonCompetitiveBoostAttribute
This is the maximum boost that would not be competitive.
getMaxNonCompetitiveBoost() - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
 
getMaxScore() - Method in class org.apache.lucene.search.TopDocs
Returns the maximum score value encountered.
getMaxSize() - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
 
getMaxSize() - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
 
getMaxSize() - Method in class org.apache.lucene.search.TopTermsRewrite
return the maximum size of the priority queue (for boolean rewrites this is BooleanQuery#getMaxClauseCount).
getMaxTermFrequency() - Method in class org.apache.lucene.index.FieldInvertState
Get the maximum term-frequency encountered for any term in the field.
getMaxThreadCount() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
getMaxThreadStates() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMaxThreadStates() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the max number of simultaneous threads that may be indexing documents at once in IndexWriter.
getMbPerSec() - Method in class org.apache.lucene.store.RateLimiter
The current mb per second rate limit.
getMergedFieldInfos(IndexReader) - Static method in class org.apache.lucene.index.MultiFields
Call this to get the (merged) FieldInfos for a composite reader.
getMergeDocCount() - Method in class org.apache.lucene.index.SortedBytesMergeUtils.MergeContext
 
getMergedSegmentWarmer() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMergedSegmentWarmer() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the current merged segment warmer.
getMergeFactor() - Method in class org.apache.lucene.index.LogMergePolicy
Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.
getMergeInfo() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
 
getMergePolicy() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMergePolicy() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
Returns the current MergePolicy in use by this writer.
getMergeScheduler() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getMergeScheduler() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
getMergeThread(IndexWriter, MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Create and return a new MergeThread
getMergeThreadPriority() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Return the priority that merge threads run at.
getMergingSegments() - Method in class org.apache.lucene.index.IndexWriter
Expert: to be used by a MergePolicy to avoid selecting merges for segments already being merged.
getMilliseconds() - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
Get the timer value in milliseconds.
getMin() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the lower value of this range filter
getMin() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the lower value of this range query
getMin() - Method in class org.apache.lucene.util.automaton.Transition
Returns minimum of this transition interval.
getMinimumNumberShouldMatch() - Method in class org.apache.lucene.search.BooleanQuery
Gets the minimum number of the optional BooleanClauses which must be satisfied.
getMinMergeDocs() - Method in class org.apache.lucene.index.LogDocMergePolicy
Get the minimum size for a segment to remain un-merged.
getMinMergeMB() - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Get the minimum size for a segment to remain un-merged.
getMinSimilarity() - Method in class org.apache.lucene.search.FuzzyTermsEnum
 
getMsg() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
Description of hte insane behavior
getMu() - Method in class org.apache.lucene.search.similarities.LMDirichletSimilarity
Returns the μ parameter.
getMu() - Method in class org.apache.lucene.search.similarities.NormalizationH3
 
getMutable() - Method in class org.apache.lucene.util.packed.GrowableWriter
 
getMutable(int, int, float) - Static method in class org.apache.lucene.util.packed.PackedInts
Create a packed integer array with the given amount of values initialized to 0.
getName() - Method in class org.apache.lucene.codecs.Codec
Returns this codec's name
getName() - Method in class org.apache.lucene.codecs.PostingsFormat
 
getName() - Method in class org.apache.lucene.index.FieldInvertState
Return the field's name
getName() - Method in class org.apache.lucene.search.similarities.LMDirichletSimilarity
 
getName() - Method in class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
 
getName() - Method in interface org.apache.lucene.search.similarities.LMSimilarity.CollectionModel
The name of the collection model strategy.
getName() - Method in class org.apache.lucene.search.similarities.LMSimilarity.DefaultCollectionModel
 
getName() - Method in class org.apache.lucene.search.similarities.LMSimilarity
Returns the name of the LM method.
getName() - Method in class org.apache.lucene.store.CompoundFileDirectory
 
getName() - Method in class org.apache.lucene.util.hash.HashFunction
Returns this codec's name
getName() - Method in interface org.apache.lucene.util.NamedSPILoader.NamedSPI
 
getNearestSetSize(int) - Static method in class org.apache.lucene.util.FuzzySet
Rounds down required maxNumberOfBits to the nearest number that is made up of all ones as a binary number.
getNearestSetSize(int, float) - Static method in class org.apache.lucene.util.FuzzySet
Use this method to choose a set size where accuracy (low content saturation) is more important than deciding how much memory to throw at the problem.
getNextDelGen() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
 
getNextMerge() - Method in class org.apache.lucene.index.IndexWriter
Expert: the MergeScheduler calls this method to retrieve the next merge requested by the MergePolicy
getNextSegmentFileName() - Method in class org.apache.lucene.index.SegmentInfos
Get the next segments_N filename that will be written.
getNoCFSRatio() - Method in class org.apache.lucene.index.LogMergePolicy
 
getNoCFSRatio() - Method in class org.apache.lucene.index.TieredMergePolicy
 
getNodeCount() - Method in class org.apache.lucene.util.fst.FST
 
getNoLockFactory() - Static method in class org.apache.lucene.store.NoLockFactory
 
getNoOutput() - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.CharSequenceOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.NoOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.Outputs
NOTE: this output is compared with == so you must ensure that all methods return the single object if it's really no output
getNoOutput() - Method in class org.apache.lucene.util.fst.PairOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
 
getNoOutput() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
 
getNormalization() - Method in class org.apache.lucene.search.similarities.DFRSimilarity
 
getNormalization() - Method in class org.apache.lucene.search.similarities.IBSimilarity
 
getNormDocValues(IndexReader, String) - Static method in class org.apache.lucene.index.MultiDocValues
Returns a single DocValues instance for this norms field, merging their values on the fly.
getNormType() - Method in class org.apache.lucene.index.FieldInfo
 
getNumber() - Method in class org.apache.lucene.util.automaton.State
Return this state's number.
getNumberedStates() - Method in class org.apache.lucene.util.automaton.Automaton
 
getNumberOfDocuments() - Method in class org.apache.lucene.search.similarities.BasicStats
Returns the number of documents.
getNumberOfFieldTokens() - Method in class org.apache.lucene.search.similarities.BasicStats
Returns the total number of tokens in the field.
getNumberOfStates() - Method in class org.apache.lucene.util.automaton.Automaton
Returns the number of states in this automaton.
getNumberOfTransitions() - Method in class org.apache.lucene.util.automaton.Automaton
Returns the number of transitions in this automaton.
getNumOverlap() - Method in class org.apache.lucene.index.FieldInvertState
Get the number of terms with positionIncrement == 0.
getNumSubs() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
getNumSubs() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
 
getNumSubs() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
getNumSubs() - Method in class org.apache.lucene.index.MultiDocsEnum
 
getNumWords() - Method in class org.apache.lucene.util.OpenBitSet
Expert: gets the number of longs in the array that are in use
getOccur() - Method in class org.apache.lucene.search.BooleanClause
 
getOffset() - Method in class org.apache.lucene.index.FieldInvertState
Get end offset of the last processed term.
getOffsetGap(String) - Method in class org.apache.lucene.analysis.Analyzer
Just like Analyzer.getPositionIncrementGap(java.lang.String), except for Token offsets instead.
getOffsetGap(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
Just like Analyzer.getPositionIncrementGap(java.lang.String), except for Token offsets instead.
getOffsetLength() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
getOpenMode() - Method in class org.apache.lucene.index.IndexWriterConfig
 
getOpenMode() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
getOrd(int) - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
Returns sort ord for this document.
getOrdByValue(BytesRef, BytesRef) - Method in class org.apache.lucene.index.DocValues.SortedSource
Lookup ord by value.
getOrdTermsEnum(AtomicReader) - Method in class org.apache.lucene.index.DocTermOrds
Returns a TermsEnum that implements ord.
getParser() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
Returns the current numeric parser (null for T is String}
getParser() - Method in class org.apache.lucene.search.SortField
Returns the instance of a FieldCache parser that fits to the given sort type.
getPause() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
 
getPayload() - Method in class org.apache.lucene.analysis.Token
Returns this Token's payload.
getPayload() - Method in interface org.apache.lucene.analysis.tokenattributes.PayloadAttribute
Returns this Token's payload.
getPayload() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
Returns this Token's payload.
getPayload() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
 
getPayload() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
getPayload() - Method in class org.apache.lucene.index.DocsAndPositionsEnum
Returns the payload at this position, or null if no payload was indexed.
getPayload() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
 
getPayload() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
 
getPayload() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
getPayload() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
WARNING: The List is not necessarily in order of the the positions
getPayload() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
 
getPayload() - Method in class org.apache.lucene.search.spans.Spans
Returns the payload data for the current span.
getPayload() - Method in class org.apache.lucene.search.spans.TermSpans
 
getPayloadLength() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
Returns the payload length of the payload stored just before the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
getPayloadProcessorProvider() - Method in class org.apache.lucene.index.IndexWriter
Returns the PayloadProcessorProvider that is used during segment merges to process payloads.
getPayloads(Spans[]) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
getPayloadScore() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
The score for the payload
getPayloadsForQuery(Query) - Method in class org.apache.lucene.search.payloads.PayloadSpanUtil
Query should be rewritten for wild/fuzzy support.
getPointer() - Method in class org.apache.lucene.util.PagedBytes
 
getPosition() - Method in class org.apache.lucene.index.FieldInvertState
Get the last processed term position.
getPosition() - Method in class org.apache.lucene.store.ByteArrayDataInput
 
getPosition() - Method in class org.apache.lucene.store.ByteArrayDataOutput
 
getPosition() - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
Returns the current byte position.
getPosition() - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataOutput
Return the current byte position.
getPositionIncrement() - Method in class org.apache.lucene.analysis.Token
Returns the position increment of this Token.
getPositionIncrement() - Method in interface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
Returns the position increment of this Token.
getPositionIncrement() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
Returns the position increment of this Token.
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.Analyzer
Invoked before indexing a IndexableField instance if terms have already been added to that field.
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
Invoked before indexing a IndexableField instance if terms have already been added to that field.
getPositionLength() - Method in class org.apache.lucene.analysis.Token
Get the position length.
getPositionLength() - Method in interface org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute
Returns the position length of this Token.
getPositionLength() - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
Returns the position length of this Token.
getPositions() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
getPositions() - Method in class org.apache.lucene.search.MultiPhraseQuery
Returns the relative positions of terms in this phrase.
getPositions() - Method in class org.apache.lucene.search.PhraseQuery
Returns the relative positions of terms in this phrase.
getPosJump() - Method in class org.apache.lucene.codecs.memory.DirectPostingsFormat.HighFreqDocsAndPositionsEnum
 
getPostings() - Method in class org.apache.lucene.search.spans.TermSpans
 
getPostingsFormatForField(String) - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
Returns the postings format that should be used for writing new segments of field.
getPostingsFormatForField(String) - Method in class org.apache.lucene.codecs.perfield.PerFieldPostingsFormat
 
getPrecisionStep() - Method in class org.apache.lucene.analysis.NumericTokenStream
Returns the precision step.
getPrecisionStep() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the precision step.
getPrecisionStep() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the precision step.
getPrefix() - Method in class org.apache.lucene.search.PrefixFilter
 
getPrefix() - Method in class org.apache.lucene.search.PrefixQuery
Returns the prefix of this query.
getPrefixCodedIntShift(BytesRef) - Static method in class org.apache.lucene.util.NumericUtils
Returns the shift value from a prefix encoded int.
getPrefixCodedLongShift(BytesRef) - Static method in class org.apache.lucene.util.NumericUtils
Returns the shift value from a prefix encoded long.
getPrefixLength() - Method in class org.apache.lucene.search.FuzzyQuery
Returns the non-fuzzy prefix length.
getPrimaryDir() - Method in class org.apache.lucene.store.FileSwitchDirectory
Return the primary directory
getProcessor(String, BytesRef) - Method in class org.apache.lucene.index.PayloadProcessorProvider.ReaderPayloadProcessor
getProxPointer() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
Returns the prox pointer of the doc to which the last call of MultiLevelSkipListReader.skipTo(int) has skipped.
getQuery() - Method in class org.apache.lucene.search.BooleanClause
 
getQuery() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
getQuery() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
getQuery() - Method in class org.apache.lucene.search.ConstantScoreQuery
Returns the encapsulated query, returns null if a filter is wrapped.
getQuery() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
Return our associated DisjunctionMaxQuery
getQuery() - Method in class org.apache.lucene.search.FilteredQuery
 
getQuery() - Method in class org.apache.lucene.search.QueryWrapperFilter
returns the inner Query
getQuery() - Method in class org.apache.lucene.search.spans.SpanWeight
 
getQuery() - Method in class org.apache.lucene.search.Weight
The query that this concerns.
getRAMBufferSizeMB() - Method in class org.apache.lucene.index.IndexWriterConfig