- 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.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
-
- 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<Query>
- 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
-
- 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, MergeState) - 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
-
- 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.BlockTreeTermsWriter
-
- addField(FieldInfo) - Method in class org.apache.lucene.codecs.FieldsConsumer
-
Add a new field
- addFile(String) - Method in class org.apache.lucene.index.SegmentInfo
-
Add this file to the set of files written for this
segment.
- addFiles(Collection<String>) - Method in class org.apache.lucene.index.SegmentInfo
-
Add these files to the set of files written for this
segment.
- 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, BytesRef) - 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, int, int, BytesRef) - 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.
- 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.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 the current whose document number is greater
than or equal to target, and returns the document number itself.
- 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
-
Sole constructor.
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
- 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
-
- Analyzer.GlobalReuseStrategy() - Constructor for class org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy
-
Creates a new instance, with empty per-thread values
- 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
-
Creates a new instance, with empty per-thread-per-field values
- Analyzer.ReuseStrategy - Class in org.apache.lucene.analysis
-
- Analyzer.ReuseStrategy() - Constructor for class org.apache.lucene.analysis.Analyzer.ReuseStrategy
-
Sole constructor.
- 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
-
- Analyzer.TokenStreamComponents(Tokenizer) - Constructor for class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
- 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
-
Returns true if any fields indexed doc values.
- 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
- 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
-
- 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
-
Sole constructor.
- 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
-
- AttributeImpl() - Constructor for class org.apache.lucene.util.AttributeImpl
-
- AttributeReflector - Interface in org.apache.lucene.util
-
- attributes() - Method in class org.apache.lucene.index.DocsEnum
-
Returns the related attributes.
- attributes() - Method in class org.apache.lucene.index.FieldInfo
-
Returns internal codec attributes map.
- 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.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
-
Returns the internal codec attributes map.
- 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
AttributeImpl
s,
and methods to add and get them.
- AttributeSource() - Constructor for class org.apache.lucene.util.AttributeSource
-
- 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
-
- AttributeSource.AttributeFactory - Class in org.apache.lucene.util
-
- 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
-
- 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
- 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).
- 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
CompositeReader
s 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
-
Sole constructor.
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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[]) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- binaryField(FieldInfo, byte[]) - 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.
- blockCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
The minimum number of long blocks to decode in a single call.
- blockCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
The minimum number of long blocks to encode in a single call.
- blockCountByPrefixLen - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Number of blocks at each prefix depth.
- blockFilePointer - Variable in class org.apache.lucene.codecs.BlockTermState
-
fp into the terms dict primary file (_X.tim) that holds this term
- blockSize - Variable in class org.apache.lucene.util.ByteBlockPool.Allocator
-
- BlockTermState - Class in org.apache.lucene.codecs
-
- BlockTermState() - Constructor for class org.apache.lucene.codecs.BlockTermState
-
Sole constructor.
- blockTreeStats - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Holds details of block allocations in the block
tree terms dictionary (this is only set if the
PostingsFormat
for this segment uses block
tree.
- 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, SegmentInfo, PostingsReaderBase, IOContext, String, int) - Constructor for class org.apache.lucene.codecs.BlockTreeTermsReader
-
Sole constructor.
- BlockTreeTermsReader.FieldReader - Class in org.apache.lucene.codecs
-
BlockTree's implementation of
Terms
.
- BlockTreeTermsReader.Stats - Class in org.apache.lucene.codecs
-
- 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.
- BM25Similarity - Class in org.apache.lucene.search.similarities
-
BM25 Similarity.
- BM25Similarity(float, float) - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
-
BM25 with the supplied parameter values.
- 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
-
- BooleanQuery.TooManyClauses() - Constructor for exception org.apache.lucene.search.BooleanQuery.TooManyClauses
-
- boost - Variable in class org.apache.lucene.document.Field
-
Field's boost
- boost() - Method in class org.apache.lucene.document.Field
-
Returns the field's index-time boost.
- boost() - Method in interface org.apache.lucene.index.IndexableField
-
Returns the field's index-time 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
-
- BoostAttributeImpl - Class in org.apache.lucene.search
-
- 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.store.BufferedIndexInput
-
- buffer - Variable in class org.apache.lucene.util.ByteBlockPool
-
Current head buffer
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
Field that stores a per-document byte
value for scoring,
sorting or value retrieval.
- ByteDocValuesField(String, byte) - Constructor for class org.apache.lucene.document.ByteDocValuesField
-
Creates a new DocValues field with the specified 8-bit byte value
- byteOffset - Variable in class org.apache.lucene.util.ByteBlockPool
-
Current head offset
- 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 Writer
s 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
-
Number of bytes to encode each doc value.
- 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
-
- 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() - Constructor for class org.apache.lucene.util.BytesRefHash
-
- BytesRefHash(ByteBlockPool) - Constructor for class org.apache.lucene.util.BytesRefHash
-
- BytesRefHash(ByteBlockPool, int, BytesRefHash.BytesStartArray) - Constructor for class org.apache.lucene.util.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
-
- BytesRefHash.DirectBytesStartArray(int) - Constructor for class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
-
- BytesRefHash.MaxBytesLengthExceededException - Exception in org.apache.lucene.util
-
- BytesRefHash.TrackingDirectBytesStartArray - Class in org.apache.lucene.util
-
- 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
-
Number of bytes allocated in RAM to hold this state.
- bytesUsed() - Method in class org.apache.lucene.util.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
-
Where we are in head buffer
- 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
-
Create a new CachingTokenFilter around
input
,
caching its token attributes, which can be replayed again
after a call to
CachingTokenFilter.reset()
.
- 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
-
If true, we pro-rate a segment's size by the
percentage of non-deleted documents.
- canLoad(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
-
- canLoad(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
Returns true if this field indexed doc values.
- 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.
- canReuse(MultiTermsEnum) - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
Returns
true
if this instance can be reused by
the provided
MultiTermsEnum
.
- canReuse(MultiTermsEnum) - Method in class org.apache.lucene.index.MultiDocsEnum
-
Returns
true
if this instance can be reused by
the provided
MultiTermsEnum
.
- 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
-
The contents of the 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
-
- 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
-
- CharTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Initialize this attribute with empty term text
- 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
-
Holds the CheckAbort instance, which is invoked
periodically to see if the merge has been aborted.
- checkAborted(Directory) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Called periodically by
IndexWriter
while
merging to see if the merge is aborted.
- checkHeader(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
-
- checkHeaderNoMagic(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
-
- 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
-
- checkIndex(List<String>) - Method in class org.apache.lucene.index.CheckIndex
-
- CheckIndex.Status - Class in org.apache.lucene.index
-
- CheckIndex.Status.DocValuesStatus - Class in org.apache.lucene.index
-
Status from testing DocValues
- CheckIndex.Status.FieldNormStatus - Class in org.apache.lucene.index
-
Status from testing field norms.
- CheckIndex.Status.SegmentInfoStatus - Class in org.apache.lucene.index
-
Holds the status of each segment in the index.
- CheckIndex.Status.StoredFieldStatus - Class in org.apache.lucene.index
-
Status from testing stored fields.
- CheckIndex.Status.TermIndexStatus - Class in org.apache.lucene.index
-
Status from testing term index.
- CheckIndex.Status.TermVectorStatus - Class in org.apache.lucene.index
-
Status from testing stored fields.
- 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
-
- checkSnapshotted(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
- ChecksumIndexInput - Class in org.apache.lucene.store
-
Reads bytes through to a primary IndexInput, 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
-
Child Scorer.
- 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.FSDirectory.FSIndexInput
-
maximum read length on a 32bit JVM to prevent incorrect OOM, see LUCENE-1566
- 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.index.SegmentInfos
-
- clear() - Method in class org.apache.lucene.index.TermContext
-
- 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
-
- clear(boolean) - Method in class org.apache.lucene.util.BytesRefHash
-
- 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
-
Sets the bit specified by index
to false.
- 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
-
Removes all of the mappings from this map.
- 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.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.FSDirectory.FSIndexInput
-
- clone() - Method in class org.apache.lucene.store.IndexInput
-
Returns a clone of this stream.
- 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.CharFilter
-
Closes the underlying input stream.
- close() - Method in class org.apache.lucene.analysis.TokenFilter
-
Releases resources associated with this stream.
- close() - Method in class org.apache.lucene.analysis.Tokenizer
-
Releases resources associated with this stream.
- close() - Method in class org.apache.lucene.analysis.TokenStream
-
Releases resources associated with this stream.
- 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.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.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
-
- 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.PerDocConsumer
-
- close() - Method in class org.apache.lucene.codecs.PerDocProducer
-
- 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.StoredFieldsWriter
-
- close() - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
- close() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- close() - Method in class org.apache.lucene.index.DocValues
-
- 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, waits for pending merges
to complete, 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() - 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.FSIndexInput
-
- 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.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.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
-
Closes all given Closeables.
- 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
-
Closes provided Closables.
- 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
-
Closes all given Closeables, suppressing all thrown exceptions.
- 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
-
Closes all given Closeables, suppressing all thrown exceptions.
- Codec - Class in org.apache.lucene.codecs
-
Encodes/decodes an inverted index segment.
- Codec(String) - Constructor for class org.apache.lucene.codecs.Codec
-
Creates a new 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
used to write new segments.
- 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, written in the header.
- CODEC_NAME - Static variable in class org.apache.lucene.codecs.lucene40.values.Ints
-
Codec name, written in the header.
- 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
-
- 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
-
- 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
-
- 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
-
Sole constructor.
- 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
-
- 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
-
- 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
-
- ConcurrentMergeScheduler() - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sole constructor, with all settings set to default
values.
- ConcurrentMergeScheduler.MergeThread - Class in org.apache.lucene.index
-
Runs a merge thread, which may run one or more merges
in sequence.
- ConcurrentMergeScheduler.MergeThread(IndexWriter, MergePolicy.OneMerge) - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
Sole constructor.
- 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
-
- CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.ScoringRewrite
-
- 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
-
- containsKey(Object) - Method in class org.apache.lucene.util.WeakIdentityMap
-
Returns true
if this map contains a mapping for the specified key.
- 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
-
- 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(DataInput, long) - Method in class org.apache.lucene.store.DataOutput
-
Copy numBytes bytes from input to ourself.
- 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(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.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
-
Sole constructor.
- 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
-
Used to name new segments.
- 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
-
- 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
-
- create(Sort, int, FieldDoc, boolean, boolean, boolean, boolean) - Static method in class org.apache.lucene.search.TopFieldCollector
-
- create(int, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
- create(int, ScoreDoc, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
- 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
-
- createComponents(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
- createComponents(String, Reader) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
-
- createNormalizedWeight(Query) - Method in class org.apache.lucene.search.IndexSearcher
-
Creates a normalized weight for a top-level
Query
.
- 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
-
- createSlicer(String, IOContext) - Method in class org.apache.lucene.store.CompoundFileDirectory
-
- createSlicer(String, IOContext) - Method in class org.apache.lucene.store.Directory
-
- 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
-
- 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
-
- 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
- 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.
- decode(long[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.
- decode(byte[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read 8 * iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.
- decode(long[], int, int[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.
- decode(byte[], int, int[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read 8 * iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.
- decodeNormValue(byte) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
- 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 the byte array previously returned by
compress (referenced by the provided BytesRef)
- decompress(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
-
Decompress the byte array previously returned by
compress
- 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
-
Decompress the byte array previously returned by
compressString back into a String
- decompressString(BytesRef) - Static method in class org.apache.lucene.document.CompressionTools
-
Decompress the byte array (referenced by the provided BytesRef)
previously returned by compressString back into a String
- 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(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
AttributeImpl
s 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
-
- DEFAULT_CAPACITY - Static variable in class org.apache.lucene.util.BytesRefHash
-
- DEFAULT_DOUBLE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- DEFAULT_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- DEFAULT_INDEX_INTERVAL_BITS - Static variable in class org.apache.lucene.index.DocTermOrds
-
Every 128th term is indexed, by default.
- DEFAULT_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- DEFAULT_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- 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 chunk size.
- 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_CFS_SEGMENT_SIZE - Static variable in class org.apache.lucene.index.LogMergePolicy
-
Default maxCFSSegmentSize value allows compound file
for a segment of any size.
- 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
-
- 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 termInfosIndexDivisor.
- DEFAULT_TYPE - Static variable in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
the default type
- 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
-
Sole constructor: parameter-free
- defaultTranspositions - Static variable in class org.apache.lucene.search.FuzzyQuery
-
- delCountOnFlush - Variable in class org.apache.lucene.index.SegmentWriteState
-
Number of deleted documents set while flushing the
segment.
- delegate - Variable in class org.apache.lucene.codecs.FilterCodec
-
The codec to filter.
- 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
-
Deletes all given files, suppressing all thrown IOExceptions.
- 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
-
Field that stores
a per-document
BytesRef
value.
- DerefBytesDocValuesField(String, BytesRef) - Constructor for class org.apache.lucene.document.DerefBytesDocValuesField
-
Create a new variable-length indirect DocValues field.
- DerefBytesDocValuesField(String, BytesRef, boolean) - Constructor for class org.apache.lucene.document.DerefBytesDocValuesField
-
Create a new fixed or variable length indirect DocValues field.
- description - Variable in enum org.apache.lucene.util.RamUsageEstimator.JvmFeature
-
- 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
-
Creates DFRSimilarity from the three components.
- 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.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
-
Where this segment resides.
- dir - Variable in class org.apache.lucene.index.SegmentReadState
-
- directory - Variable in class org.apache.lucene.index.DirectoryReader
-
The index directory.
- 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
where this segment will be written
to.
- 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(Directory, AtomicReader[]) - Constructor for class org.apache.lucene.index.DirectoryReader
-
Expert: Constructs a DirectoryReader
on the given subReaders.
- dirOffset - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader
-
File offset where the directory starts in the terms file.
- 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
-
True if overlap tokens (tokens with a position of increment of zero) are
discounted from the document's length.
- discountOverlaps - Variable in class org.apache.lucene.search.similarities.DefaultSimilarity
-
True if overlap tokens (tokens with a position of increment of zero) are
discounted from the document's length.
- discountOverlaps - Variable in class org.apache.lucene.search.similarities.SimilarityBase
-
True if overlap tokens (tokens with a position of increment of zero) are
discounted from the document's length.
- 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
-
Sole constructor.
- 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
-
Sole constructor: parameter-free
- 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
-
Sole constructor: parameter-free
- 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
-
Segment suffix used when writing doc values index files.
- 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
-
New docID base per reader.
- 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
-
how many docs have this term
- docFreq - Variable in class org.apache.lucene.codecs.TermStats
-
How many documents have at least one occurrence of
this term.
- docFreq(Term) - Method in class org.apache.lucene.index.AtomicReader
-
- docFreq(Term) - 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() - Method in class org.apache.lucene.index.MultiTermsEnum
-
- docFreq() - Method in class org.apache.lucene.index.TermContext
-
- 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.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
-
- 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
-
Maps docIDs around deletions.
- 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(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
-
- 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(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
-
- 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
-
Sole constructor.
- 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
-
- 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
-
Sole constructor.
- docsEnum - Variable in class org.apache.lucene.index.DocTermOrds
-
Used while uninverting.
- 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
-
- 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
-
Iterates over the ords for a single document.
- docToEntry - Variable in class org.apache.lucene.index.SortedBytesMergeUtils.MergeContext
-
Maps each document to the ordinal for its value.
- 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 n
th
Document
in this index.
- document(int, Set<String>) - Method in class org.apache.lucene.index.IndexReader
-
- 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
-
- 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
-
- docValues() - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
Returns a map, mapping field names to doc values.
- docValues(String) - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
- docValues(String) - Method in class org.apache.lucene.index.AtomicReader
-
- 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
-
Sole constructor.
- 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
-
- DocValues.SortedSource(DocValues.Type, Comparator<BytesRef>) - Constructor for class org.apache.lucene.index.DocValues.SortedSource
-
Sole constructor.
- DocValues.Source - Class in org.apache.lucene.index
-
- DocValues.Source(DocValues.Type) - Constructor for class org.apache.lucene.index.DocValues.Source
-
Sole constructor.
- DocValues.SourceCache - Class in org.apache.lucene.index
-
- DocValues.SourceCache() - Constructor for class org.apache.lucene.index.DocValues.SourceCache
-
Sole constructor.
- DocValues.SourceCache.DirectSourceCache - Class in org.apache.lucene.index
-
- DocValues.SourceCache.DirectSourceCache() - Constructor for class org.apache.lucene.index.DocValues.SourceCache.DirectSourceCache
-
Sole constructor.
- DocValues.Type - Enum in org.apache.lucene.index
-
Type
specifies the
DocValues
type for a
certain field.
- DocValuesArraySource - Class in org.apache.lucene.codecs
-
- docValuesByte(DocValues.Type) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
-
- DocValuesConsumer - Class in org.apache.lucene.codecs
-
- DocValuesConsumer() - Constructor for class org.apache.lucene.codecs.DocValuesConsumer
-
Sole constructor.
- docValuesFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes docvalues
- DocValuesFormat - Class in org.apache.lucene.codecs
-
- DocValuesFormat() - Constructor for class org.apache.lucene.codecs.DocValuesFormat
-
Sole constructor.
- docValuesFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- docValuesFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- docValuesFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- docValuesId(String, int) - Static method in class org.apache.lucene.codecs.PerDocProducerBase
-
Returns the unique segment and field id for any
per-field files this implementation needs to write.
- docValuesStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of DocValues (null if DocValues could not be tested).
- 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
-
Creates DocValuesWriterBase
.
- docValueType() - Method in class org.apache.lucene.document.FieldType
-
DocValues
DocValues.Type
: if non-null then the field's value
will be indexed into docValues.
- docValueType() - Method in interface org.apache.lucene.index.IndexableFieldType
-
DocValues
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
-
- 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
-
Field that stores a per-document double
value for scoring,
sorting or value retrieval.
- DoubleDocValuesField(String, double) - Constructor for class org.apache.lucene.document.DoubleDocValuesField
-
Creates a new DocValues field with the specified 64-bit double value
- doubleField(FieldInfo, double) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- DoubleField - Class in org.apache.lucene.document
-
Field that indexes double
values
for efficient range filtering and sorting.
- DoubleField(String, double, Field.Store) - Constructor for class org.apache.lucene.document.DoubleField
-
- 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
.
- 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
-
- 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 name.
- 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
-
Expert: creates a field with no initial value.
- 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
-
- Field(String, String, Field.Store, Field.Index, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, Reader) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, Reader, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, TokenStream) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, TokenStream, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, byte[]) - Constructor for class org.apache.lucene.document.Field
-
- Field(String, byte[], int, int) - Constructor for class org.apache.lucene.document.Field
-
- field - Variable in class org.apache.lucene.index.DocTermOrds
-
Field we are uninverting.
- field() - Method in class org.apache.lucene.index.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 and how a field 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
-
Placeholder indicating creation of this cache is currently in-progress.
- 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
-
- FieldComparator.DocComparator - Class in org.apache.lucene.search
-
Sorts by ascending docID
- FieldComparator.DoubleComparator - Class in org.apache.lucene.search
-
- FieldComparator.FloatComparator - Class in org.apache.lucene.search
-
- 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
-
- 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
-
- FieldComparator.NumericComparator<T extends Number> - Class in org.apache.lucene.search
-
Base FieldComparator class for numeric types
- 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
-
- 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
-
- 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 Field 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
-
Sole Constructor.
- 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
-
Current field being merged.
- 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
FieldInfo
s (accessible by number or by name).
- FieldInfos(FieldInfo[]) - Constructor for class org.apache.lucene.index.FieldInfos
-
Constructs a new FieldInfos from an array of FieldInfo objects
- 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.Codec
-
Encodes/decodes field infos file
- FieldInfosFormat - Class in org.apache.lucene.codecs
-
- FieldInfosFormat() - Constructor for class org.apache.lucene.codecs.FieldInfosFormat
-
Sole constructor.
- fieldInfosFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- fieldInfosFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- FieldInfosReader - Class in org.apache.lucene.codecs
-
- FieldInfosReader() - Constructor for class org.apache.lucene.codecs.FieldInfosReader
-
Sole constructor.
- FieldInfosWriter - Class in org.apache.lucene.codecs
-
- FieldInfosWriter() - Constructor for class org.apache.lucene.codecs.FieldInfosWriter
-
Sole constructor.
- 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
-
Creates {code FieldInvertState} for the specified
field name.
- FieldInvertState(String, int, int, int, int, float) - Constructor for class org.apache.lucene.index.FieldInvertState
-
Creates {code FieldInvertState} for the specified
field name and values for all fields.
- 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
-
Sole constructor.
- 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 - 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
-
Sole constructor.
- fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
-
- 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
- fieldsData - Variable in class org.apache.lucene.document.Field
-
Field's value
- FieldsProducer - Class in org.apache.lucene.codecs
-
Abstract API that produces terms, doc, freq, prox, offset and
payloads postings.
- FieldsProducer() - Constructor for class org.apache.lucene.codecs.FieldsProducer
-
Sole constructor.
- fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
-
- fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.perfield.PerFieldPostingsFormat
-
- fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.codecs.PostingsFormat
-
Reads a segment.
- 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.StoredFieldsFormat
-
- fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsFormat
-
- fieldsWriter(Directory, SegmentInfo, IOContext) - Method in class org.apache.lucene.codecs.StoredFieldsFormat
-
- fieldType() - Method in class org.apache.lucene.document.Field
-
- FieldType - Class in org.apache.lucene.document
-
Describes the properties of a field.
- FieldType(FieldType) - Constructor for class org.apache.lucene.document.FieldType
-
Create a new mutable FieldType with all of the properties from ref
- FieldType() - Constructor for class org.apache.lucene.document.FieldType
-
Create a new FieldType with default properties.
- fieldType() - Method in interface org.apache.lucene.index.IndexableField
-
- 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
-
- FieldValueFilter(String, boolean) - Constructor for class org.apache.lucene.search.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.FSDirectory.FSIndexInput
-
the underlying RandomAccessFile
- 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
-
- files(SegmentInfoPerCommit, Collection<String>) - Method in class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
-
- files() - Method in class org.apache.lucene.index.SegmentInfo
-
Return all files referenced by this SegmentInfo.
- files() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Returns all files in use by this segment.
- 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
-
- 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
-
- FilterAtomicReader.FilterDocsAndPositionsEnum(DocsAndPositionsEnum) - Constructor for class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
-
Create a new 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
-
Create a new 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
-
Creates a new FilterFields.
- 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
-
Creates a new 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
-
Creates a new FilterTermsEnum
- FilterCodec - Class in org.apache.lucene.codecs
-
A codec that forwards all its method calls to another codec.
- FilterCodec(String, Codec) - Constructor for class org.apache.lucene.codecs.FilterCodec
-
Sole constructor.
- 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
.
- FilterIterator<T> - Class in org.apache.lucene.util
-
An
Iterator
implementation that filters elements with a boolean predicate.
- FilterIterator(Iterator<T>) - Constructor for class org.apache.lucene.util.FilterIterator
-
- 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
-
- 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(FieldInfos, int) - Method in class org.apache.lucene.codecs.StoredFieldsWriter
-
- finish(long, long, int) - Method in class org.apache.lucene.codecs.TermsConsumer
-
Called when we are done adding terms to this field.
- finish(FieldInfos, int) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
- 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.
- 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(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.
- fixIndex(CheckIndex.Status, Codec) - Method in class org.apache.lucene.index.CheckIndex
-
- FLAG_FREQS - Static variable in class org.apache.lucene.index.DocsEnum
-
- FLAG_OFFSETS - Static variable in class org.apache.lucene.index.DocsAndPositionsEnum
-
- FLAG_PAYLOADS - Static variable in class org.apache.lucene.index.DocsAndPositionsEnum
-
- FlagsAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
This attribute can be used to pass different flags down the
Tokenizer
chain,
e.g.
- FlagsAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
- FlagsAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
-
Initialize this attribute with no bits set
- 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
-
Field that stores a per-document float
value for scoring,
sorting or value retrieval.
- FloatDocValuesField(String, float) - Constructor for class org.apache.lucene.document.FloatDocValuesField
-
Creates a new DocValues field with the specified 32-bit float value
- floatField(FieldInfo, float) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- FloatField - Class in org.apache.lucene.document
-
Field that indexes float
values
for efficient range filtering and sorting.
- FloatField(String, float, Field.Store) - Constructor for class org.apache.lucene.document.FloatField
-
- 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.
- 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
-
The number of floor blocks (meta-blocks larger than the
allowed maxItemsPerBlock
) in the terms file.
- floorSubBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
The number of sub-blocks within the floor blocks.
- 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
-
- 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
-
- flushInfo - Variable in class org.apache.lucene.store.IOContext
-
- flushPolicy - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
FlushPolicy
to control when segments are
flushed.
- 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.
- 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
-
- forceMergeDeletes(boolean) - Method in class org.apache.lucene.index.IndexWriter
-
- 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
- forType(DocValues.Type) - Static method in class org.apache.lucene.codecs.DocValuesArraySource
-
- 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.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
-
Base class for Directory implementations that store index
files in the file system.
- FSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.FSDirectory
-
Create a new FSDirectory for the named location (ctor for subclasses).
- FSDirectory.FSIndexInput - Class in org.apache.lucene.store
-
Base class for reading input from a RandomAccessFile
- FSDirectory.FSIndexInput(String, File, IOContext, int) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
-
Create a new FSIndexInput, reading the entire file from path
- FSDirectory.FSIndexInput(String, RandomAccessFile, long, long, int, int) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
-
Create a new FSIndexInput, representing a slice of an existing open file
- 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
-
- 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
-
- 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
-
reuses compiled automata across different segments,
because they are independent of the index
- FuzzyTermsEnum.LevenshteinAutomataAttributeImpl - Class in org.apache.lucene.search
-
Stores compiled automata as a list (indexed by edit distance)
- FuzzyTermsEnum.LevenshteinAutomataAttributeImpl() - Constructor for class org.apache.lucene.search.FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
-
- 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.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
-
Returns the mapped docID corresponding to the provided one.
- 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
-
- get(int) - Method in interface org.apache.lucene.util.Bits
-
Returns the value of the bit with the specified index
.
- 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() - Method in class org.apache.lucene.util.SetOnce
-
- 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
-
Returns the value to which the specified key is mapped.
- 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
-
Returns the first normalization
- 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
-
Returns the b
parameter
- getBasicModel() - Method in class org.apache.lucene.search.similarities.DFRSimilarity
-
Returns the basic model of information content
- 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
-
- 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
-
- 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
-
- 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
-
Returns the c
parameter.
- getC() - Method in class org.apache.lucene.search.similarities.NormalizationH2
-
Returns the c
parameter.
- 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
-
Return
Codec
that wrote this segment.
- 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
-
Returns the comparator used to sort
BytesRef
values.
- getComparator() - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
Returns the comparator used to sort
BytesRef
values.
- 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
-
- 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
-
- 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.
- getContext() - Method in class org.apache.lucene.index.AtomicReader
-
- getContext() - Method in class org.apache.lucene.index.CompositeReader
-
- getContext() - Method in class org.apache.lucene.index.IndexReader
-
- 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
-
Return the current merge, or null if this MergeThread
is done.
- 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.
- getDecoder(PackedInts.Format, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
- getDecodingReader(InputStream, Charset) - Static method in class org.apache.lucene.util.IOUtils
-
- getDecodingReader(File, Charset) - Static method in class org.apache.lucene.util.IOUtils
-
- getDecodingReader(Class<?>, String, Charset) - Static method in class org.apache.lucene.util.IOUtils
-
- getDefault() - Static method in class org.apache.lucene.codecs.Codec
-
- 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
-
Returns the defaultGenLookaheadCount
.
- 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
-
Returns the number of deleted docs in the segment.
- getDelegate() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- getDelGen() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Returns generation number of the live docs file
or -1 if there are no deletes yet.
- 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
-
Returns diagnostics saved into the segment when it was
written.
- getDirectory() - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
-
- getDirectory() - Method in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
-
Returns the
Directory
that files should be
written to.
- getDirectory() - Method in class org.apache.lucene.index.IndexCommit
-
- 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
-
- 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
-
- getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Returns true if overlap tokens are discounted from the document's length.
- getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
Returns true if overlap tokens are discounted from the document's length.
- getDiscountOverlaps() - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Returns true if overlap tokens are discounted from the document's length.
- getDisjuncts() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
- getDistribution() - Method in class org.apache.lucene.search.similarities.IBSimilarity
-
Returns the distribution
- getDoc() - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
- 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
-
Returns number of documents in this segment (deletions
are not taken into account).
- 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.
- 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
-
Retrieve the visited document.
- getDocValuesForMerge(AtomicReader, FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesConsumer
-
- getDocValuesForMerge(AtomicReader, FieldInfo) - Method in class org.apache.lucene.codecs.PerDocConsumer
-
- 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
-
- getDocValuesType(FieldInfo) - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
Returns the doc values type for this field.
- 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.
- getEncoder(PackedInts.Format, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
- getEnd() - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- getEstimatedSize() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
The most recently estimated size of the value, null unless
estimateSize has been called.
- 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
-
- 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
-
- getFieldInfosReader() - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
-
- getFieldInfosWriter() - Method in class org.apache.lucene.codecs.FieldInfosFormat
-
- getFieldInfosWriter() - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
-
- getFieldName() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- getFields(String) - Method in class org.apache.lucene.document.Document
-
- 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
-
Returns this FilteredQuery's filter
- 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
-
- getFloat(int) - Method in class org.apache.lucene.index.DocValues.Source
-
- 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
-
Returns the current floorSegmentMB.
- getForceMergeDeletesPctAllowed() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the current forceMergeDeletesPctAllowed setting.
- getFormat() - Method in class org.apache.lucene.util.packed.PackedInts.Writer
-
The format used to serialize values.
- getFreqPointer() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- 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
-
Returns current generation.
- 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
-
- 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
-
- 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
-
Call this to get the (merged) FieldInfos representing the
set of indexed fields only for a composite reader.
- getIndexOptions() - Method in class org.apache.lucene.index.FieldInfo
-
Returns IndexOptions for the field, or null if the field is not indexed
- getIndexReader() - Method in class org.apache.lucene.search.IndexSearcher
-
- 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
-
Returns infoStream
.
- 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
-
- 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
-
Returns the k1
parameter
- getLambda() - Method in class org.apache.lucene.search.similarities.IBSimilarity
-
Returns the distribution's lambda parameter
- 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
-
Returns last succesfully read or written generation.
- 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.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
-
Returns a single
Bits
instance for this
reader, merging live Documents on the
fly.
- 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
-
Returns sub-reader slices positioned to the current term.
- getMatchCount() - Method in class org.apache.lucene.index.MultiTermsEnum
-
Returns how many sub-reader slices contain the current
term.
- 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.
- getMaxCFSSegmentSizeMB() - Method in class org.apache.lucene.index.LogMergePolicy
-
Returns the largest size allowed for a compound file segment
- getMaxCFSSegmentSizeMB() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the largest size allowed for a compound file segment
- 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
-
Returns the current maxMergeAtOnce setting.
- getMaxMergeAtOnceExplicit() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the current maxMergeAtOnceExplicit setting.
- 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
-
Returns the current maxMergedSegmentMB setting.
- 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
-
Returns maxThreadCount
.
- 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
-
Returns number of documents merged.
- 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
-
Returns the parameter μ
- 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
-
Returns this posting format's name
- 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 interface org.apache.lucene.util.NamedSPILoader.NamedSPI
-
- getNextDelGen() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Returns the next available generation number
of the live docs file.
- 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
-
Returns current noCFSRatio
.
- getNoCFSRatio() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the current noCFSRatio setting.
- 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
-
Returns the second normalization
- getNormalization() - Method in class org.apache.lucene.search.similarities.IBSimilarity
-
Returns the term frequency normalization
- 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
-
How many sub-readers we are merging.
- getNumSubs() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
-
How many sub-readers we are merging.
- getNumSubs() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
How many sub-readers we are merging.
- getNumSubs() - Method in class org.apache.lucene.index.MultiDocsEnum
-
How many sub-readers we are merging.
- 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
-
- getOffsetGap(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
-
- getOffsetLength() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- 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
-
Returns true if this merge is paused.
- 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
-
- getPayload() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
- 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
-
- 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
-
- 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
-
- getPositionLength() - Method in class org.apache.lucene.analysis.Token
-
Returns the position length of this Token.
- 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
-
- 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.
- 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
-
Returns the postings format that should be used for writing
new segments of field
.
- 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
- getProxPointer() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- 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
-
Returns this FilteredQuery's (unfiltered) Query
- 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
-
- getRAMBufferSizeMB() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
- getRAMPerThreadHardLimitMB() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getRAMPerThreadHardLimitMB() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Returns the max amount of memory each DocumentsWriterPerThread
can
consume until forcefully flushed.
- getRawValue() - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
- getRawValue() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- getReadChunkSize() - Method in class org.apache.lucene.store.FSDirectory
-
- getReader(DataInput) - Static method in class org.apache.lucene.util.packed.PackedInts
-
- getReaderIterator(DataInput, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
- getReaderIteratorNoHeader(DataInput, PackedInts.Format, int, int, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
- getReaderKey() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- getReaderNoHeader(DataInput, PackedInts.Format, int, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
Expert: Restore a
PackedInts.Reader
from a stream without reading metadata at
the beginning of the stream.
- getReaderPooling() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getReaderPooling() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
- getReaderTermsIndexDivisor() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getReaderTermsIndexDivisor() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Returns the termInfosIndexDivisor
.
- getReclaimDeletesWeight() - Method in class org.apache.lucene.index.TieredMergePolicy
-
- getRefCount() - Method in class org.apache.lucene.index.IndexReader
-
Expert: returns the current refCount for this reader
- getResolution() - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Return the timer resolution.
- getReusableComponents(String) - Method in class org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy
-
- getReusableComponents(String) - Method in class org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy
-
- getReusableComponents(String) - Method in class org.apache.lucene.analysis.Analyzer.ReuseStrategy
-
Gets the reusable TokenStreamComponents for the field with the given name
- getReverse() - Method in class org.apache.lucene.search.SortField
-
Returns whether the sort should be reversed.
- getReverseMul() - Method in class org.apache.lucene.search.FieldValueHitQueue
-
- getRewriteMethod() - Method in class org.apache.lucene.search.MultiTermQuery
-
- getRewriteMethod() - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
Expert: returns the rewriteMethod
- getRunningMerge() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
Return the currently running merge.
- getScaleFactor() - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- getSecondaryDir() - Method in class org.apache.lucene.store.FileSwitchDirectory
-
Return the secondary directory
- getSecondState() - Method in class org.apache.lucene.util.automaton.StatePair
-
Returns second component of this pair.
- getSegmentCount() - Method in class org.apache.lucene.index.IndexCommit
-
Returns number of segments referenced by this commit.
- getSegmentCount() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- getSegmentInfoReader() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
Deprecated.
- getSegmentInfoReader() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat
-
- getSegmentInfoReader() - Method in class org.apache.lucene.codecs.SegmentInfoFormat
-
- getSegmentInfoWriter() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
Deprecated.
- getSegmentInfoWriter() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat
-
- getSegmentInfoWriter() - Method in class org.apache.lucene.codecs.SegmentInfoFormat
-
- getSegmentName() - Method in class org.apache.lucene.index.SegmentReader
-
Return the name of the segment this reader is reading.
- getSegmentsFileName() - Method in class org.apache.lucene.index.IndexCommit
-
Get the segments file (segments_N
) associated
with this commit point.
- getSegmentsFileName() - Method in class org.apache.lucene.index.SegmentInfos
-
Get the segments_N filename in use by this segment infos.
- getSegmentsFileName() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- getSegmentsPerTier() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the current segmentsPerTier setting.
- getSentinelObject() - Method in class org.apache.lucene.util.PriorityQueue
-
This method can be overridden by extending classes to return a sentinel
object which will be used by the
PriorityQueue.PriorityQueue(int,boolean)
constructor to fill the queue, so that the code which uses that queue can always
assume it's full and only change the top without attempting to insert any new
object.
Those sentinel values should always compare worse than any non-sentinel
value (i.e.,
PriorityQueue.lessThan(T, T)
should always favor the
non-sentinel values).
By default, this method returns false, which means the queue will not be
filled with sentinel values.
- getSequentialSubReaders() - Method in class org.apache.lucene.index.BaseCompositeReader
-
- getSequentialSubReaders() - Method in class org.apache.lucene.index.CompositeReader
-
Expert: returns the sequential sub readers that this
reader is logically composed of.
- getShift() - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
Returns current shift value, undefined before first token
- getShift() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- getShorts(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 shorts and returns an array
of size reader.maxDoc()
of the value each document
has in the given field.
- getShorts(AtomicReader, String, FieldCache.ShortParser, 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 shorts and returns an array of
size reader.maxDoc()
of the value each document has in the
given field.
- getShrinkSize(int, int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- getSimilarity() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getSimilarity() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
- getSimilarity() - Method in class org.apache.lucene.search.IndexSearcher
-
- getSingleton() - Method in class org.apache.lucene.util.automaton.Automaton
-
Returns the singleton string for this automaton.
- getSingleton() - Static method in class org.apache.lucene.util.fst.ByteSequenceOutputs
-
- getSingleton() - Static method in class org.apache.lucene.util.fst.CharSequenceOutputs
-
- getSingleton() - Static method in class org.apache.lucene.util.fst.IntSequenceOutputs
-
- getSingleton() - Static method in class org.apache.lucene.util.fst.NoOutputs
-
- getSingleton() - Static method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
Returns the instance of PositiveIntOutputs.
- getSingleton(boolean) - Static method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
Expert: pass doShare=false to disable output sharing.
- getSingleton(boolean) - Static method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
-
- getSize() - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
return the maximum priority queue size
- getSize() - Method in class org.apache.lucene.search.TopTermsRewrite
-
return the maximum priority queue size
- getSize() - Method in class org.apache.lucene.util.automaton.RunAutomaton
-
Returns number of states in automaton.
- getSizeInBytes() - Method in class org.apache.lucene.store.RAMFile
-
- getSlop() - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Sets the phrase slop for this query.
- getSlop() - Method in class org.apache.lucene.search.PhraseQuery
-
Returns the slop.
- getSlop() - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
Return the maximum number of intervening unmatched positions permitted.
- getSlot(int) - Method in class org.apache.lucene.util.SentinelIntSet
-
returns the slot for this key
- getSnapshot(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Get a snapshotted IndexCommit by ID.
- getSnapshots() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
- getSort() - Method in class org.apache.lucene.search.Sort
-
Representation of the sort criteria.
- getSortedTransitions() - Method in class org.apache.lucene.util.automaton.Automaton
-
Returns a sorted array of transitions for each state (and sets state
numbers).
- getSource() - Method in class org.apache.lucene.index.DocValues
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
-
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanQuery
-
Expert: Returns the matches for this query in an index.
- getSpans(AtomicReaderContext, Bits, Map<Term, TermContext>) - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- getSpanScore() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
Returns the SpanScorer score only.
- getSpare() - Method in class org.apache.lucene.index.Norm
-
- getStart() - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- getStoredValue() - Method in class org.apache.lucene.analysis.Analyzer.ReuseStrategy
-
Returns the currently stored value
- getSubs() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
Returns sub-readers we are merging.
- getSubs() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
-
Returns sub-readers we are merging.
- getSubs() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
Returns sub-readers we are merging.
- getSubs() - Method in class org.apache.lucene.index.MultiDocsEnum
-
Returns sub-readers we are merging.
- getSubSpans() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- getSubSpans() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- getSumDocFreq() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
-
- getSumDocFreq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
- getSumDocFreq() - Method in class org.apache.lucene.index.MultiTerms
-
- getSumDocFreq() - Method in class org.apache.lucene.index.Terms
-
Returns the sum of
TermsEnum.docFreq()
for
all terms in this field, or -1 if this measure isn't
stored by the codec.
- getSummary() - Method in class org.apache.lucene.search.ComplexExplanation
-
- getSummary() - Method in class org.apache.lucene.search.Explanation
-
A short one line summary which should contain all high level
information about this Explanation, without the "Details"
- getSumTotalTermFreq() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
-
- getSumTotalTermFreq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
- getSumTotalTermFreq() - Method in class org.apache.lucene.index.MultiTerms
-
- getSumTotalTermFreq() - Method in class org.apache.lucene.index.Terms
-
Returns the sum of
TermsEnum.totalTermFreq()
for
all terms in this field, or -1 if this measure isn't
stored by the codec (or if this fields omits term freq
and positions).
- getSupportedFeatures() - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Return the set of supported JVM features that improve the estimation.
- getTargetLabel() - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
- getTargetLabel() - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
- getTerm(int, BytesRef) - Method in class org.apache.lucene.search.FieldCache.DocTerms
-
The BytesRef argument must not be null; the method
returns the same BytesRef, or an empty (length=0)
BytesRef if the doc did not have this field or was
deleted.
- getTerm(int, BytesRef) - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
-
Convenience method, to lookup the Term for a doc.
- getTerm() - Method in class org.apache.lucene.search.FuzzyQuery
-
Returns the pattern term.
- getTerm() - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
Return the term whose spans are matched.
- getTerm() - Method in class org.apache.lucene.search.TermQuery
-
Returns the term of this query.
- getTerm() - Method in class org.apache.lucene.search.WildcardQuery
-
Returns the pattern term.
- getTermArrays() - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Returns a List of the terms in the multiphrase.
- getTermCount() - Method in class org.apache.lucene.util.fst.Builder
-
- getTermDocsEnum(IndexReader, Bits, String, BytesRef) - Static method in class org.apache.lucene.index.MultiFields
-
Returns
DocsEnum
for the specified field &
term.
- getTermDocsEnum(IndexReader, Bits, String, BytesRef, int) - Static method in class org.apache.lucene.index.MultiFields
-
Returns
DocsEnum
for the specified field &
term, with control over whether freqs are required.
- getTermIndexInterval() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getTermIndexInterval() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Returns the interval between indexed terms.
- getTermInfosIndexDivisor() - Method in class org.apache.lucene.index.SegmentReader
-
- getTermPositionsEnum(IndexReader, Bits, String, BytesRef) - Static method in class org.apache.lucene.index.MultiFields
-
- getTermPositionsEnum(IndexReader, Bits, String, BytesRef, int) - Static method in class org.apache.lucene.index.MultiFields
-
Returns
DocsAndPositionsEnum
for the specified
field & term, with control over whether offsets and payloads are
required.
- getTerms(IndexReader, String) - Static method in class org.apache.lucene.index.MultiFields
-
This method may return null if the field does not exist.
- getTerms(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
FieldCache.DocTerms
instance, providing a
method to retrieve the term (as a BytesRef) per document.
- getTerms(AtomicReader, String, float) - Method in interface org.apache.lucene.search.FieldCache
-
- getTerms() - Method in class org.apache.lucene.search.PhraseQuery
-
Returns the set of terms in this phrase.
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.AutomatonQuery
-
- getTermsEnum() - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
-
Returns a TermsEnum that can iterate over the values in this index entry
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.FuzzyQuery
-
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.MultiTermQuery
-
Construct the enumeration to be used, expanding the
pattern term.
- getTermsEnum(Terms) - Method in class org.apache.lucene.search.MultiTermQuery
-
Convenience method, if no attributes are needed:
This simply passes empty attributes and is equal to:
getTermsEnum(terms, new AttributeSource())
- getTermsEnum(MultiTermQuery, Terms, AttributeSource) - Method in class org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.NumericRangeQuery
-
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.PrefixQuery
-
- getTermsEnum(Terms, AttributeSource) - Method in class org.apache.lucene.search.TermRangeQuery
-
- getTermsEnum(Terms) - Method in class org.apache.lucene.util.automaton.CompiledAutomaton
-
- getTermsIndex(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
FieldCache.DocTerms
instance, providing a
method to retrieve the term (as a BytesRef) per document.
- getTermsIndex(AtomicReader, String, float) - Method in interface org.apache.lucene.search.FieldCache
-
- getTermVector(int, String) - Method in class org.apache.lucene.index.IndexReader
-
Retrieve term vector for this document and field, or
null if term vectors were not indexed.
- getTermVectors(int) - Method in class org.apache.lucene.index.BaseCompositeReader
-
- getTermVectors(int) - Method in class org.apache.lucene.index.FilterAtomicReader
-
- getTermVectors(int) - Method in class org.apache.lucene.index.IndexReader
-
Retrieve term vectors for this document, or null if
term vectors were not indexed.
- getTermVectors(int) - Method in class org.apache.lucene.index.ParallelAtomicReader
-
- getTermVectors(int) - Method in class org.apache.lucene.index.SegmentReader
-
- getTermVectors(int) - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- getTermVectorsReader() - Method in class org.apache.lucene.index.SegmentReader
-
- getTieBreakerMultiplier() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
- getTimeAllowed() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
-
Returns allowed time (milliseconds).
- getTimeElapsed() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
-
Returns elapsed time (milliseconds).
- getTokenizer() - Method in class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
- getTokenStream() - Method in class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
- getTopLevelContext(IndexReaderContext) - Static method in class org.apache.lucene.index.ReaderUtil
-
Walks up the reader tree and return the given context's top level reader
context, or in other words the reader tree's root context.
- getTopLevelQuery() - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
-
- getTopLevelQuery() - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
-
- getTopReaderContext() - Method in class org.apache.lucene.search.IndexSearcher
-
- getTotalBoost() - Method in class org.apache.lucene.search.similarities.BasicStats
-
Returns the total boost.
- getTotalHits() - Method in class org.apache.lucene.search.TopDocsCollector
-
The total number of documents that matched this query.
- getTotalHits() - Method in class org.apache.lucene.search.TotalHitCountCollector
-
Returns how many hits matched the search.
- getTotalTermFreq() - Method in class org.apache.lucene.search.similarities.BasicStats
-
Returns the total number of occurrences of this term across all documents.
- getTotStateCount() - Method in class org.apache.lucene.util.fst.Builder
-
- getTransitions() - Method in class org.apache.lucene.util.automaton.State
-
Returns the set of outgoing transitions.
- getType() - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
- getType() - Method in class org.apache.lucene.index.DocValues
-
- getType() - Method in class org.apache.lucene.index.DocValues.Source
-
- getType() - Method in class org.apache.lucene.search.SortField
-
Returns the type of contents in the field.
- getType() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
-
Type of insane behavior this object represents
- getUniqueTermCount() - Method in class org.apache.lucene.index.FieldInvertState
-
Return the number of unique terms encountered in this field.
- getUniqueTermCount() - Method in class org.apache.lucene.index.Fields
-
Deprecated.
iterate fields and add their size() instead.
this method is only provided as a transition mechanism
to access this statistic for 3.x indexes, which do not
have this statistic per-field.
- getUniqueTermCount() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterFields
-
- getUnsupportedFeatures() - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Return the set of unsupported JVM features that improve the estimation.
- getUpperTerm() - Method in class org.apache.lucene.search.TermRangeFilter
-
Returns the upper value of this range filter
- getUpperTerm() - Method in class org.apache.lucene.search.TermRangeQuery
-
Returns the upper value of this range query
- getUpperVal() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
-
Returns the upper value of this range filter
- getUseCompoundFile() - Method in class org.apache.lucene.index.LogMergePolicy
-
Returns true if newly flushed and newly merge segments
are written in compound file format.
- getUseCompoundFile() - Method in class org.apache.lucene.index.SegmentInfo
-
Returns true if this segment is stored as a compound
file; else, false.
- getUseCompoundFile() - Method in class org.apache.lucene.index.TieredMergePolicy
-
Returns the current useCompoundFile setting.
- getUseIndexValues() - Method in class org.apache.lucene.search.SortField
-
- getUserData() - Method in class org.apache.lucene.index.IndexCommit
-
- getUserData() - Method in class org.apache.lucene.index.SegmentInfos
-
Return userData
saved with this commit.
- getUserData() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- getUseUnmap() - Method in class org.apache.lucene.store.MMapDirectory
-
Returns true
, if the unmap workaround is enabled.
- getUTF16SortedAsUTF8Comparator() - Static method in class org.apache.lucene.util.CharsRef
-
Deprecated.
This comparator is only a transition mechanism
- getUTF8SortedAsUnicodeComparator() - Static method in class org.apache.lucene.util.BytesRef
-
- getUTF8SortedAsUTF16Comparator() - Static method in class org.apache.lucene.util.BytesRef
-
Deprecated.
This comparator is only a transition mechanism
- getValue() - Method in class org.apache.lucene.search.Explanation
-
The value assigned to this explanation node.
- getValue() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- getValueCount() - Method in class org.apache.lucene.index.DocValues.SortedSource
-
Returns the number of unique values in this sorted source
- getValueForNormalization() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- getValueForNormalization() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- getValueForNormalization() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Compute the sub of squared weights of us applied to our subqueries.
- getValueForNormalization() - Method in class org.apache.lucene.search.similarities.BasicStats
-
The square of the raw normalization value.
- getValueForNormalization() - Method in class org.apache.lucene.search.similarities.Similarity.SimWeight
-
The value for normalization of contained query clauses (e.g.
- getValueForNormalization() - Method in class org.apache.lucene.search.spans.SpanWeight
-
- getValueForNormalization() - Method in class org.apache.lucene.search.Weight
-
The value for normalization of contained query clauses (e.g.
- getValues(Directory, String, Bytes.Mode, boolean, int, Comparator<BytesRef>, IOContext) - Static method in class org.apache.lucene.codecs.lucene40.values.Bytes
-
Creates a new
DocValues
instance that provides either memory
resident or iterative access to a per-document stored
byte[]
value.
- getValues(Directory, String, int, IOContext, DocValues.Type) - Static method in class org.apache.lucene.codecs.lucene40.values.Floats
-
Creates and returns a
DocValues
to
read previously written float values.
- getValues(Directory, String, int, DocValues.Type, IOContext) - Static method in class org.apache.lucene.codecs.lucene40.values.Ints
-
Creates and returns a
DocValues
to
read previously written int values.
- getValues(String) - Method in class org.apache.lucene.document.Document
-
Returns an array of values of the field specified as the method parameter.
- getValueSize() - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
Returns value size in bits (32 for float
, int
; 64 for double
, long
)
- getValueSize() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- getValueSize() - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Returns the value size this consumer accepts or -1 iff this
consumer is value size agnostic ie.
- getValueSize() - Method in class org.apache.lucene.index.DocValues
-
Returns the size per value in bytes or -1
iff size per value
is variable.
- getVersion() - Method in class org.apache.lucene.index.DirectoryReader
-
Version number when this IndexReader was opened.
- getVersion() - Method in class org.apache.lucene.index.SegmentInfo
-
Returns the version of the code which wrote the segment.
- getVersion() - Method in class org.apache.lucene.index.SegmentInfos
-
version number when this SegmentInfos was generated.
- getVersionComparator() - Static method in class org.apache.lucene.util.StringHelper
-
- getWeight() - Method in class org.apache.lucene.search.Scorer
-
returns parent Weight
- getWrappedAnalyzer(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
-
Retrieves the wrapped Analyzer appropriate for analyzing the field with
the given name
- getWriteLockTimeout() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- getWriteLockTimeout() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Returns allowed timeout when acquiring the write lock.
- getWriter(Directory, String, Bytes.Mode, boolean, Comparator<BytesRef>, Counter, IOContext, float) - Static method in class org.apache.lucene.codecs.lucene40.values.Bytes
-
Creates a new byte[] Writer
instances for the given
directory.
- getWriter(Directory, String, Counter, IOContext, DocValues.Type) - Static method in class org.apache.lucene.codecs.lucene40.values.Floats
-
- getWriter(Directory, String, Counter, DocValues.Type, IOContext) - Static method in class org.apache.lucene.codecs.lucene40.values.Ints
-
- getWriter(DataOutput, int, int, float) - Static method in class org.apache.lucene.util.packed.PackedInts
-
Create a packed integer array writer for the given output, format, value
count, and number of bits per value.
- getWriterNoHeader(DataOutput, PackedInts.Format, int, int, int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
Expert: Create a packed integer array writer for the given output, format,
value count, and number of bits per value.
- getZ() - Method in class org.apache.lucene.search.similarities.NormalizationZ
-
Returns the parameter z
- grow(short[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(short[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(float[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(float[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(double[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(double[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(int[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(int[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(long[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(long[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(byte[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(boolean[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(boolean[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(char[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(char[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(int[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(int[][]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(float[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(float[][]) - Static method in class org.apache.lucene.util.ArrayUtil
-
- grow(int) - Method in class org.apache.lucene.util.BytesRef
-
Used to grow the reference array.
- grow() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
-
- grow() - Method in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
-
- grow() - Method in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
-
- grow(int) - Method in class org.apache.lucene.util.CharsRef
-
Used to grow the reference array.
- grow() - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
- grow() - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
- grow(int) - Method in class org.apache.lucene.util.IntsRef
-
Used to grow the reference array.
- grow(int) - Method in class org.apache.lucene.util.LongsRef
-
Used to grow the reference array.
- GrowableWriter - Class in org.apache.lucene.util.packed
-
Implements
PackedInts.Mutable
, but grows the
bit count of the underlying packed ints on-demand.
- GrowableWriter(int, int, float) - Constructor for class org.apache.lucene.util.packed.GrowableWriter
-
- IBSimilarity - Class in org.apache.lucene.search.similarities
-
Provides a framework for the family of information-based models, as described
in Stéphane Clinchant and Eric Gaussier.
- IBSimilarity(Distribution, Lambda, Normalization) - Constructor for class org.apache.lucene.search.similarities.IBSimilarity
-
Creates IBSimilarity from the three components.
- id - Variable in enum org.apache.lucene.util.packed.PackedInts.Format
-
- idf(long, long) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Implemented as log(1 + (numDocs - docFreq + 0.5)/(docFreq + 0.5))
.
- idf(long, long) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
Implemented as log(numDocs/(docFreq+1)) + 1
.
- idf(long, long) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes a score factor based on a term's document frequency (the number
of documents which contain the term).
- idfExplain(CollectionStatistics, TermStatistics) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Computes a score factor for a simple term and returns an explanation
for that score factor.
- idfExplain(CollectionStatistics, TermStatistics[]) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Computes a score factor for a phrase.
- idfExplain(CollectionStatistics, TermStatistics) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes a score factor for a simple term and returns an explanation
for that score factor.
- idfExplain(CollectionStatistics, TermStatistics[]) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes a score factor for a phrase.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
-
The underlying DocsAndPositionsEnum instance.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
-
The underlying DocsEnum instance.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader.FilterFields
-
The underlying Fields instance.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
The underlying Terms instance.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
The underlying TermsEnum instance.
- in - Variable in class org.apache.lucene.index.FilterAtomicReader
-
The underlying AtomicReader.
- includesLower() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
-
Returns true
if the lower endpoint is inclusive
- includesLower() - Method in class org.apache.lucene.search.TermRangeFilter
-
Returns true
if the lower endpoint is inclusive
- includesLower() - Method in class org.apache.lucene.search.TermRangeQuery
-
Returns true
if the lower endpoint is inclusive
- includesMax() - Method in class org.apache.lucene.search.NumericRangeFilter
-
Returns true
if the upper endpoint is inclusive
- includesMax() - Method in class org.apache.lucene.search.NumericRangeQuery
-
Returns true
if the upper endpoint is inclusive
- includesMin() - Method in class org.apache.lucene.search.NumericRangeFilter
-
Returns true
if the lower endpoint is inclusive
- includesMin() - Method in class org.apache.lucene.search.NumericRangeQuery
-
Returns true
if the lower endpoint is inclusive
- includesUpper() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
-
Returns true
if the upper endpoint is inclusive
- includesUpper() - Method in class org.apache.lucene.search.TermRangeFilter
-
Returns true
if the upper endpoint is inclusive
- includesUpper() - Method in class org.apache.lucene.search.TermRangeQuery
-
Returns true
if the upper endpoint is inclusive
- incRef() - Method in class org.apache.lucene.index.IndexReader
-
Expert: increments the refCount of this IndexReader
instance.
- incrementToken() - Method in class org.apache.lucene.analysis.CachingTokenFilter
-
- incrementToken() - Method in class org.apache.lucene.analysis.NumericTokenStream
-
- incrementToken() - Method in class org.apache.lucene.analysis.TokenStream
-
Consumers (i.e.,
IndexWriter
) use this method to advance the stream to
the next token.
- incShift() - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
Don't call this method!
- incShift() - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- index - Variable in class org.apache.lucene.index.DocTermOrds
-
Holds the per-document ords or a pointer to the ords.
- INDEX_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
-
Filename extension for index files
- INDEX_EXTENSIONS - Static variable in class org.apache.lucene.index.IndexFileNames
-
This array contains all filename extensions used by
Lucene's index files, with one exception, namely the
extension made up from .s
+ a number.
- IndexableBinaryStringTools - Class in org.apache.lucene.util
-
- IndexableField - Interface in org.apache.lucene.index
-
Represents a single field for indexing.
- IndexableFieldType - Interface in org.apache.lucene.index
-
Describes the properties of a field.
- indexArcCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
How many arcs in the index FST.
- IndexCommit - Class in org.apache.lucene.index
-
- IndexCommit() - Constructor for class org.apache.lucene.index.IndexCommit
-
Sole constructor.
- IndexDeletionPolicy - Interface in org.apache.lucene.index
-
- indexDirOffset - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader
-
File offset where the directory starts in the index file.
- indexed() - Method in class org.apache.lucene.document.FieldType
-
True if this field should be indexed (inverted)
- indexed() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field should be indexed (inverted)
- indexedTermsArray - Variable in class org.apache.lucene.index.DocTermOrds
-
Holds the indexed (by default every 128th) terms.
- indexerThreadPool - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
DocumentsWriterPerThreadPool
to control how
threads are allocated to DocumentsWriterPerThread
.
- indexExists(Directory) - Static method in class org.apache.lucene.index.DirectoryReader
-
Returns true
if an index exists at the specified directory.
- IndexFileNames - Class in org.apache.lucene.index
-
This class contains useful constants representing filenames and extensions
used by lucene, as well as convenience methods for querying whether a file
name matches an extension (
matchesExtension
), as well as generating file names from a segment name,
generation and extension (
fileNameFromGeneration
,
segmentFileName
).
- IndexFormatTooNewException - Exception in org.apache.lucene.index
-
This exception is thrown when Lucene detects
an index that is newer than this Lucene version.
- IndexFormatTooNewException(String, int, int, int) - Constructor for exception org.apache.lucene.index.IndexFormatTooNewException
-
Creates an IndexFormatTooNewException
- IndexFormatTooNewException(DataInput, int, int, int) - Constructor for exception org.apache.lucene.index.IndexFormatTooNewException
-
Creates an IndexFormatTooNewException
- IndexFormatTooOldException - Exception in org.apache.lucene.index
-
This exception is thrown when Lucene detects
an index that is too old for this Lucene version
- IndexFormatTooOldException(String, String) - Constructor for exception org.apache.lucene.index.IndexFormatTooOldException
-
Creates an IndexFormatTooOldException
.
- IndexFormatTooOldException(DataInput, String) - Constructor for exception org.apache.lucene.index.IndexFormatTooOldException
-
Creates an IndexFormatTooOldException
.
- IndexFormatTooOldException(String, int, int, int) - Constructor for exception org.apache.lucene.index.IndexFormatTooOldException
-
Creates an IndexFormatTooOldException
.
- IndexFormatTooOldException(DataInput, int, int, int) - Constructor for exception org.apache.lucene.index.IndexFormatTooOldException
-
Creates an IndexFormatTooOldException
.
- indexingChain - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
DocumentsWriterPerThread.IndexingChain
that determines how documents are
indexed.
- IndexInput - Class in org.apache.lucene.store
-
Abstract base class for input from a file in a
Directory
.
- IndexInput(String) - Constructor for class org.apache.lucene.store.IndexInput
-
resourceDescription should be a non-null, opaque string
describing this resource; it's returned from
IndexInput.toString()
.
- indexNodeCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
How many nodes in the index FST.
- IndexNotFoundException - Exception in org.apache.lucene.index
-
Signals that no index was found in the Directory.
- IndexNotFoundException(String) - Constructor for exception org.apache.lucene.index.IndexNotFoundException
-
Creates IndexFileNotFoundException with the
description message.
- indexNumBytes - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Byte size of the index.
- indexOptions() - Method in class org.apache.lucene.document.FieldType
-
- indexOptions() - Method in interface org.apache.lucene.index.IndexableFieldType
-
- INDEXORDER - Static variable in class org.apache.lucene.search.Sort
-
Represents sorting by index order.
- IndexOutput - Class in org.apache.lucene.store
-
Abstract base class for output to a file in a Directory.
- IndexOutput() - Constructor for class org.apache.lucene.store.IndexOutput
-
- IndexReader - Class in org.apache.lucene.index
-
IndexReader is an abstract class, providing an interface for accessing an
index.
- IndexReader.ReaderClosedListener - Interface in org.apache.lucene.index
-
A custom listener that's invoked when the IndexReader
is closed.
- IndexReaderContext - Class in org.apache.lucene.index
-
A struct like class that represents a hierarchical relationship between
IndexReader
instances.
- IndexSearcher - Class in org.apache.lucene.search
-
Implements search over a single IndexReader.
- IndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.IndexSearcher
-
Creates a searcher searching the provided index.
- IndexSearcher(IndexReader, ExecutorService) - Constructor for class org.apache.lucene.search.IndexSearcher
-
Runs searches for each segment separately, using the
provided ExecutorService.
- IndexSearcher(IndexReaderContext, ExecutorService) - Constructor for class org.apache.lucene.search.IndexSearcher
-
- IndexSearcher(IndexReaderContext) - Constructor for class org.apache.lucene.search.IndexSearcher
-
- IndexSearcher.LeafSlice - Class in org.apache.lucene.search
-
A class holding a subset of the
IndexSearcher
s leaf contexts to be
executed within a single thread.
- IndexSearcher.LeafSlice(AtomicReaderContext...) - Constructor for class org.apache.lucene.search.IndexSearcher.LeafSlice
-
- IndexUpgrader - Class in org.apache.lucene.index
-
This is an easy-to-use tool that upgrades all segments of an index from previous Lucene versions
to the current segment file format.
- IndexUpgrader(Directory, Version) - Constructor for class org.apache.lucene.index.IndexUpgrader
-
Creates index upgrader on the given directory, using an
IndexWriter
using the given
matchVersion
.
- IndexUpgrader(Directory, Version, PrintStream, boolean) - Constructor for class org.apache.lucene.index.IndexUpgrader
-
Creates index upgrader on the given directory, using an
IndexWriter
using the given
matchVersion
.
- IndexUpgrader(Directory, IndexWriterConfig, boolean) - Constructor for class org.apache.lucene.index.IndexUpgrader
-
Creates index upgrader on the given directory, using an
IndexWriter
using the given
config.
- IndexWriter - Class in org.apache.lucene.index
-
An IndexWriter
creates and maintains an index.
- IndexWriter(Directory, IndexWriterConfig) - Constructor for class org.apache.lucene.index.IndexWriter
-
Constructs a new IndexWriter per the settings given in conf
.
- IndexWriter.IndexReaderWarmer - Class in org.apache.lucene.index
-
If
DirectoryReader.open(IndexWriter,boolean)
has
been called (ie, this writer is in near real-time
mode), then after a merge completes, this class can be
invoked to warm the reader on the newly merged
segment, before the merge commits.
- IndexWriter.IndexReaderWarmer() - Constructor for class org.apache.lucene.index.IndexWriter.IndexReaderWarmer
-
Sole constructor.
- IndexWriterConfig - Class in org.apache.lucene.index
-
Holds all the configuration that is used to create an
IndexWriter
.
- IndexWriterConfig(Version, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriterConfig
-
Creates a new config that with defaults that match the specified
Version
as well as the default
Analyzer
.
- IndexWriterConfig.OpenMode - Enum in org.apache.lucene.index
-
- info - Variable in class org.apache.lucene.index.SegmentInfoPerCommit
-
- info(int) - Method in class org.apache.lucene.index.SegmentInfos
-
- infoStream - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
- infoStream - Variable in class org.apache.lucene.index.MergeState
-
InfoStream for debugging messages.
- infoStream - Variable in class org.apache.lucene.index.PerDocWriteState
-
InfoStream used for debugging.
- infoStream - Variable in class org.apache.lucene.index.SegmentWriteState
-
- InfoStream - Class in org.apache.lucene.util
-
- InfoStream() - Constructor for class org.apache.lucene.util.InfoStream
-
- init(long, int, int, int) - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
Don't call this method!
- init(long, int, int, int) - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- init(IndexInput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
-
- init(long, long, long, int, boolean, boolean) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
Per-term initialization.
- init(long, int) - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Initializes the reader, for reuse on a new term.
- init() - Method in class org.apache.lucene.codecs.MultiLevelSkipListWriter
-
Allocates internal skip buffers.
- init(IndexInput) - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
Performs any initialization, such as reading and
verifying the header from the provided terms
dictionary
IndexInput
.
- init(DocValues.Type, DocValues[], Comparator<BytesRef>, int) - Static method in class org.apache.lucene.index.SortedBytesMergeUtils
-
- init() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
-
Initializes the BytesStartArray.
- init() - Method in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
-
- init() - Method in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
-
- initialValue() - Method in class org.apache.lucene.util.CloseableThreadLocal
-
- initReader(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
Override this if you want to add a CharFilter chain.
- initReader(String, Reader) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
-
- initSize - Variable in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
-
- initSize - Variable in class org.apache.lucene.util.BytesRefHash.TrackingDirectBytesStartArray
-
- inOrder - Variable in class org.apache.lucene.search.spans.SpanNearQuery
-
- inPlaceAnd(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
-
Perform an inplace AND with the doc ids from a given DocIdSetIterator,
leaving only the bits set for which the doc ids are in common.
- inPlaceNot(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
-
Perform an inplace NOT with the doc ids from a given DocIdSetIterator,
clearing all the bits for each such doc id.
- inPlaceOr(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
-
Perform an inplace OR with the doc ids from a given DocIdSetIterator,
setting the bit for each such doc id.
- inPlaceXor(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
-
Perform an inplace XOR with the doc ids from a given DocIdSetIterator,
flipping all the bits for each such doc id.
- input - Variable in class org.apache.lucene.analysis.CharFilter
-
The underlying character-input stream.
- input - Variable in class org.apache.lucene.analysis.TokenFilter
-
The source of tokens for this filter.
- input - Variable in class org.apache.lucene.analysis.Tokenizer
-
The text source for this Tokenizer.
- input - Variable in class org.apache.lucene.util.fst.BytesRefFSTEnum.InputOutput
-
- input - Variable in class org.apache.lucene.util.fst.IntsRefFSTEnum.InputOutput
-
- input - Variable in class org.apache.lucene.util.fst.Util.MinResult
-
- inputCount - Variable in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- InputStreamDataInput - Class in org.apache.lucene.store
-
- InputStreamDataInput(InputStream) - Constructor for class org.apache.lucene.store.InputStreamDataInput
-
- inputType - Variable in class org.apache.lucene.util.fst.FST
-
- insertionSort(T[], int, int, Comparator<? super T>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- insertionSort(T[], Comparator<? super T>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- insertionSort(T[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Sorts the given array slice in natural order.
- insertionSort(T[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Sorts the given array in natural order.
- insertionSort(List<T>, Comparator<? super T>) - Static method in class org.apache.lucene.util.CollectionUtil
-
- insertionSort(List<T>) - Static method in class org.apache.lucene.util.CollectionUtil
-
Sorts the given random access
List
in natural order.
- insertionSort(int, int) - Method in class org.apache.lucene.util.SorterTemplate
-
Sorts via stable in-place InsertionSort algorithm
(ideal for small collections which are mostly presorted).
- insertWithOverflow(T) - Method in class org.apache.lucene.util.PriorityQueue
-
Adds an Object to a PriorityQueue in log(size) time.
- INSTANCE - Static variable in class org.apache.lucene.index.NoDeletionPolicy
-
The single instance of this class.
- INSTANCE - Static variable in class org.apache.lucene.index.NoMergeScheduler
-
- IntDocValuesField - Class in org.apache.lucene.document
-
Field that stores a per-document int
value for scoring,
sorting or value retrieval.
- IntDocValuesField(String, int) - Constructor for class org.apache.lucene.document.IntDocValuesField
-
Creates a new DocValues field with the specified 32-bit integer value
- intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
-
- intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
- intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.index.MultiTerms
-
- intersect(CompiledAutomaton, BytesRef) - Method in class org.apache.lucene.index.Terms
-
Returns a TermsEnum that iterates over all terms that
are accepted by the provided
CompiledAutomaton
.
- intersect(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
-
this = this AND other
- intersection(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton
-
- intersection(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns an automaton that accepts the intersection of the languages of the
given automata.
- INTERSECTION - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables intersection (&).
- intersectionCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
-
Returns the popcount or cardinality of the intersection of the two sets.
- intersects(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
-
returns true if the sets have any elements in common
- INTERVAL - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables numerical intervals (
<n-m>).
- intField(FieldInfo, int) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- IntField - Class in org.apache.lucene.document
-
Field that indexes int
values
for efficient range filtering and sorting.
- IntField(String, int, Field.Store) - Constructor for class org.apache.lucene.document.IntField
-
- IntField(String, int, FieldType) - Constructor for class org.apache.lucene.document.IntField
-
Expert: allows you to customize the
FieldType
.
- intField(FieldInfo, int) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Process a int numeric field.
- Ints - Class in org.apache.lucene.codecs.lucene40.values
-
Stores ints packed and fixed with fixed-bit precision.
- ints - Variable in class org.apache.lucene.util.IntsRef
-
The contents of the IntsRef.
- intsEquals(IntsRef) - Method in class org.apache.lucene.util.IntsRef
-
- IntSequenceOutputs - Class in org.apache.lucene.util.fst
-
An FST
Outputs
implementation where each output
is a sequence of ints.
- IntsRef - Class in org.apache.lucene.util
-
Represents int[], as a slice (offset + length) into an
existing int[].
- IntsRef() - Constructor for class org.apache.lucene.util.IntsRef
-
- IntsRef(int) - Constructor for class org.apache.lucene.util.IntsRef
-
Create a IntsRef pointing to a new array of size capacity
.
- IntsRef(int[], int, int) - Constructor for class org.apache.lucene.util.IntsRef
-
This instance will directly reference ints w/o making a copy.
- IntsRefFSTEnum<T> - Class in org.apache.lucene.util.fst
-
Enumerates all input (IntsRef) + output pairs in an
FST.
- IntsRefFSTEnum(FST<T>) - Constructor for class org.apache.lucene.util.fst.IntsRefFSTEnum
-
doFloor controls the behavior of advance: if it's true
doFloor is true, advance positions to the biggest
term before target.
- IntsRefFSTEnum.InputOutput<T> - Class in org.apache.lucene.util.fst
-
Holds a single input (IntsRef) + output pair.
- IntsRefFSTEnum.InputOutput() - Constructor for class org.apache.lucene.util.fst.IntsRefFSTEnum.InputOutput
-
- intToPrefixCoded(int, int, BytesRef) - Static method in class org.apache.lucene.util.NumericUtils
-
Returns prefix coded bits after reducing the precision by shift
bits.
- invalidate(DocValues) - Method in class org.apache.lucene.index.DocValues.SourceCache.DirectSourceCache
-
- invalidate(DocValues) - Method in class org.apache.lucene.index.DocValues.SourceCache
-
Atomically invalidates the cached
DocValues.Source
instances if any and empties the cache.
- IOContext - Class in org.apache.lucene.store
-
IOContext holds additional details on the merge/search context.
- IOContext() - Constructor for class org.apache.lucene.store.IOContext
-
- IOContext(FlushInfo) - Constructor for class org.apache.lucene.store.IOContext
-
- IOContext(IOContext.Context) - Constructor for class org.apache.lucene.store.IOContext
-
- IOContext(MergeInfo) - Constructor for class org.apache.lucene.store.IOContext
-
- IOContext(IOContext, boolean) - Constructor for class org.apache.lucene.store.IOContext
-
This constructor is used to initialize a
IOContext
instance with a new value for the readOnce variable.
- IOContext.Context - Enum in org.apache.lucene.store
-
Context is a enumerator which specifies the context in which the Directory
is being used for.
- IOUtils - Class in org.apache.lucene.util
-
This class emulates the new Java 7 "Try-With-Resources" statement.
- isAccept(int) - Method in class org.apache.lucene.util.automaton.RunAutomaton
-
Returns acceptance status for given state.
- isAccept() - Method in class org.apache.lucene.util.automaton.State
-
Returns acceptance status.
- isAnalyzed() - Method in enum org.apache.lucene.document.Field.Index
-
Deprecated.
- isCacheable() - Method in class org.apache.lucene.search.DocIdSet
-
This method is a hint for
CachingWrapperFilter
, if this
DocIdSet
should be cached without copying it into a BitSet.
- isCacheable() - Method in class org.apache.lucene.search.FieldCacheDocIdSet
-
this DocIdSet is always cacheable (does not go back
to the reader for iteration)
- isCacheable() - Method in class org.apache.lucene.search.FilteredDocIdSet
-
This DocIdSet implementation is cacheable if the inner set is cacheable.
- isCacheable() - Method in class org.apache.lucene.util.DocIdBitSet
-
This DocIdSet implementation is cacheable.
- isCacheable() - Method in class org.apache.lucene.util.FixedBitSet
-
This DocIdSet implementation is cacheable.
- isCacheable() - Method in class org.apache.lucene.util.OpenBitSet
-
This DocIdSet implementation is cacheable.
- isCached() - Method in class org.apache.lucene.search.CachingCollector
-
- isCompiled() - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- isCoordDisabled() - Method in class org.apache.lucene.search.BooleanQuery
-
- isCurrent() - Method in class org.apache.lucene.index.DirectoryReader
-
Check whether any new changes have occurred to the
index since this reader was opened.
- isDeleted() - Method in class org.apache.lucene.index.IndexCommit
-
- isDeleted() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- isDeterministic() - Method in class org.apache.lucene.util.automaton.Automaton
-
Returns deterministic flag for this automaton.
- isEmpty() - Method in class org.apache.lucene.index.DocTermOrds
-
Returns true
if no terms were indexed.
- isEmpty(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if the given automaton accepts no strings.
- isEmpty() - Method in class org.apache.lucene.util.OpenBitSet
-
Returns true if there are no set bits
- isEmpty() - Method in class org.apache.lucene.util.WeakIdentityMap
-
Returns true
if this map contains no key-value mappings.
- isEmptyString() - Method in class org.apache.lucene.util.automaton.Automaton
-
- isEmptyString(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if the given automaton accepts the empty string and nothing
else.
- isEnabled(String) - Method in class org.apache.lucene.util.InfoStream
-
- isEnabled(String) - Method in class org.apache.lucene.util.PrintStreamInfoStream
-
- isExternal - Variable in class org.apache.lucene.store.MergeInfo
-
- isFinal - Variable in class org.apache.lucene.util.fst.Builder.Arc
-
- isFinal - Variable in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- isFinal() - Method in class org.apache.lucene.util.fst.FST.Arc
-
- isFinite(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
-
Returns true if the language of this automaton is finite.
- isGreedy() - Method in class org.apache.lucene.search.TimeLimitingCollector
-
Checks if this time limited collector is greedy in collecting the last hit.
- isIndexed() - Method in enum org.apache.lucene.document.Field.Index
-
Deprecated.
- isIndexed() - Method in class org.apache.lucene.index.FieldInfo
-
Returns true if this field is indexed.
- isInOrder() - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
Return true if matches are required to be in-order.
- isKeyword() - Method in interface org.apache.lucene.analysis.tokenattributes.KeywordAttribute
-
Returns true
if the current token is a keyword, otherwise
false
- isKeyword() - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
-
- isLast() - Method in class org.apache.lucene.util.fst.FST.Arc
-
- isLocked(Directory) - Static method in class org.apache.lucene.index.IndexWriter
-
Returns true
iff the index in the named directory is
currently locked.
- isLocked() - Method in class org.apache.lucene.store.Lock
-
Returns true if the resource is currently locked.
- isMatch() - Method in class org.apache.lucene.search.ComplexExplanation
-
Indicates whether or not this Explanation models a good match.
- isMatch() - Method in class org.apache.lucene.search.Explanation
-
Indicates whether or not this Explanation models a good match.
- isMerged(SegmentInfos, int, Map<SegmentInfoPerCommit, Boolean>) - Method in class org.apache.lucene.index.LogMergePolicy
-
Returns true if the number of segments eligible for
merging is less than or equal to the specified maxNumSegments
.
- isMerged(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogMergePolicy
-
Returns true if this single info is already fully merged (has no
pending norms or deletes, is in the same dir as the
writer, and matches the current compound file setting
- isOpen - Variable in class org.apache.lucene.store.Directory
-
- isOverriddenAsOf(Class<? extends C>) - Method in class org.apache.lucene.util.VirtualMethod
-
Returns, if this method is overridden/implemented in the inheritance path between
baseClass
and the given subclass subclazz
.
- isPayloadAvailable() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- isPayloadAvailable() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- isPayloadAvailable() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- isPayloadAvailable() - Method in class org.apache.lucene.search.spans.Spans
-
Checks if a payload can be loaded at this position.
- isPayloadAvailable() - Method in class org.apache.lucene.search.spans.TermSpans
-
- isPowerOfTwo(int) - Static method in class org.apache.lucene.util.BitUtil
-
returns true if v is a power of two or zero
- isPowerOfTwo(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns true if v is a power of two or zero
- isProhibited() - Method in class org.apache.lucene.search.BooleanClause
-
- isRequired() - Method in class org.apache.lucene.search.BooleanClause
-
- isSearcherCurrent() - Method in class org.apache.lucene.search.NRTManager
-
Returns true
if no changes have occured since this searcher
ie.
- isSearcherCurrent() - Method in class org.apache.lucene.search.SearcherManager
-
Returns true
if no changes have occured since this searcher
ie.
- isSnapshotted(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Returns true if the given ID is already used by a snapshot.
- isStored() - Method in enum org.apache.lucene.document.Field.TermVector
-
Deprecated.
- isSupported(int) - Method in enum org.apache.lucene.util.packed.PackedInts.Format
-
Tests whether the provided number of bits per value is supported by the
format.
- isSupportedJVM() - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns true, if the current JVM is fully supported by RamUsageEstimator
.
- isSystemStream() - Method in class org.apache.lucene.util.PrintStreamInfoStream
-
- isTopLevel - Variable in class org.apache.lucene.index.IndexReaderContext
-
true
if this context struct represents the top level reader within the hierarchical context
- isTotal(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if the given automaton accepts all strings.
- iterator(TermsEnum) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
-
- iterator() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
- iterator() - Method in class org.apache.lucene.document.Document
-
- iterator() - Method in class org.apache.lucene.index.FieldInfos
-
Returns an iterator over all the fieldinfo objects present,
ordered by ascending field number
- iterator() - Method in class org.apache.lucene.index.Fields
-
Returns an iterator that will step through all fields
names.
- iterator() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterFields
-
- iterator(TermsEnum) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
- iterator() - Method in class org.apache.lucene.index.MultiFields
-
- iterator(TermsEnum) - Method in class org.apache.lucene.index.MultiTerms
-
- iterator() - Method in class org.apache.lucene.index.SegmentInfos
-
Returns an
unmodifiable Iterator
of contained segments in order.
- iterator(TermsEnum) - Method in class org.apache.lucene.index.Terms
-
Returns an iterator that will step through all
terms.
- iterator() - Method in class org.apache.lucene.search.BooleanQuery
-
Returns an iterator on the clauses in this query.
- iterator() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
- iterator() - Method in class org.apache.lucene.search.DocIdSet
-
- iterator() - Method in class org.apache.lucene.search.FieldCacheDocIdSet
-
- iterator() - Method in class org.apache.lucene.search.FilteredDocIdSet
-
Implementation of the contract to build a DocIdSetIterator.
- iterator() - Method in class org.apache.lucene.util.DocIdBitSet
-
- iterator() - Method in class org.apache.lucene.util.FixedBitSet
-
- iterator() - Method in class org.apache.lucene.util.NamedSPILoader
-
- iterator() - Method in class org.apache.lucene.util.OpenBitSet
-
- label - Variable in class org.apache.lucene.util.fst.Builder.Arc
-
- label - Variable in class org.apache.lucene.util.fst.FST.Arc
-
- lambda - Variable in class org.apache.lucene.search.similarities.IBSimilarity
-
The lambda (λw) parameter.
- Lambda - Class in org.apache.lucene.search.similarities
-
The lambda (λw) parameter in information-based
models.
- Lambda() - Constructor for class org.apache.lucene.search.similarities.Lambda
-
Sole constructor.
- lambda(BasicStats) - Method in class org.apache.lucene.search.similarities.Lambda
-
Computes the lambda parameter.
- lambda(BasicStats) - Method in class org.apache.lucene.search.similarities.LambdaDF
-
- lambda(BasicStats) - Method in class org.apache.lucene.search.similarities.LambdaTTF
-
- LambdaDF - Class in org.apache.lucene.search.similarities
-
Computes lambda as docFreq+1 / numberOfDocuments+1
.
- LambdaDF() - Constructor for class org.apache.lucene.search.similarities.LambdaDF
-
Sole constructor: parameter-free
- LambdaTTF - Class in org.apache.lucene.search.similarities
-
Computes lambda as totalTermFreq+1 / numberOfDocuments+1
.
- LambdaTTF() - Constructor for class org.apache.lucene.search.similarities.LambdaTTF
-
Sole constructor: parameter-free
- lastCommit - Variable in class org.apache.lucene.index.SnapshotDeletionPolicy
-
- lastDocBase - Variable in class org.apache.lucene.search.CachingCollector
-
- leafContexts - Variable in class org.apache.lucene.search.IndexSearcher
-
- leafSlices - Variable in class org.apache.lucene.search.IndexSearcher
-
used with executor - each slice holds a set of leafs executed within one thread
- leaves() - Method in class org.apache.lucene.index.AtomicReaderContext
-
- leaves() - Method in class org.apache.lucene.index.CompositeReaderContext
-
- leaves() - Method in class org.apache.lucene.index.IndexReader
-
Returns the reader's leaves, or itself if this reader is atomic.
- leaves() - Method in class org.apache.lucene.index.IndexReaderContext
-
Returns the context's leaves if this context is a top-level context.
- length() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- length - Variable in class org.apache.lucene.index.ReaderSlice
-
Number of documents in this slice.
- length() - Method in class org.apache.lucene.store.BufferedIndexOutput
-
The number of bytes in the file.
- length() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- length() - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- length() - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- length() - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- length() - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- length() - Method in class org.apache.lucene.store.IndexInput
-
The number of bytes in the file.
- length() - Method in class org.apache.lucene.store.IndexOutput
-
The number of bytes in the file.
- length() - Method in class org.apache.lucene.store.RAMInputStream
-
- length() - Method in class org.apache.lucene.store.RAMOutputStream
-
- length() - Method in interface org.apache.lucene.util.Bits
-
Returns the number of bits in this set
- length() - Method in class org.apache.lucene.util.Bits.MatchAllBits
-
- length() - Method in class org.apache.lucene.util.Bits.MatchNoBits
-
- length - Variable in class org.apache.lucene.util.BytesRef
-
Length of used bytes.
- length - Variable in class org.apache.lucene.util.CharsRef
-
Length of used characters.
- length() - Method in class org.apache.lucene.util.CharsRef
-
- length() - Method in class org.apache.lucene.util.DocIdBitSet
-
- length() - Method in class org.apache.lucene.util.FixedBitSet
-
- length - Variable in class org.apache.lucene.util.IntsRef
-
Length of used ints.
- length - Variable in class org.apache.lucene.util.LongsRef
-
Length of used longs.
- length() - Method in class org.apache.lucene.util.OpenBitSet
-
- Less(String, BytesRef) - Static method in class org.apache.lucene.search.TermRangeFilter
-
Constructs a filter for field fieldName
matching
less than or equal to upperTerm
.
- lessThan(FieldValueHitQueue.Entry, FieldValueHitQueue.Entry) - Method in class org.apache.lucene.search.FieldValueHitQueue
-
- lessThan(T, T) - Method in class org.apache.lucene.util.PriorityQueue
-
Determines the ordering of objects in this priority queue.
- LEVEL_LOG_SPAN - Static variable in class org.apache.lucene.index.LogMergePolicy
-
Defines the allowed range of log(size) for each
level.
- levelSizeArray - Static variable in class org.apache.lucene.util.ByteBlockPool
-
- LevenshteinAutomata - Class in org.apache.lucene.util.automaton
-
Class to construct DFAs that match a word within some edit distance.
- LevenshteinAutomata(String, boolean) - Constructor for class org.apache.lucene.util.automaton.LevenshteinAutomata
-
Create a new LevenshteinAutomata for some input String.
- LINUX - Static variable in class org.apache.lucene.util.Constants
-
True iff running on Linux.
- listAll() - Method in class org.apache.lucene.store.CompoundFileDirectory
-
Returns an array of strings, one for each file in the directory.
- listAll() - Method in class org.apache.lucene.store.Directory
-
Returns an array of strings, one for each file in the directory.
- listAll() - Method in class org.apache.lucene.store.FileSwitchDirectory
-
- listAll(File) - Static method in class org.apache.lucene.store.FSDirectory
-
Lists all files (not subdirectories) in the
directory.
- listAll() - Method in class org.apache.lucene.store.FSDirectory
-
Lists all files (not subdirectories) in the
directory.
- listAll() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- listAll() - Method in class org.apache.lucene.store.RAMDirectory
-
- listAll() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
-
- listCachedFiles() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- listCommits(Directory) - Static method in class org.apache.lucene.index.DirectoryReader
-
Returns all commit points that exist in the Directory.
- liveDocs - Variable in class org.apache.lucene.index.SegmentWriteState
-
MutableBits
recording live documents; this is
only set if there is one or more deleted documents.
- liveDocsFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes live docs
- liveDocsFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- LiveDocsFormat - Class in org.apache.lucene.codecs
-
Format for live/deleted documents
- LiveDocsFormat() - Constructor for class org.apache.lucene.codecs.LiveDocsFormat
-
Sole constructor.
- liveDocsFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- liveDocsFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- LiveIndexWriterConfig - Class in org.apache.lucene.index
-
Holds all the configuration used by
IndexWriter
with few setters for
settings that can be changed on an
IndexWriter
instance "live".
- LMDirichletSimilarity - Class in org.apache.lucene.search.similarities
-
Bayesian smoothing using Dirichlet priors.
- LMDirichletSimilarity(LMSimilarity.CollectionModel, float) - Constructor for class org.apache.lucene.search.similarities.LMDirichletSimilarity
-
Instantiates the similarity with the provided μ parameter.
- LMDirichletSimilarity(float) - Constructor for class org.apache.lucene.search.similarities.LMDirichletSimilarity
-
Instantiates the similarity with the provided μ parameter.
- LMDirichletSimilarity(LMSimilarity.CollectionModel) - Constructor for class org.apache.lucene.search.similarities.LMDirichletSimilarity
-
Instantiates the similarity with the default μ value of 2000.
- LMDirichletSimilarity() - Constructor for class org.apache.lucene.search.similarities.LMDirichletSimilarity
-
Instantiates the similarity with the default μ value of 2000.
- LMJelinekMercerSimilarity - Class in org.apache.lucene.search.similarities
-
Language model based on the Jelinek-Mercer smoothing method.
- LMJelinekMercerSimilarity(LMSimilarity.CollectionModel, float) - Constructor for class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
-
Instantiates with the specified collectionModel and λ parameter.
- LMJelinekMercerSimilarity(float) - Constructor for class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
-
Instantiates with the specified λ parameter.
- LMSimilarity - Class in org.apache.lucene.search.similarities
-
Abstract superclass for language modeling Similarities.
- LMSimilarity(LMSimilarity.CollectionModel) - Constructor for class org.apache.lucene.search.similarities.LMSimilarity
-
Creates a new instance with the specified collection language model.
- LMSimilarity() - Constructor for class org.apache.lucene.search.similarities.LMSimilarity
-
Creates a new instance with the default collection language model.
- LMSimilarity.CollectionModel - Interface in org.apache.lucene.search.similarities
-
A strategy for computing the collection language model.
- LMSimilarity.DefaultCollectionModel - Class in org.apache.lucene.search.similarities
-
Models p(w|C)
as the number of occurrences of the term in the
collection, divided by the total number of tokens + 1
.
- LMSimilarity.DefaultCollectionModel() - Constructor for class org.apache.lucene.search.similarities.LMSimilarity.DefaultCollectionModel
-
Sole constructor: parameter-free
- LMSimilarity.LMStats - Class in org.apache.lucene.search.similarities
-
Stores the collection distribution of the current term.
- LMSimilarity.LMStats(String, float) - Constructor for class org.apache.lucene.search.similarities.LMSimilarity.LMStats
-
Creates LMStats for the provided field and query-time boost
- load(FieldInfos, String, int, Directory, IOContext) - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
Only opens files...
- load() - Method in class org.apache.lucene.index.DocValues
-
- load(DocValues) - Method in class org.apache.lucene.index.DocValues.SourceCache.DirectSourceCache
-
- load(DocValues) - Method in class org.apache.lucene.index.DocValues.SourceCache
-
- loadDirectoryClass(String) - Static method in class org.apache.lucene.util.CommandLineUtil
-
Loads a specific Directory implementation
- loadDocValues(int, Directory, String, DocValues.Type, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
-
- loadDocValues(int, Directory, String, DocValues.Type, IOContext) - Method in class org.apache.lucene.codecs.PerDocProducerBase
-
- loadFSDirectoryClass(String) - Static method in class org.apache.lucene.util.CommandLineUtil
-
Loads a specific FSDirectory implementation
- Lock - Class in org.apache.lucene.store
-
An interprocess mutex lock.
- Lock() - Constructor for class org.apache.lucene.store.Lock
-
- Lock.With - Class in org.apache.lucene.store
-
Utility class for executing code with exclusive access.
- Lock.With(Lock, long) - Constructor for class org.apache.lucene.store.Lock.With
-
Constructs an executor that will grab the named lock.
- LOCK_OBTAIN_WAIT_FOREVER - Static variable in class org.apache.lucene.store.Lock
-
- LOCK_POLL_INTERVAL - Static variable in class org.apache.lucene.store.Lock
-
How long
Lock.obtain(long)
waits, in milliseconds,
in between attempts to acquire the lock.
- lockDir - Variable in class org.apache.lucene.store.FSLockFactory
-
Directory for the lock files.
- lockFactory - Variable in class org.apache.lucene.store.Directory
-
Holds the LockFactory instance (implements locking for
this Directory instance).
- LockFactory - Class in org.apache.lucene.store
-
Base class for Locking implementation.
- LockFactory() - Constructor for class org.apache.lucene.store.LockFactory
-
- LockObtainFailedException - Exception in org.apache.lucene.store
-
This exception is thrown when the write.lock
could not be acquired.
- LockObtainFailedException(String) - Constructor for exception org.apache.lucene.store.LockObtainFailedException
-
- lockPrefix - Variable in class org.apache.lucene.store.LockFactory
-
- LockReleaseFailedException - Exception in org.apache.lucene.store
-
This exception is thrown when the write.lock
could not be released.
- LockReleaseFailedException(String) - Constructor for exception org.apache.lucene.store.LockReleaseFailedException
-
- LockStressTest - Class in org.apache.lucene.store
-
Simple standalone tool that forever acquires & releases a
lock using a specific LockFactory.
- LockStressTest() - Constructor for class org.apache.lucene.store.LockStressTest
-
- LockVerifyServer - Class in org.apache.lucene.store
-
- LockVerifyServer() - Constructor for class org.apache.lucene.store.LockVerifyServer
-
- log(long, int) - Static method in class org.apache.lucene.util.MathUtil
-
Returns x <= 0 ? 0 : Math.floor(Math.log(x) / Math.log(base))
- log2(double) - Static method in class org.apache.lucene.search.similarities.SimilarityBase
-
Returns the base two logarithm of x
.
- LOG2_E - Static variable in class org.apache.lucene.search.similarities.BasicModelP
-
log2(Math.E)
, precomputed.
- LogByteSizeMergePolicy - Class in org.apache.lucene.index
-
This is a
LogMergePolicy
that measures size of a
segment as the total byte size of the segment's files.
- LogByteSizeMergePolicy() - Constructor for class org.apache.lucene.index.LogByteSizeMergePolicy
-
Sole constructor, setting all settings to their
defaults.
- LogDocMergePolicy - Class in org.apache.lucene.index
-
This is a
LogMergePolicy
that measures size of a
segment as the number of documents (not taking deletions
into account).
- LogDocMergePolicy() - Constructor for class org.apache.lucene.index.LogDocMergePolicy
-
Sole constructor, setting all settings to their
defaults.
- LogMergePolicy - Class in org.apache.lucene.index
-
This class implements a
MergePolicy
that tries
to merge segments into levels of exponentially
increasing size, where each level has fewer segments than
the value of the merge factor.
- LogMergePolicy() - Constructor for class org.apache.lucene.index.LogMergePolicy
-
Sole constructor.
- LongDocValuesField - Class in org.apache.lucene.document
-
Field that stores a per-document long
value for scoring,
sorting or value retrieval.
- LongDocValuesField(String, long) - Constructor for class org.apache.lucene.document.LongDocValuesField
-
Creates a new DocValues field with the specified 64-bit long value
- longField(FieldInfo, long) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- LongField - Class in org.apache.lucene.document
-
Field that indexes long
values
for efficient range filtering and sorting.
- LongField(String, long, Field.Store) - Constructor for class org.apache.lucene.document.LongField
-
- LongField(String, long, FieldType) - Constructor for class org.apache.lucene.document.LongField
-
Expert: allows you to customize the
FieldType
.
- longField(FieldInfo, long) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Process a long numeric field.
- longs - Variable in class org.apache.lucene.util.LongsRef
-
The contents of the LongsRef.
- longsEquals(LongsRef) - Method in class org.apache.lucene.util.LongsRef
-
- LongsRef - Class in org.apache.lucene.util
-
Represents long[], as a slice (offset + length) into an
existing long[].
- LongsRef() - Constructor for class org.apache.lucene.util.LongsRef
-
- LongsRef(int) - Constructor for class org.apache.lucene.util.LongsRef
-
Create a LongsRef pointing to a new array of size capacity
.
- LongsRef(long[], int, int) - Constructor for class org.apache.lucene.util.LongsRef
-
This instance will directly reference longs w/o making a copy.
- longToPrefixCoded(long, int, BytesRef) - Static method in class org.apache.lucene.util.NumericUtils
-
Returns prefix coded bits after reducing the precision by shift
bits.
- lookup(int, DocTermOrds.TermOrdsIterator) - Method in class org.apache.lucene.index.DocTermOrds
-
Returns an iterator to step through the term ords for
this document.
- lookup(int, BytesRef) - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
-
The BytesRef argument must not be null; the method
returns the same BytesRef, or an empty (length=0)
BytesRef if this ord is the null ord (0).
- lookup(String) - Method in class org.apache.lucene.util.NamedSPILoader
-
- lookupTerm(TermsEnum, int) - Method in class org.apache.lucene.index.DocTermOrds
-
Returns the term (
BytesRef
) corresponding to
the provided ordinal.
- Lucene3xCodec - Class in org.apache.lucene.codecs.lucene3x
-
Deprecated.
Only for reading existing 3.x indexes
- Lucene3xCodec() - Constructor for class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- Lucene3xSegmentInfoFormat - Class in org.apache.lucene.codecs.lucene3x
-
Deprecated.
(4.0) This is only used to read indexes created
before 4.0.
- Lucene3xSegmentInfoFormat() - Constructor for class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
Deprecated.
- Lucene3xSegmentInfoReader - Class in org.apache.lucene.codecs.lucene3x
-
Deprecated.
Only for reading existing 3.x indexes
- Lucene3xSegmentInfoReader() - Constructor for class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader
-
Deprecated.
- Lucene40Codec - Class in org.apache.lucene.codecs.lucene40
-
Implements the Lucene 4.0 index format, with configurable per-field postings formats.
- Lucene40Codec() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
Sole constructor.
- Lucene40DocValuesConsumer - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 PerDocConsumer implementation that uses compound file.
- Lucene40DocValuesConsumer(PerDocWriteState, String) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40DocValuesConsumer
-
Sole constructor.
- Lucene40DocValuesFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 DocValues format.
- Lucene40DocValuesFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40DocValuesFormat
-
Sole constructor.
- Lucene40DocValuesProducer - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 PerDocProducer implementation that uses compound file.
- Lucene40DocValuesProducer(SegmentReadState, String) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40DocValuesProducer
-
- Lucene40FieldInfosFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Field Infos format.
- Lucene40FieldInfosFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosFormat
-
Sole constructor.
- Lucene40FieldInfosReader - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 FieldInfos reader.
- Lucene40FieldInfosReader() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosReader
-
Sole constructor.
- Lucene40FieldInfosWriter - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 FieldInfos writer.
- Lucene40FieldInfosWriter() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosWriter
-
Sole constructor.
- Lucene40LiveDocsFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Live Documents Format.
- Lucene40LiveDocsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
-
Sole constructor.
- Lucene40NormsFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Norms Format.
- Lucene40NormsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat
-
Sole constructor.
- Lucene40NormsFormat.Lucene40NormsDocValuesConsumer - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 PerDocConsumer implementation that uses compound file.
- Lucene40NormsFormat.Lucene40NormsDocValuesConsumer(PerDocWriteState, String) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesConsumer
-
Sole constructor.
- Lucene40NormsFormat.Lucene40NormsDocValuesProducer - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 PerDocProducer implementation that uses compound file.
- Lucene40NormsFormat.Lucene40NormsDocValuesProducer(SegmentReadState, String) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40NormsFormat.Lucene40NormsDocValuesProducer
-
Sole constructor.
- Lucene40PostingsBaseFormat - Class in org.apache.lucene.codecs.lucene40
-
- Lucene40PostingsBaseFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsBaseFormat
-
Sole constructor.
- Lucene40PostingsFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Postings format.
- Lucene40PostingsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
-
Creates Lucene40PostingsFormat
with default
settings.
- Lucene40PostingsFormat(int, int) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
-
Creates Lucene40PostingsFormat
with custom
values for minBlockSize
and maxBlockSize
passed to block terms dictionary.
- Lucene40PostingsReader - Class in org.apache.lucene.codecs.lucene40
-
Concrete class that reads the 4.0 frq/prox
postings format.
- Lucene40PostingsReader(Directory, FieldInfos, SegmentInfo, IOContext, String) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
-
Sole constructor.
- Lucene40PostingsWriter - Class in org.apache.lucene.codecs.lucene40
-
Concrete class that writes the 4.0 frq/prx postings format.
- Lucene40PostingsWriter(SegmentWriteState) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- Lucene40PostingsWriter(SegmentWriteState, int) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- Lucene40SegmentInfoFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Segment info format.
- Lucene40SegmentInfoFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat
-
Sole constructor.
- Lucene40SegmentInfoReader - Class in org.apache.lucene.codecs.lucene40
-
- Lucene40SegmentInfoReader() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader
-
Sole constructor.
- Lucene40SegmentInfoWriter - Class in org.apache.lucene.codecs.lucene40
-
- Lucene40SegmentInfoWriter() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoWriter
-
Sole constructor.
- Lucene40SkipListReader - Class in org.apache.lucene.codecs.lucene40
-
Implements the skip list reader for the 4.0 posting list format
that stores positions and payloads.
- Lucene40SkipListReader(IndexInput, int, int) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
Sole constructor.
- Lucene40SkipListWriter - Class in org.apache.lucene.codecs.lucene40
-
Implements the skip list writer for the 4.0 posting list format
that stores positions and payloads.
- Lucene40SkipListWriter(int, int, int, IndexOutput, IndexOutput) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
-
Sole constructor.
- Lucene40StoredFieldsFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Stored Fields Format.
- Lucene40StoredFieldsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsFormat
-
Sole constructor.
- Lucene40StoredFieldsReader - Class in org.apache.lucene.codecs.lucene40
-
Class responsible for access to stored document fields.
- Lucene40StoredFieldsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
-
Sole constructor.
- Lucene40StoredFieldsWriter - Class in org.apache.lucene.codecs.lucene40
-
Class responsible for writing stored document fields.
- Lucene40StoredFieldsWriter(Directory, String, IOContext) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
-
Sole constructor.
- Lucene40TermVectorsFormat - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Term Vectors format.
- Lucene40TermVectorsFormat() - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsFormat
-
Sole constructor.
- Lucene40TermVectorsReader - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Term Vectors reader.
- Lucene40TermVectorsReader(Directory, SegmentInfo, FieldInfos, IOContext) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader
-
Sole constructor.
- Lucene40TermVectorsWriter - Class in org.apache.lucene.codecs.lucene40
-
Lucene 4.0 Term Vectors writer.
- Lucene40TermVectorsWriter(Directory, String, IOContext) - Constructor for class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
-
Sole constructor.
- LUCENE_MAIN_VERSION - Static variable in class org.apache.lucene.util.Constants
-
This is the internal Lucene version, recorded into each segment.
- LUCENE_VERSION - Static variable in class org.apache.lucene.util.Constants
-
This is the Lucene version for display purposes.
- LucenePackage - Class in org.apache.lucene
-
Lucene's package information, including version.
- MAC_OS_X - Static variable in class org.apache.lucene.util.Constants
-
True iff running on Mac OS X
- main(String[]) - Static method in class org.apache.lucene.index.CheckIndex
-
Command-line interface to check and fix an index.
- main(String[]) - Static method in class org.apache.lucene.index.IndexUpgrader
-
Main method to run {code IndexUpgrader} from the
command-line.
- main(String[]) - Static method in class org.apache.lucene.store.LockStressTest
-
- main(String[]) - Static method in class org.apache.lucene.store.LockVerifyServer
-
- makeAnyChar() - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts any single codepoint.
- makeAnyString() - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts all strings.
- makeChar(int) - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts a single codepoint of
the given value.
- makeCharRange(int, int) - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts a single codepoint whose
value is in the given interval (including both end points).
- makeEmpty() - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton with the empty language.
- makeEmptyString() - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts only the empty string.
- makeInterval(int, int, int) - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new automaton that accepts strings representing decimal
non-negative integers in the given interval.
- makeLock(String) - Method in class org.apache.lucene.store.CompoundFileDirectory
-
Not implemented
- makeLock(String) - Method in class org.apache.lucene.store.Directory
-
- makeLock(String) - Method in class org.apache.lucene.store.LockFactory
-
Return a new Lock instance identified by lockName.
- makeLock(String) - Method in class org.apache.lucene.store.NativeFSLockFactory
-
- makeLock(String) - Method in class org.apache.lucene.store.NoLockFactory
-
- makeLock(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- makeLock(String) - Method in class org.apache.lucene.store.SimpleFSLockFactory
-
- makeLock(String) - Method in class org.apache.lucene.store.SingleInstanceLockFactory
-
- makeLock(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
-
- makeLock(String) - Method in class org.apache.lucene.store.VerifyingLockFactory
-
- makeString(String) - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic) automaton that accepts the single given
string.
- makeStringUnion(Collection<BytesRef>) - Static method in class org.apache.lucene.util.automaton.BasicAutomata
-
Returns a new (deterministic and minimal) automaton that accepts the union
of the given collection of
BytesRef
s representing UTF-8 encoded
strings.
- MapOfSets<K,V> - Class in org.apache.lucene.util
-
Helper class for keeping Lists of Objects associated with keys.
- MapOfSets(Map<K, Set<V>>) - Constructor for class org.apache.lucene.util.MapOfSets
-
- MappingMultiDocsAndPositionsEnum - Class in org.apache.lucene.codecs
-
Exposes flex API, merged from flex API of sub-segments,
remapping docIDs (this is used for segment merging).
- MappingMultiDocsAndPositionsEnum() - Constructor for class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
Sole constructor.
- MappingMultiDocsEnum - Class in org.apache.lucene.codecs
-
Exposes flex API, merged from flex API of sub-segments,
remapping docIDs (this is used for segment merging).
- MappingMultiDocsEnum() - Constructor for class org.apache.lucene.codecs.MappingMultiDocsEnum
-
Sole constructor.
- match(int) - Method in class org.apache.lucene.search.BitsFilteredDocIdSet
-
- match(int) - Method in class org.apache.lucene.search.FilteredDocIdSet
-
Validation method to determine whether a docid should be in the result set.
- match(int) - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
-
Validation method to determine whether a docid should be in the result set.
- match - Variable in class org.apache.lucene.search.spans.SpanPositionCheckQuery
-
- MatchAllDocsQuery - Class in org.apache.lucene.search
-
A query that matches all documents.
- MatchAllDocsQuery() - Constructor for class org.apache.lucene.search.MatchAllDocsQuery
-
- matchDoc(int) - Method in class org.apache.lucene.search.FieldCacheDocIdSet
-
this method checks, if a doc is a hit
- matchedCount - Variable in class org.apache.lucene.index.MergeState
-
- matchesExtension(String, String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Returns true if the given filename ends with the given extension.
- matchingSegmentReaders - Variable in class org.apache.lucene.index.MergeState
-
SegmentReader
s that have identical field
name/number mapping, so their stored fields and term
vectors may be bulk merged.
- matchVersion - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
- MathUtil - Class in org.apache.lucene.util
-
Math static utility methods.
- MAX_TERM_LENGTH - Static variable in class org.apache.lucene.index.IndexWriter
-
Absolute hard maximum length for a term, in bytes once
encoded as UTF8.
- maxBufferedBlocks() - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- maxCFSSegmentSize - Variable in class org.apache.lucene.index.LogMergePolicy
-
If the size of the merged segment exceeds
this value then it will not use compound file format.
- maxCoord - Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- maxDoc() - Method in class org.apache.lucene.index.BaseCompositeReader
-
- maxDoc() - Method in class org.apache.lucene.index.FilterAtomicReader
-
- maxDoc() - Method in class org.apache.lucene.index.IndexReader
-
Returns one greater than the largest possible document number.
- maxDoc() - Method in class org.apache.lucene.index.IndexWriter
-
Returns total number of docs in this index, including
docs not yet flushed (still in the RAM buffer),
not counting deletions.
- maxDoc() - Method in class org.apache.lucene.index.MergeState.DocMap
-
Returns the total number of documents, ignoring
deletions.
- maxDoc() - Method in class org.apache.lucene.index.ParallelAtomicReader
-
- maxDoc() - Method in class org.apache.lucene.index.SegmentReader
-
- maxDoc() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- maxDoc() - Method in class org.apache.lucene.search.CollectionStatistics
-
returns the total number of documents, regardless of
whether they all contain values for this field.
- maxDoc - Variable in class org.apache.lucene.search.FieldCacheDocIdSet
-
- maxDocsToCache - Variable in class org.apache.lucene.search.CachingCollector
-
- maxEditDistanceChanged(BytesRef, int, boolean) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- maxEdits - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- MAXIMUM_SUPPORTED_DISTANCE - Static variable in class org.apache.lucene.util.automaton.LevenshteinAutomata
-
- maxMergeDocs - Variable in class org.apache.lucene.index.LogMergePolicy
-
If a segment has more than this many documents then it
will never be merged.
- maxMergeSize - Variable in class org.apache.lucene.index.LogMergePolicy
-
If the size of a segment exceeds this value then it
will never be merged.
- maxMergeSizeForForcedMerge - Variable in class org.apache.lucene.index.LogMergePolicy
-
- MaxNonCompetitiveBoostAttribute - Interface in org.apache.lucene.search
-
- MaxNonCompetitiveBoostAttributeImpl - Class in org.apache.lucene.search
-
- MaxNonCompetitiveBoostAttributeImpl() - Constructor for class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
-
- maxNumberOfSkipLevels - Variable in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
the maximum number of skip levels possible for this index
- MaxPayloadFunction - Class in org.apache.lucene.search.payloads
-
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
- MaxPayloadFunction() - Constructor for class org.apache.lucene.search.payloads.MaxPayloadFunction
-
- maxSegmentName - Variable in class org.apache.lucene.index.CheckIndex.Status
-
The greatest segment name.
- maxTermDocFreq - Variable in class org.apache.lucene.index.DocTermOrds
-
Don't uninvert terms that exceed this count.
- maxValue(int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
Calculates the maximum unsigned long that can be expressed with the given
number of bits.
- maybeMerge() - Method in class org.apache.lucene.index.IndexWriter
-
Expert: asks the mergePolicy whether any merges are
necessary now and if so, runs the requested merges and
then iterate (test again if merges are needed) until no
more merges are returned by the mergePolicy.
- maybeRefresh() - Method in class org.apache.lucene.search.ReferenceManager
-
- maybeRefreshBlocking() - Method in class org.apache.lucene.search.ReferenceManager
-
- merge(MergeState, DocValues[]) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
- merge(DocValues, int, int, Bits) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
- merge(MergeState, Fields) - Method in class org.apache.lucene.codecs.FieldsConsumer
-
Called during merging to merge all
Fields
from
sub-readers.
- merge(MergeState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
-
- merge(MergeState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
-
- merge(MergeState) - Method in class org.apache.lucene.codecs.PerDocConsumer
-
Consumes and merges the given
PerDocProducer
producer
into this consumers format.
- merge(MergeState, DocsEnum, FixedBitSet) - Method in class org.apache.lucene.codecs.PostingsConsumer
-
Default merge impl: append documents, mapping around
deletes
- merge(MergeState) - Method in class org.apache.lucene.codecs.StoredFieldsWriter
-
Merges in the stored fields from the readers in
mergeState
.
- merge(MergeState, TermsEnum) - Method in class org.apache.lucene.codecs.TermsConsumer
-
Default merge impl
- merge(MergeState) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Merges in the term vectors from the readers in
mergeState
.
- merge(IndexWriter) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- merge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.IndexWriter
-
Merges the indicated segments, replacing them in the stack with a
single segment.
- merge(IndexWriter) - Method in class org.apache.lucene.index.MergeScheduler
-
- merge(IndexWriter) - Method in class org.apache.lucene.index.NoMergeScheduler
-
- merge(IndexWriter) - Method in class org.apache.lucene.index.SerialMergeScheduler
-
Just do the merges in sequence.
- merge(Sort, int, TopDocs[]) - Static method in class org.apache.lucene.search.TopDocs
-
Returns a new TopDocs, containing topN results across
the provided TopDocs, sorting by the specified
Sort
.
- merge(T, T) - Method in class org.apache.lucene.util.fst.Outputs
-
- merge(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
-
- MERGE_BUFFER_SIZE - Static variable in class org.apache.lucene.store.BufferedIndexInput
-
A buffer size for merges set to 4096
- mergeDoc(Field, DocValues.Source, int, int) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Merges a document with the given docID
.
- mergeFactor - Variable in class org.apache.lucene.index.LogMergePolicy
-
How many segments to merge at a time.
- mergeInfo - Variable in class org.apache.lucene.store.IOContext
-
- MergeInfo - Class in org.apache.lucene.store
-
A MergeInfo provides information required for a MERGE context.
- MergeInfo(int, long, boolean, int) - Constructor for class org.apache.lucene.store.MergeInfo
-
- mergeMaxNumSegments - Variable in class org.apache.lucene.store.MergeInfo
-
- mergePolicy - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
- MergePolicy - Class in org.apache.lucene.index
-
Expert: a MergePolicy determines the sequence of
primitive merge operations.
- MergePolicy() - Constructor for class org.apache.lucene.index.MergePolicy
-
Creates a new merge policy instance.
- MergePolicy.MergeAbortedException - Exception in org.apache.lucene.index
-
- MergePolicy.MergeAbortedException() - Constructor for exception org.apache.lucene.index.MergePolicy.MergeAbortedException
-
- MergePolicy.MergeAbortedException(String) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeAbortedException
-
- MergePolicy.MergeException - Exception in org.apache.lucene.index
-
Exception thrown if there are any problems while
executing a merge.
- MergePolicy.MergeException(String, Directory) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
-
Create a MergeException
.
- MergePolicy.MergeException(Throwable, Directory) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
-
Create a MergeException
.
- MergePolicy.MergeSpecification - Class in org.apache.lucene.index
-
A MergeSpecification instance provides the information
necessary to perform multiple merges.
- MergePolicy.MergeSpecification() - Constructor for class org.apache.lucene.index.MergePolicy.MergeSpecification
-
Sole constructor.
- MergePolicy.OneMerge - Class in org.apache.lucene.index
-
OneMerge provides the information necessary to perform
an individual primitive merge operation, resulting in
a single new segment.
- MergePolicy.OneMerge(List<SegmentInfoPerCommit>) - Constructor for class org.apache.lucene.index.MergePolicy.OneMerge
-
Sole constructor.
- mergeRecords(SortedBytesMergeUtils.MergeContext, SortedBytesMergeUtils.BytesRefConsumer, List<SortedBytesMergeUtils.SortedSourceSlice>) - Static method in class org.apache.lucene.index.SortedBytesMergeUtils
-
Does the "real work" of merging the slices and
computing the ord mapping.
- merges - Variable in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
The subset of segments to be included in the primitive merge.
- mergeScheduler - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
- MergeScheduler - Class in org.apache.lucene.index
-
Expert:
IndexWriter
uses an instance
implementing this interface to execute the merges
selected by a
MergePolicy
.
- MergeScheduler() - Constructor for class org.apache.lucene.index.MergeScheduler
-
Sole constructor.
- mergeSort(T[], int, int, Comparator<? super T>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- mergeSort(T[], Comparator<? super T>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- mergeSort(T[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Sorts the given array slice in natural order.
- mergeSort(T[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Sorts the given array in natural order.
- mergeSort(List<T>, Comparator<? super T>) - Static method in class org.apache.lucene.util.CollectionUtil
-
- mergeSort(List<T>) - Static method in class org.apache.lucene.util.CollectionUtil
-
Sorts the given random access
List
in natural order.
- mergeSort(int, int) - Method in class org.apache.lucene.util.SorterTemplate
-
- MergeState - Class in org.apache.lucene.index
-
Holds common state used during segment merging.
- MergeState.CheckAbort - Class in org.apache.lucene.index
-
Class for recording units of work when merging segments.
- MergeState.CheckAbort(MergePolicy.OneMerge, Directory) - Constructor for class org.apache.lucene.index.MergeState.CheckAbort
-
Creates a #CheckAbort instance.
- MergeState.DocMap - Class in org.apache.lucene.index
-
Remaps docids around deletes during merge
- MergeState.DocMap(Bits) - Constructor for class org.apache.lucene.index.MergeState.DocMap
-
Sole constructor.
- mergeThreadCount - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- mergeThreadCount() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Returns the number of merge threads that are alive.
- mergeThreads - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- message(String) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- message(String) - Method in class org.apache.lucene.index.LogMergePolicy
-
- message(String, String) - Method in class org.apache.lucene.util.InfoStream
-
prints a message
- message(String, String) - Method in class org.apache.lucene.util.PrintStreamInfoStream
-
- messageID - Variable in class org.apache.lucene.util.PrintStreamInfoStream
-
- MinimizationOperations - Class in org.apache.lucene.util.automaton
-
Operations for minimizing automata.
- minimize(Automaton) - Static method in class org.apache.lucene.util.automaton.Automaton
-
- minimize(Automaton) - Static method in class org.apache.lucene.util.automaton.MinimizationOperations
-
Minimizes (and determinizes if not already deterministic) the given
automaton.
- MINIMIZE_HOPCROFT - Static variable in class org.apache.lucene.util.automaton.Automaton
-
Minimize using Hopcroft's O(n log n) algorithm.
- minimizeHopcroft(Automaton) - Static method in class org.apache.lucene.util.automaton.MinimizationOperations
-
Minimizes the given automaton using Hopcroft's algorithm.
- minMergeSize - Variable in class org.apache.lucene.index.LogMergePolicy
-
Any segments whose size is smaller than this value
will be rounded up to this value.
- minNrShouldMatch - Variable in class org.apache.lucene.search.BooleanQuery
-
- MinPayloadFunction - Class in org.apache.lucene.search.payloads
-
Calculates the minimum payload seen
- MinPayloadFunction() - Constructor for class org.apache.lucene.search.payloads.MinPayloadFunction
-
- minSimilarity - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- minus(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton
-
- minus(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns a (deterministic) automaton that accepts the intersection of the
language of a1
and the complement of the language of
a2
.
- missingSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
-
True if we were unable to locate and load the segments_N file.
- missingSegmentVersion - Variable in class org.apache.lucene.index.CheckIndex.Status
-
True if we were unable to read the version number from segments_N file.
- missingValue - Variable in class org.apache.lucene.search.FieldComparator.NumericComparator
-
- missingValue - Variable in class org.apache.lucene.search.SortField
-
- mixedBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
The number of "internal" blocks (that have both
terms and sub-blocks).
- MMapDirectory - Class in org.apache.lucene.store
-
- MMapDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.MMapDirectory
-
Create a new MMapDirectory for the named location.
- MMapDirectory(File) - Constructor for class org.apache.lucene.store.MMapDirectory
-
- MMapDirectory(File, LockFactory, int) - Constructor for class org.apache.lucene.store.MMapDirectory
-
Create a new MMapDirectory for the named location, specifying the
maximum chunk size used for memory mapping.
- more - Variable in class org.apache.lucene.search.spans.SpanScorer
-
- More(String, BytesRef) - Static method in class org.apache.lucene.search.TermRangeFilter
-
Constructs a filter for field fieldName
matching
greater than or equal to lowerTerm
.
- MultiCollector - Class in org.apache.lucene.search
-
- MultiDocsAndPositionsEnum - Class in org.apache.lucene.index
-
Exposes flex API, merged from flex API of sub-segments.
- MultiDocsAndPositionsEnum(MultiTermsEnum, int) - Constructor for class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
Sole constructor.
- MultiDocsAndPositionsEnum.EnumWithSlice - Class in org.apache.lucene.index
-
- MultiDocsEnum - Class in org.apache.lucene.index
-
- MultiDocsEnum(MultiTermsEnum, int) - Constructor for class org.apache.lucene.index.MultiDocsEnum
-
Sole constructor
- MultiDocsEnum.EnumWithSlice - Class in org.apache.lucene.index
-
- MultiFields - Class in org.apache.lucene.index
-
Exposes flex API, merged from flex API of sub-segments.
- MultiFields(Fields[], ReaderSlice[]) - Constructor for class org.apache.lucene.index.MultiFields
-
Expert: construct a new MultiFields instance directly.
- MultiLevelSkipListReader - Class in org.apache.lucene.codecs
-
This abstract class reads skip lists with multiple levels.
- MultiLevelSkipListReader(IndexInput, int, int, int) - Constructor for class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Creates a MultiLevelSkipListReader
.
- MultiLevelSkipListReader(IndexInput, int, int) - Constructor for class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Creates a MultiLevelSkipListReader
, where
skipInterval
and skipMultiplier
are
the same.
- MultiLevelSkipListWriter - Class in org.apache.lucene.codecs
-
This abstract class writes skip lists with multiple levels.
- MultiLevelSkipListWriter(int, int, int, int) - Constructor for class org.apache.lucene.codecs.MultiLevelSkipListWriter
-
Creates a MultiLevelSkipListWriter
.
- MultiLevelSkipListWriter(int, int, int) - Constructor for class org.apache.lucene.codecs.MultiLevelSkipListWriter
-
Creates a MultiLevelSkipListWriter
, where
skipInterval
and skipMultiplier
are
the same.
- MultiPhraseQuery - Class in org.apache.lucene.search
-
- MultiPhraseQuery() - Constructor for class org.apache.lucene.search.MultiPhraseQuery
-
- MultiReader - Class in org.apache.lucene.index
-
- MultiReader(IndexReader...) - Constructor for class org.apache.lucene.index.MultiReader
-
Construct a MultiReader aggregating the named set of (sub)readers.
- MultiReader(IndexReader[], boolean) - Constructor for class org.apache.lucene.index.MultiReader
-
Construct a MultiReader aggregating the named set of (sub)readers.
- MultiSimilarity - Class in org.apache.lucene.search.similarities
-
Implements the CombSUM method for combining evidence from multiple
similarity values described in: Joseph A.
- MultiSimilarity(Similarity[]) - Constructor for class org.apache.lucene.search.similarities.MultiSimilarity
-
Creates a MultiSimilarity which will sum the scores
of the provided sims
.
- MultiTermQuery - Class in org.apache.lucene.search
-
An abstract
Query
that matches documents
containing a subset of terms provided by a
FilteredTermsEnum
enumeration.
- MultiTermQuery(String) - Constructor for class org.apache.lucene.search.MultiTermQuery
-
Constructs a query matching terms that cannot be represented with a single
Term.
- MultiTermQuery.ConstantScoreAutoRewrite - Class in org.apache.lucene.search
-
A rewrite method that tries to pick the best
constant-score rewrite method based on term and
document counts from the query.
- MultiTermQuery.ConstantScoreAutoRewrite() - Constructor for class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
-
- MultiTermQuery.RewriteMethod - Class in org.apache.lucene.search
-
Abstract class that defines how the query is rewritten.
- MultiTermQuery.RewriteMethod() - Constructor for class org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite - Class in org.apache.lucene.search
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, but the scores
are only computed as the boost.
- MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite(int) - Constructor for class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
-
Create a TopTermsBoostOnlyBooleanQueryRewrite for
at most size
terms.
- MultiTermQuery.TopTermsScoringBooleanQueryRewrite - Class in org.apache.lucene.search
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the
scores as computed by the query.
- MultiTermQuery.TopTermsScoringBooleanQueryRewrite(int) - Constructor for class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
-
Create a TopTermsScoringBooleanQueryRewrite for
at most size
terms.
- MultiTermQueryWrapperFilter<Q extends MultiTermQuery> - Class in org.apache.lucene.search
-
- MultiTermQueryWrapperFilter(Q) - Constructor for class org.apache.lucene.search.MultiTermQueryWrapperFilter
-
- MultiTerms - Class in org.apache.lucene.index
-
Exposes flex API, merged from flex API of
sub-segments.
- MultiTerms(Terms[], ReaderSlice[]) - Constructor for class org.apache.lucene.index.MultiTerms
-
Sole constructor.
- MultiTermsEnum - Class in org.apache.lucene.index
-
- MultiTermsEnum(ReaderSlice[]) - Constructor for class org.apache.lucene.index.MultiTermsEnum
-
Sole constructor.
- MutableBits - Interface in org.apache.lucene.util
-
Extension of Bits for live documents.
- MutableValue - Class in org.apache.lucene.util.mutable
-
Base class for all mutable values.
- MutableValue() - Constructor for class org.apache.lucene.util.mutable.MutableValue
-
- MutableValueBool - Class in org.apache.lucene.util.mutable
-
- MutableValueBool() - Constructor for class org.apache.lucene.util.mutable.MutableValueBool
-
- MutableValueDate - Class in org.apache.lucene.util.mutable
-
- MutableValueDate() - Constructor for class org.apache.lucene.util.mutable.MutableValueDate
-
- MutableValueDouble - Class in org.apache.lucene.util.mutable
-
- MutableValueDouble() - Constructor for class org.apache.lucene.util.mutable.MutableValueDouble
-
- MutableValueFloat - Class in org.apache.lucene.util.mutable
-
- MutableValueFloat() - Constructor for class org.apache.lucene.util.mutable.MutableValueFloat
-
- MutableValueInt - Class in org.apache.lucene.util.mutable
-
- MutableValueInt() - Constructor for class org.apache.lucene.util.mutable.MutableValueInt
-
- MutableValueLong - Class in org.apache.lucene.util.mutable
-
- MutableValueLong() - Constructor for class org.apache.lucene.util.mutable.MutableValueLong
-
- MutableValueStr - Class in org.apache.lucene.util.mutable
-
- MutableValueStr() - Constructor for class org.apache.lucene.util.mutable.MutableValueStr
-
- name - Variable in class org.apache.lucene.codecs.PostingsBaseFormat
-
Unique name that's used to retrieve this codec when
reading the index
- name - Variable in class org.apache.lucene.document.Field
-
Field's name
- name() - Method in class org.apache.lucene.document.Field
-
- name - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Name of the segment.
- name - Variable in class org.apache.lucene.index.FieldInfo
-
Field's name
- name() - Method in interface org.apache.lucene.index.IndexableField
-
Field name
- name - Variable in class org.apache.lucene.index.SegmentInfo
-
Unique segment name in the directory.
- NamedSPILoader<S extends NamedSPILoader.NamedSPI> - Class in org.apache.lucene.util
-
Helper class for loading named SPIs from classpath (e.g.
- NamedSPILoader(Class<S>) - Constructor for class org.apache.lucene.util.NamedSPILoader
-
- NamedSPILoader(Class<S>, ClassLoader) - Constructor for class org.apache.lucene.util.NamedSPILoader
-
- NamedSPILoader.NamedSPI - Interface in org.apache.lucene.util
-
- NamedThreadFactory - Class in org.apache.lucene.util
-
A default
ThreadFactory
implementation that accepts the name prefix
of the created threads as a constructor argument.
- NamedThreadFactory(String) - Constructor for class org.apache.lucene.util.NamedThreadFactory
-
- NativeFSLockFactory - Class in org.apache.lucene.store
-
- NativeFSLockFactory() - Constructor for class org.apache.lucene.store.NativeFSLockFactory
-
Create a NativeFSLockFactory instance, with null (unset)
lock directory.
- NativeFSLockFactory(String) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
-
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDirName:
- NativeFSLockFactory(File) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
-
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDir:
- nblocks(int, int) - Method in enum org.apache.lucene.util.packed.PackedInts.Format
-
Computes how many blocks are needed to store values
values
of size bitsPerValue
.
- NearSpansOrdered - Class in org.apache.lucene.search.spans
-
A Spans that is formed from the ordered subspans of a SpanNearQuery
where the subspans do not overlap and have a maximum slop between them.
- NearSpansOrdered(SpanNearQuery, AtomicReaderContext, Bits, Map<Term, TermContext>) - Constructor for class org.apache.lucene.search.spans.NearSpansOrdered
-
- NearSpansOrdered(SpanNearQuery, AtomicReaderContext, Bits, Map<Term, TermContext>, boolean) - Constructor for class org.apache.lucene.search.spans.NearSpansOrdered
-
- NearSpansUnordered - Class in org.apache.lucene.search.spans
-
- NearSpansUnordered(SpanNearQuery, AtomicReaderContext, Bits, Map<Term, TermContext>) - Constructor for class org.apache.lucene.search.spans.NearSpansUnordered
-
- needsField(FieldInfo) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- needsField(FieldInfo) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Hook before processing a field.
- negate() - Method in class org.apache.lucene.search.FieldValueFilter
-
Returns true
iff this filter is negated, otherwise false
- newBuffer(byte[]) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- newBuffer(byte[]) - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- newBuffer(int) - Method in class org.apache.lucene.store.RAMFile
-
Expert: allocate a new buffer.
- newByteRange(String, Byte, Byte, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newByteRange(String, FieldCache.ByteParser, Byte, Byte, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newComparator(String, int, int, boolean) - Method in class org.apache.lucene.search.FieldComparatorSource
-
Creates a comparator for the field in the given index.
- newConcurrentHashMap() - Static method in class org.apache.lucene.util.WeakIdentityMap
-
- newCounter() - Static method in class org.apache.lucene.util.Counter
-
Returns a new counter.
- newCounter(boolean) - Static method in class org.apache.lucene.util.Counter
-
Returns a new counter.
- newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newDoubleRange(String, FieldCache.DoubleParser, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newDoubleRange(String, int, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
Factory that creates a
NumericRangeFilter
, that filters a
double
range using the given
precisionStep
.
- newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
- newDoubleRange(String, int, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
Factory that creates a
NumericRangeQuery
, that queries a
double
range using the given
precisionStep
.
- newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
- newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newFloatRange(String, FieldCache.FloatParser, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newFloatRange(String, int, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
Factory that creates a
NumericRangeFilter
, that filters a
float
range using the given
precisionStep
.
- newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
- newFloatRange(String, int, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
Factory that creates a
NumericRangeQuery
, that queries a
float
range using the given
precisionStep
.
- newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
- newFromArray(Object) - Method in class org.apache.lucene.codecs.DocValuesArraySource
-
- newFromInput(IndexInput, int) - Method in class org.apache.lucene.codecs.DocValuesArraySource
-
- newFSDirectory(String, File) - Static method in class org.apache.lucene.util.CommandLineUtil
-
Creates a specific FSDirectory instance starting from its class name
- newFSDirectory(Class<? extends FSDirectory>, File) - Static method in class org.apache.lucene.util.CommandLineUtil
-
Creates a new specific FSDirectory instance
- newHashMap() - Static method in class org.apache.lucene.util.WeakIdentityMap
-
Creates a new
WeakIdentityMap
based on a non-synchronized
HashMap
.
- newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newIntRange(String, FieldCache.IntParser, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newIntRange(String, int, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
Factory that creates a
NumericRangeFilter
, that filters a
int
range using the given
precisionStep
.
- newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
- newIntRange(String, int, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
Factory that creates a
NumericRangeQuery
, that queries a
int
range using the given
precisionStep
.
- newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
- newLiveDocs(int) - Method in class org.apache.lucene.codecs.LiveDocsFormat
-
Creates a new MutableBits, with all bits set, for the specified size.
- newLiveDocs(Bits) - Method in class org.apache.lucene.codecs.LiveDocsFormat
-
Creates a new mutablebits of the same bits set and size of existing.
- newLiveDocs(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
-
- newLiveDocs(Bits) - Method in class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
-
- newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newLongRange(String, FieldCache.LongParser, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newLongRange(String, int, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
Factory that creates a
NumericRangeFilter
, that filters a
long
range using the given
precisionStep
.
- newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
-
- newLongRange(String, int, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
Factory that creates a
NumericRangeQuery
, that queries a
long
range using the given
precisionStep
.
- newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
-
- newPair(A, B) - Method in class org.apache.lucene.util.fst.PairOutputs
-
Create a new Pair
- newRAMFile() - Method in class org.apache.lucene.store.RAMDirectory
-
Returns a new
RAMFile
for storing data.
- newSearcher(IndexReader) - Method in class org.apache.lucene.search.SearcherFactory
-
Returns a new IndexSearcher over the given reader.
- newShortRange(String, Short, Short, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newShortRange(String, FieldCache.ShortParser, Short, Short, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newSlice(int) - Method in class org.apache.lucene.util.ByteBlockPool
-
- newStats(String, float) - Method in class org.apache.lucene.search.similarities.LMSimilarity
-
- newStats(String, float) - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Factory method to return a custom stats object
- newString(int[], int, int) - Static method in class org.apache.lucene.util.UnicodeUtil
-
Cover JDK 1.5 API.
- newStringRange(String, String, String, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- newStringRange(String, String, String, boolean, boolean) - Static method in class org.apache.lucene.search.TermRangeFilter
-
Factory that creates a new TermRangeFilter using Strings for term text.
- newStringRange(String, String, String, boolean, boolean) - Static method in class org.apache.lucene.search.TermRangeQuery
-
Factory that creates a new TermRangeQuery using Strings for term text.
- newTermState() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
-
- newTermState() - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
Return a newly created empty TermState
- newThread(Runnable) - Method in class org.apache.lucene.util.NamedThreadFactory
-
- newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns a
TopDocs
instance containing the given results.
- newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopFieldCollector
-
- newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopScoreDocCollector
-
- next() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- next() - Method in class org.apache.lucene.index.FilteredTermsEnum
-
- next() - Method in class org.apache.lucene.index.MultiTermsEnum
-
- next() - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- next() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- next() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- next() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- next() - Method in class org.apache.lucene.search.spans.Spans
-
Move to the next match, returning true iff any such exists.
- next() - Method in class org.apache.lucene.search.spans.TermSpans
-
- next() - Method in interface org.apache.lucene.util.BytesRefIterator
-
Increments the iteration to the next
BytesRef
in the iterator.
- next() - Method in class org.apache.lucene.util.FilterIterator
-
- next() - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
- next() - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
- next() - Method in interface org.apache.lucene.util.packed.PackedInts.ReaderIterator
-
Returns next value
- next(int) - Method in interface org.apache.lucene.util.packed.PackedInts.ReaderIterator
-
Returns at least 1 and at most count
next values,
the returned ref MUST NOT be modified
- next() - Method in class org.apache.lucene.util.SPIClassIterator
-
- nextBuffer() - Method in class org.apache.lucene.util.ByteBlockPool
-
- nextDoc() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
- nextDoc() - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
-
- nextDoc() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
-
- nextDoc() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsEnum
-
- nextDoc() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
- nextDoc() - Method in class org.apache.lucene.index.MultiDocsEnum
-
- nextDoc() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- nextDoc() - Method in class org.apache.lucene.search.DocIdSetIterator
-
Advances to the next document in the set and returns the doc it is
currently on, or
DocIdSetIterator.NO_MORE_DOCS
if there are no more docs in the
set.
NOTE: after the iterator has exhausted you should not call this
method, as it may result in unpredicted behavior.
- nextDoc() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
-
- nextDoc() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- nextDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- nextDoc() - Method in class org.apache.lucene.util.OpenBitSetIterator
-
alternate shift implementations
// 32 bit shifts, but a long shift needed at the end
private void shift2() {
int y = (int)word;
if (y==0) {wordShift +=32; y = (int)(word >>>32); }
if ((y & 0x0000FFFF) == 0) { wordShift +=16; y>>>=16; }
if ((y & 0x000000FF) == 0) { wordShift +=8; y>>>=8; }
indexArray = bitlist[y & 0xff];
word >>>= (wordShift +1);
}
private void shift3() {
int lower = (int)word;
int lowByte = lower & 0xff;
if (lowByte != 0) {
indexArray=bitlist[lowByte];
return;
}
shift();
}
- nextFinalOutput - Variable in class org.apache.lucene.util.fst.Builder.Arc
-
- nextFinalOutput - Variable in class org.apache.lucene.util.fst.FST.Arc
-
- nextHighestPowerOfTwo(int) - Static method in class org.apache.lucene.util.BitUtil
-
returns the next highest power of two, or the current value if it's already a power of two or zero
- nextHighestPowerOfTwo(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns the next highest power of two, or the current value if it's already a power of two or zero
- nextLevelArray - Static variable in class org.apache.lucene.util.ByteBlockPool
-
- nextPosition() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
- nextPosition() - Method in class org.apache.lucene.index.DocsAndPositionsEnum
-
Returns the next position.
- nextPosition() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
-
- nextPosition() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
- nextSeekTerm(BytesRef) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
- nextSetBit(int) - Method in class org.apache.lucene.util.FixedBitSet
-
Returns the index of the first set bit starting at the index specified.
- nextSetBit(int) - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the index of the first set bit starting at the index specified.
- nextSetBit(long) - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the index of the first set bit starting at the index specified.
- nextTerm(FieldInfo, BlockTermState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
-
- nextTerm(FieldInfo, BlockTermState) - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
Actually decode metadata for next term
- NGramPhraseQuery - Class in org.apache.lucene.search
-
This is a
PhraseQuery
which is optimized for n-gram phrase query.
- NGramPhraseQuery(int) - Constructor for class org.apache.lucene.search.NGramPhraseQuery
-
Constructor that takes gram size.
- NIOFSDirectory - Class in org.apache.lucene.store
-
An
FSDirectory
implementation that uses java.nio's FileChannel's
positional read, which allows multiple threads to read from the same file
without synchronizing.
- NIOFSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.NIOFSDirectory
-
Create a new NIOFSDirectory for the named location.
- NIOFSDirectory(File) - Constructor for class org.apache.lucene.store.NIOFSDirectory
-
- NIOFSDirectory.NIOFSIndexInput - Class in org.apache.lucene.store
-
- NIOFSDirectory.NIOFSIndexInput(File, IOContext, int) - Constructor for class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- NIOFSDirectory.NIOFSIndexInput(String, File, RandomAccessFile, FileChannel, long, long, int, int) - Constructor for class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- nlz(long) - Static method in class org.apache.lucene.util.BitUtil
-
Returns the number of leading zero bits.
- nlzTable - Static variable in class org.apache.lucene.util.BitUtil
-
table of number of leading zeros in a byte
- NO - Static variable in class org.apache.lucene.index.SegmentInfo
-
Used by some member fields to mean not present (e.g.,
norms, deletions).
- NO_COMPOUND_FILES - Static variable in class org.apache.lucene.index.NoMergePolicy
-
A singleton
NoMergePolicy
which indicates the index does not use
compound files.
- NO_MORE_DOCS - Static variable in class org.apache.lucene.search.DocIdSetIterator
-
- NO_OUTPUT - Static variable in class org.apache.lucene.util.InfoStream
-
Instance of InfoStream that does no logging at all.
- noCFSRatio - Variable in class org.apache.lucene.index.LogMergePolicy
-
- nodeCount - Variable in class org.apache.lucene.util.fst.FST
-
- NoDeletionPolicy - Class in org.apache.lucene.index
-
- NoLockFactory - Class in org.apache.lucene.store
-
- NoMergePolicy - Class in org.apache.lucene.index
-
A
MergePolicy
which never returns merges to execute (hence it's
name).
- NoMergeScheduler - Class in org.apache.lucene.index
-
- NONE - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables no optional regexp syntax.
- nonFloorBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
The number of normal (non-floor) blocks in the terms file.
- NoOutputs - Class in org.apache.lucene.util.fst
-
A null FST
Outputs
implementation; use this if
you just want to build an FSA.
- Norm - Class in org.apache.lucene.index
-
- Norm() - Constructor for class org.apache.lucene.index.Norm
-
Sole constructor.
- normalization - Variable in class org.apache.lucene.search.similarities.DFRSimilarity
-
The term frequency normalization.
- normalization - Variable in class org.apache.lucene.search.similarities.IBSimilarity
-
The term frequency normalization.
- Normalization - Class in org.apache.lucene.search.similarities
-
This class acts as the base class for the implementations of the term
frequency normalization methods in the DFR framework.
- Normalization() - Constructor for class org.apache.lucene.search.similarities.Normalization
-
Sole constructor.
- Normalization.NoNormalization - Class in org.apache.lucene.search.similarities
-
Implementation used when there is no normalization.
- Normalization.NoNormalization() - Constructor for class org.apache.lucene.search.similarities.Normalization.NoNormalization
-
Sole constructor: parameter-free
- NormalizationH1 - Class in org.apache.lucene.search.similarities
-
Normalization model that assumes a uniform distribution of the term frequency.
- NormalizationH1(float) - Constructor for class org.apache.lucene.search.similarities.NormalizationH1
-
Creates NormalizationH1 with the supplied parameter c
.
- NormalizationH1() - Constructor for class org.apache.lucene.search.similarities.NormalizationH1
-
- NormalizationH2 - Class in org.apache.lucene.search.similarities
-
Normalization model in which the term frequency is inversely related to the
length.
- NormalizationH2(float) - Constructor for class org.apache.lucene.search.similarities.NormalizationH2
-
Creates NormalizationH2 with the supplied parameter c
.
- NormalizationH2() - Constructor for class org.apache.lucene.search.similarities.NormalizationH2
-
- NormalizationH3 - Class in org.apache.lucene.search.similarities
-
Dirichlet Priors normalization
- NormalizationH3() - Constructor for class org.apache.lucene.search.similarities.NormalizationH3
-
- NormalizationH3(float) - Constructor for class org.apache.lucene.search.similarities.NormalizationH3
-
Creates NormalizationH3 with the supplied parameter μ
.
- NormalizationZ - Class in org.apache.lucene.search.similarities
-
Pareto-Zipf Normalization
- NormalizationZ() - Constructor for class org.apache.lucene.search.similarities.NormalizationZ
-
- NormalizationZ(float) - Constructor for class org.apache.lucene.search.similarities.NormalizationZ
-
Creates NormalizationZ with the supplied parameter z
.
- normalize(float, float) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- normalize(float, float) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- normalize(float, float) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Apply the computed normalization factor to our subqueries
- normalize(float, float) - Method in class org.apache.lucene.search.similarities.BasicStats
-
No normalization is done.
- normalize(float, float) - Method in class org.apache.lucene.search.similarities.Similarity.SimWeight
-
Assigns the query normalization factor and boost from parent queries to this.
- normalize(float, float) - Method in class org.apache.lucene.search.spans.SpanWeight
-
- normalize(float, float) - Method in class org.apache.lucene.search.Weight
-
Assigns the query normalization factor and boost from parent queries to this.
- NORMGEN_KEY - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
Deprecated.
- NORMGEN_PREFIX - Static variable in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoFormat
-
Deprecated.
- normsFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes document normalization values
- normsFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- normsFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- normsFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- NormsFormat - Class in org.apache.lucene.codecs
-
format for normalization factors
- NormsFormat() - Constructor for class org.apache.lucene.codecs.NormsFormat
-
Sole constructor.
- normValues(String) - Method in class org.apache.lucene.index.AtomicReader
-
Returns
DocValues
for this field's normalization values.
- normValues(String) - Method in class org.apache.lucene.index.FilterAtomicReader
-
- normValues(String) - Method in class org.apache.lucene.index.ParallelAtomicReader
-
- normValues(String) - Method in class org.apache.lucene.index.SegmentReader
-
- normValues(String) - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- NoSuchDirectoryException - Exception in org.apache.lucene.store
-
This exception is thrown when you try to list a
non-existent directory.
- NoSuchDirectoryException(String) - Constructor for exception org.apache.lucene.store.NoSuchDirectoryException
-
- NRTCachingDirectory - Class in org.apache.lucene.store
-
Wraps a
RAMDirectory
around any provided delegate directory, to
be used during NRT search.
- NRTCachingDirectory(Directory, double, double) - Constructor for class org.apache.lucene.store.NRTCachingDirectory
-
We will cache a newly created output if 1) it's a
flush or a merge and the estimated size of the merged segment is <=
maxMergeSizeMB, and 2) the total cached bytes is <=
maxCachedMB
- NRTManager - Class in org.apache.lucene.search
-
Utility class to manage sharing near-real-time searchers
across multiple searching thread.
- NRTManager(NRTManager.TrackingIndexWriter, SearcherFactory) - Constructor for class org.apache.lucene.search.NRTManager
-
Create new NRTManager.
- NRTManager(NRTManager.TrackingIndexWriter, SearcherFactory, boolean) - Constructor for class org.apache.lucene.search.NRTManager
-
- NRTManager.TrackingIndexWriter - Class in org.apache.lucene.search
-
Class that tracks changes to a delegated
IndexWriter.
- NRTManager.TrackingIndexWriter(IndexWriter) - Constructor for class org.apache.lucene.search.NRTManager.TrackingIndexWriter
-
- NRTManager.WaitingListener - Interface in org.apache.lucene.search
-
NRTManager invokes this interface to notify it when a
caller is waiting for a specific generation searcher
to be visible.
- NRTManagerReopenThread - Class in org.apache.lucene.search
-
Utility class that runs a reopen thread to periodically
reopen the NRT searchers in the provided
NRTManager
.
- NRTManagerReopenThread(NRTManager, double, double) - Constructor for class org.apache.lucene.search.NRTManagerReopenThread
-
Create NRTManagerReopenThread, to periodically reopen the NRT searcher.
- ntz(long) - Static method in class org.apache.lucene.util.BitUtil
-
Returns number of trailing zeros in a 64 bit long value.
- ntz(int) - Static method in class org.apache.lucene.util.BitUtil
-
Returns number of trailing zeros in a 32 bit int value.
- ntz2(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns 0 based index of first set bit
(only works for x!=0)
This is an alternate implementation of ntz()
- ntz3(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns 0 based index of first set bit
This is an alternate implementation of ntz()
- ntzTable - Static variable in class org.apache.lucene.util.BitUtil
-
table of number of trailing zeros in a byte
- NUM_BYTES_ARRAY_HEADER - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
Number of bytes to represent an array header (no content, but with alignments).
- NUM_BYTES_BOOLEAN - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_BYTE - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_CHAR - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_DOUBLE - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_FLOAT - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_INT - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_LONG - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- NUM_BYTES_OBJECT_ALIGNMENT - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
A constant specifying the object alignment boundary inside the JVM.
- NUM_BYTES_OBJECT_HEADER - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
Number of bytes to represent an object header (no fields, no alignments).
- NUM_BYTES_OBJECT_REF - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
Number of bytes this jvm uses to represent an object reference.
- NUM_BYTES_SHORT - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
- numArcs - Variable in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- numBadSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
-
How many bad segments were found.
- number - Variable in class org.apache.lucene.index.FieldInfo
-
Internal field number
- numberOfDocuments - Variable in class org.apache.lucene.search.similarities.BasicStats
-
The number of documents.
- numberOfFieldTokens - Variable in class org.apache.lucene.search.similarities.BasicStats
-
The total number of tokens in the field.
- numberOfSkipLevels - Variable in class org.apache.lucene.codecs.MultiLevelSkipListWriter
-
number of levels in this skip list
- numBufferedBlocks() - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- numBuffers() - Method in class org.apache.lucene.store.RAMFile
-
- numDeleted - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Number of deleted documents.
- numDeletedDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of deleted documents.
- numDeletedDocs(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.IndexWriter
-
Obtain the number of deleted docs for a pooled reader.
- numDeletedDocs() - Method in class org.apache.lucene.index.MergeState.DocMap
-
Returns the number of deleted documents.
- numDocs() - Method in class org.apache.lucene.index.BaseCompositeReader
-
- numDocs() - Method in class org.apache.lucene.index.FilterAtomicReader
-
- numDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of documents in this index.
- numDocs() - Method in class org.apache.lucene.index.IndexWriter
-
Returns total number of docs in this index, including
docs not yet flushed (still in the RAM buffer), and
including deletions.
- numDocs() - Method in class org.apache.lucene.index.MergeState.DocMap
-
Returns the number of not-deleted documents.
- numDocs() - Method in class org.apache.lucene.index.ParallelAtomicReader
-
- numDocs() - Method in class org.apache.lucene.index.SegmentReader
-
- numDocs() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- numDocs - Variable in class org.apache.lucene.store.FlushInfo
-
- NUMERIC_UTILS_DOUBLE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
A parser instance for double values encoded with
NumericUtils
, e.g.
- NUMERIC_UTILS_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
A parser instance for float values encoded with
NumericUtils
, e.g.
- NUMERIC_UTILS_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
A parser instance for int values encoded by
NumericUtils
, e.g.
- NUMERIC_UTILS_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
A parser instance for long values encoded by
NumericUtils
, e.g.
- numericPrecisionStep() - Method in class org.apache.lucene.document.FieldType
-
Precision step for numeric field.
- NumericRangeFilter<T extends Number> - Class in org.apache.lucene.search
-
A
Filter
that only accepts numeric values within
a specified range.
- NumericRangeQuery<T extends Number> - Class in org.apache.lucene.search
-
A
Query
that matches numeric values within a
specified range.
- NumericTokenStream - Class in org.apache.lucene.analysis
-
- NumericTokenStream() - Constructor for class org.apache.lucene.analysis.NumericTokenStream
-
- NumericTokenStream(int) - Constructor for class org.apache.lucene.analysis.NumericTokenStream
-
Creates a token stream for numeric values with the specified
precisionStep
.
- NumericTokenStream(AttributeSource.AttributeFactory, int) - Constructor for class org.apache.lucene.analysis.NumericTokenStream
-
- NumericTokenStream.NumericTermAttribute - Interface in org.apache.lucene.analysis
-
Expert: Use this attribute to get the details of the currently generated token.
- NumericTokenStream.NumericTermAttributeImpl - Class in org.apache.lucene.analysis
-
- NumericTokenStream.NumericTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
Creates, but does not yet initialize this attribute instance
- numericType() - Method in class org.apache.lucene.document.FieldType
-
NumericType: if non-null then the field's value will be indexed
numerically so that
NumericRangeQuery
can be used at
search time.
- NumericUtils - Class in org.apache.lucene.util
-
This is a helper class to generate prefix-encoded representations for numerical values
and supplies converters to represent float/double values as sortable integers/longs.
- NumericUtils.IntRangeBuilder - Class in org.apache.lucene.util
-
- NumericUtils.IntRangeBuilder() - Constructor for class org.apache.lucene.util.NumericUtils.IntRangeBuilder
-
- NumericUtils.LongRangeBuilder - Class in org.apache.lucene.util
-
- NumericUtils.LongRangeBuilder() - Constructor for class org.apache.lucene.util.NumericUtils.LongRangeBuilder
-
- numericValue() - Method in class org.apache.lucene.document.Field
-
- numericValue() - Method in interface org.apache.lucene.index.IndexableField
-
Non-null if this field has a numeric value
- numFiles - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Number of files referenced by this segment.
- numOrd() - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
-
Returns total unique ord count; this includes +1 for
the null ord (always 0).
- numRamDocs() - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Return the number of documents currently
buffered in RAM.
- numSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Number of segments in the index.
- numTerms() - Method in class org.apache.lucene.index.DocTermOrds
-
Returns the number of terms in this field
- numTermsInField - Variable in class org.apache.lucene.index.DocTermOrds
-
Number of terms in the field.
- numTransitions - Variable in class org.apache.lucene.util.automaton.State
-
- numTransitions() - Method in class org.apache.lucene.util.automaton.State
-
- ramBytesUsed() - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- ramBytesUsed() - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
-
Return the in-memory size in bytes.
- RAMDirectory - Class in org.apache.lucene.store
-
- RAMDirectory() - Constructor for class org.apache.lucene.store.RAMDirectory
-
- RAMDirectory(Directory, IOContext) - Constructor for class org.apache.lucene.store.RAMDirectory
-
Creates a new RAMDirectory
instance from a different
Directory
implementation.
- RAMFile - Class in org.apache.lucene.store
-
Represents a file in RAM as a list of byte[] buffers.
- RAMFile() - Constructor for class org.apache.lucene.store.RAMFile
-
- RAMInputStream - Class in org.apache.lucene.store
-
- RAMInputStream(String, RAMFile) - Constructor for class org.apache.lucene.store.RAMInputStream
-
- RAMOutputStream - Class in org.apache.lucene.store
-
- RAMOutputStream() - Constructor for class org.apache.lucene.store.RAMOutputStream
-
Construct an empty output buffer.
- RAMOutputStream(RAMFile) - Constructor for class org.apache.lucene.store.RAMOutputStream
-
- ramSizeInBytes() - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Return the total size of all index files currently cached in memory.
- RamUsageEstimator - Class in org.apache.lucene.util
-
Estimates the size (memory representation) of Java objects.
- RamUsageEstimator.JvmFeature - Enum in org.apache.lucene.util
-
JVM diagnostic features.
- ramUsedInBytes() - Method in class org.apache.lucene.index.DocTermOrds
-
Returns total bytes used.
- RateLimiter - Class in org.apache.lucene.store
-
Simple class to rate limit IO.
- RateLimiter(double) - Constructor for class org.apache.lucene.store.RateLimiter
-
mbPerSec is the MB/sec max IO rate
- raw - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- rawDocs(int[], int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
-
Returns the length in bytes of each raw document in a
contiguous range of length numDocs starting with
startDocID.
- rawNormalizationValue() - Method in class org.apache.lucene.search.similarities.BasicStats
-
Computes the raw normalization value.
- read(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.FieldInfosReader
-
- read(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader
-
Deprecated.
- read(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40FieldInfosReader
-
- read(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader
-
- read(Directory, String, IOContext) - Method in class org.apache.lucene.codecs.SegmentInfoReader
-
- read(int[]) - Method in class org.apache.lucene.index.DocTermOrds.TermOrdsIterator
-
Buffer must be at least 5 ints long.
- read(Directory, String) - Method in class org.apache.lucene.index.SegmentInfos
-
Read a particular segmentFileName.
- read(Directory) - Method in class org.apache.lucene.index.SegmentInfos
-
- READ - Static variable in class org.apache.lucene.store.IOContext
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.CharSequenceOutputs
-
- read(File, Outputs<T>) - Static method in class org.apache.lucene.util.fst.FST
-
Reads an automaton from a file.
- read(DataInput) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.NoOutputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.Outputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.PairOutputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
- read(DataInput) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
-
- readBufferSize - Variable in class org.apache.lucene.store.CompoundFileDirectory
-
- readByte() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readByte() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readByte() - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readByte() - Method in class org.apache.lucene.store.DataInput
-
Reads and returns a single byte.
- readByte() - Method in class org.apache.lucene.store.InputStreamDataInput
-
- readByte() - Method in class org.apache.lucene.store.RAMInputStream
-
- readByte() - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.DataInput
-
Reads a specified number of bytes into an array at the specified offset.
- readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.DataInput
-
Reads a specified number of bytes into an array at the
specified offset with control over whether the read
should be buffered (callers who have their own buffer
should pass in "false" for useBuffer).
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.InputStreamDataInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.RAMInputStream
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
-
- reader() - Method in class org.apache.lucene.index.AtomicReaderContext
-
- reader() - Method in class org.apache.lucene.index.CompositeReaderContext
-
- reader() - Method in class org.apache.lucene.index.IndexReaderContext
-
- readerBase(int) - Method in class org.apache.lucene.index.BaseCompositeReader
-
Helper method for subclasses to get the docBase of the given sub-reader index.
- readerContext - Variable in class org.apache.lucene.search.IndexSearcher
-
- readerIndex(int) - Method in class org.apache.lucene.index.BaseCompositeReader
-
Helper method for subclasses to get the corresponding reader for a doc ID
- readerIndex - Variable in class org.apache.lucene.index.ReaderSlice
-
Sub-reader index for this slice.
- ReaderManager - Class in org.apache.lucene.index
-
Utility class to safely share
DirectoryReader
instances across
multiple threads, while periodically reopening.
- ReaderManager(IndexWriter, boolean) - Constructor for class org.apache.lucene.index.ReaderManager
-
Creates and returns a new ReaderManager from the given
IndexWriter
.
- ReaderManager(Directory) - Constructor for class org.apache.lucene.index.ReaderManager
-
Creates and returns a new ReaderManager from the given
Directory
.
- readerPooling - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
True if readers should be pooled.
- readers - Variable in class org.apache.lucene.index.MergeState
-
Readers being merged.
- ReaderSlice - Class in org.apache.lucene.index
-
Subreader slice from a parent composite reader.
- ReaderSlice(int, int, int) - Constructor for class org.apache.lucene.index.ReaderSlice
-
Sole constructor.
- ReaderUtil - Class in org.apache.lucene.index
-
- readerValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a Reader, or null.
- readerValue() - Method in interface org.apache.lucene.index.IndexableField
-
Non-null if this field has a Reader value
- readFirstRealTargetArc(int, FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
- readFirstTargetArc(FST.Arc<T>, FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
Follow the follow
arc and read the first arc of its target;
this changes the provided arc
(2nd arg) in-place and returns
it.
- readHeader(IndexInput) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
Reads terms file header.
- readIndexHeader(IndexInput) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
Reads index file header.
- readInt() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readInt() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readInt() - Method in class org.apache.lucene.store.DataInput
-
Reads four bytes and returns an int.
- readInternal(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Expert: implements buffer refill.
- readInternal(byte[], int, int) - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- readInternal(byte[], int, int) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
IndexInput methods
- readLastTargetArc(FST.Arc<T>, FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
Follows the follow
arc and reads the last
arc of its target; this changes the provided
arc
(2nd arg) in-place and returns it.
- readLegacyInfos(SegmentInfos, Directory, IndexInput, int) - Static method in class org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader
-
Deprecated.
- readLiveDocs(Directory, SegmentInfoPerCommit, IOContext) - Method in class org.apache.lucene.codecs.LiveDocsFormat
-
Read live docs bits.
- readLiveDocs(Directory, SegmentInfoPerCommit, IOContext) - Method in class org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat
-
- readLong() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readLong() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readLong() - Method in class org.apache.lucene.store.DataInput
-
Reads eight bytes and returns a long.
- readNextArc(FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
In-place read; returns the arc.
- readNextArcLabel(FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
Peeks at next arc's label; does not alter arc.
- readNextRealArc(FST.Arc<T>, FST.BytesReader) - Method in class org.apache.lucene.util.fst.FST
-
Never returns null, but you should never call this if
arc.isLast() is true.
- readOnce - Variable in class org.apache.lucene.store.IOContext
-
- READONCE - Static variable in class org.apache.lucene.store.IOContext
-
- readPayload - Variable in class org.apache.lucene.search.spans.TermSpans
-
- readShort() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readShort() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readShort() - Method in class org.apache.lucene.store.DataInput
-
Reads two bytes and returns a short.
- readSkipData(int, IndexInput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- readSkipData(int, IndexInput) - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Subclasses must implement the actual skip data encoding in this method.
- readSnapshotsInfo(Directory) - Static method in class org.apache.lucene.index.PersistentSnapshotDeletionPolicy
-
Reads the snapshots information from the given
Directory
.
- readString() - Method in class org.apache.lucene.store.DataInput
-
Reads a string.
- readStringSet() - Method in class org.apache.lucene.store.DataInput
-
- readStringStringMap() - Method in class org.apache.lucene.store.DataInput
-
- readTermsBlock(IndexInput, FieldInfo, BlockTermState) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
-
- readTermsBlock(IndexInput, FieldInfo, BlockTermState) - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
- readVInt() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readVInt() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readVInt() - Method in class org.apache.lucene.store.DataInput
-
Reads an int stored in variable-length format.
- readVLong() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readVLong() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- readVLong() - Method in class org.apache.lucene.store.DataInput
-
Reads a long stored in variable-length format.
- realPrefixLength - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- record(IndexSearcher) - Method in class org.apache.lucene.search.SearcherLifetimeManager
-
Records that you are now using this IndexSearcher.
- recycleByteBlocks(byte[][], int, int) - Method in class org.apache.lucene.util.ByteBlockPool.Allocator
-
- recycleByteBlocks(List<byte[]>) - Method in class org.apache.lucene.util.ByteBlockPool.Allocator
-
- recycleByteBlocks(byte[][], int, int) - Method in class org.apache.lucene.util.ByteBlockPool.DirectAllocator
-
- recycleByteBlocks(byte[][], int, int) - Method in class org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
-
- recycleByteBlocks(byte[][], int, int) - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- RecyclingByteBlockAllocator - Class in org.apache.lucene.util
-
- RecyclingByteBlockAllocator(int, int, AtomicLong) - Constructor for class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- RecyclingByteBlockAllocator(int, int) - Constructor for class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- RecyclingByteBlockAllocator() - Constructor for class org.apache.lucene.util.RecyclingByteBlockAllocator
-
- reduce() - Method in class org.apache.lucene.util.automaton.Automaton
-
Reduces this automaton.
- reduce() - Method in class org.apache.lucene.util.automaton.State
-
Reduces this state.
- ReferenceManager<G> - Class in org.apache.lucene.search
-
Utility class to safely share instances of a certain type across multiple
threads, while periodically refreshing them.
- ReferenceManager() - Constructor for class org.apache.lucene.search.ReferenceManager
-
- reflect(Class<? extends Attribute>, String, Object) - Method in interface org.apache.lucene.util.AttributeReflector
-
- reflectAsString(boolean) - Method in class org.apache.lucene.util.AttributeImpl
-
This method returns the current attribute values as a string in the following format
by calling the
AttributeImpl.reflectWith(AttributeReflector)
method:
iff prependAttClass=true
: "AttributeClass#key=value,AttributeClass#key=value"
iff prependAttClass=false
: "key=value,key=value"
- reflectAsString(boolean) - Method in class org.apache.lucene.util.AttributeSource
-
This method returns the current attribute values as a string in the following format
by calling the
AttributeSource.reflectWith(AttributeReflector)
method:
iff prependAttClass=true
: "AttributeClass#key=value,AttributeClass#key=value"
iff prependAttClass=false
: "key=value,key=value"
- reflectWith(AttributeReflector) - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- reflectWith(AttributeReflector) - Method in class org.apache.lucene.analysis.Token
-
- reflectWith(AttributeReflector) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- reflectWith(AttributeReflector) - Method in class org.apache.lucene.util.AttributeImpl
-
This method is for introspection of attributes, it should simply
add the key/values this attribute holds to the given
AttributeReflector
.
- reflectWith(AttributeReflector) - Method in class org.apache.lucene.util.AttributeSource
-
This method is for introspection of attributes, it should simply
add the key/values this AttributeSource holds to the given
AttributeReflector
.
- refreshIfNeeded(DirectoryReader) - Method in class org.apache.lucene.index.ReaderManager
-
- refreshIfNeeded(IndexSearcher) - Method in class org.apache.lucene.search.NRTManager
-
- refreshIfNeeded(G) - Method in class org.apache.lucene.search.ReferenceManager
-
Refresh the given reference if needed.
- refreshIfNeeded(IndexSearcher) - Method in class org.apache.lucene.search.SearcherManager
-
- RegExp - Class in org.apache.lucene.util.automaton
-
Regular Expression extension to Automaton
.
- RegExp(String) - Constructor for class org.apache.lucene.util.automaton.RegExp
-
Constructs new RegExp
from a string.
- RegExp(String, int) - Constructor for class org.apache.lucene.util.automaton.RegExp
-
Constructs new RegExp
from a string.
- RegexpQuery - Class in org.apache.lucene.search
-
- RegexpQuery(Term) - Constructor for class org.apache.lucene.search.RegexpQuery
-
Constructs a query for terms matching term
.
- RegexpQuery(Term, int) - Constructor for class org.apache.lucene.search.RegexpQuery
-
Constructs a query for terms matching term
.
- RegexpQuery(Term, int, AutomatonProvider) - Constructor for class org.apache.lucene.search.RegexpQuery
-
Constructs a query for terms matching term
.
- register(TermState, int, int, long) - Method in class org.apache.lucene.index.TermContext
-
Registers and associates a
TermState
with an leaf ordinal.
- registerParentReader(IndexReader) - Method in class org.apache.lucene.index.IndexReader
-
Expert: This method is called by IndexReader
s which wrap other readers
(e.g.
- registerSnapshotInfo(String, String, IndexCommit) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Registers the given snapshot information.
- rehash() - Method in class org.apache.lucene.util.SentinelIntSet
-
- rehashCount - Variable in class org.apache.lucene.util.SentinelIntSet
-
- reinit(char[], int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(char[], int, int, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(Token) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one.
- reinit(Token, String) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one, with a different term.
- reinit(Token, char[], int, int) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one, with a different term.
- reinit() - Method in class org.apache.lucene.util.BytesRefHash
-
- relationship - Variable in class org.apache.lucene.search.Scorer.ChildScorer
-
An arbitrary string relating this scorer to the parent.
- release(String) - Method in class org.apache.lucene.index.PersistentSnapshotDeletionPolicy
-
Deletes a snapshotted commit by ID.
- release(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Release a snapshotted commit by ID.
- release(G) - Method in class org.apache.lucene.search.ReferenceManager
-
- release(IndexSearcher) - Method in class org.apache.lucene.search.SearcherLifetimeManager
-
- release() - Method in class org.apache.lucene.store.Lock
-
Releases exclusive access.
- RELEVANCE - Static variable in class org.apache.lucene.search.Sort
-
Represents sorting by computed relevance.
- reload(ClassLoader) - Method in class org.apache.lucene.util.NamedSPILoader
-
Reloads the internal SPI list from the given
ClassLoader
.
- reloadCodecs(ClassLoader) - Static method in class org.apache.lucene.codecs.Codec
-
- reloadPostingsFormats(ClassLoader) - Static method in class org.apache.lucene.codecs.PostingsFormat
-
Reloads the postings format list from the given
ClassLoader
.
- remap(int) - Method in class org.apache.lucene.index.MergeState.DocMap
-
Returns the mapped docID corresponding to the provided one.
- remove(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.SegmentInfos
-
- remove() - Method in class org.apache.lucene.util.FilterIterator
-
- remove(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
-
Remove all elements set in other.
- remove() - Method in class org.apache.lucene.util.SPIClassIterator
-
- remove(Object) - Method in class org.apache.lucene.util.WeakIdentityMap
-
Removes the mapping for a key from this weak hash map if it is present.
- removeCoreClosedListener(SegmentReader.CoreClosedListener) - Method in class org.apache.lucene.index.SegmentReader
-
Expert: removes a CoreClosedListener from this reader's shared core
- removeDeadTransitions() - Method in class org.apache.lucene.util.automaton.Automaton
-
- removeField(String) - Method in class org.apache.lucene.document.Document
-
Removes field with the specified name from the document.
- removeFields(String) - Method in class org.apache.lucene.document.Document
-
Removes all fields with the given name from the document.
- removeReaderClosedListener(IndexReader.ReaderClosedListener) - Method in class org.apache.lucene.index.IndexReader
-
- removeWaitingListener(NRTManager.WaitingListener) - Method in class org.apache.lucene.search.NRTManager
-
- renameFile(String, String) - Method in class org.apache.lucene.store.CompoundFileDirectory
-
Not implemented
- repeat() - Method in class org.apache.lucene.util.automaton.Automaton
-
- repeat(int) - Method in class org.apache.lucene.util.automaton.Automaton
-
- repeat(int, int) - Method in class org.apache.lucene.util.automaton.Automaton
-
- repeat(Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns an automaton that accepts the Kleene star (zero or more
concatenated repetitions) of the language of the given automaton.
- repeat(Automaton, int) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns an automaton that accepts min
or more concatenated
repetitions of the language of the given automaton.
- repeat(Automaton, int, int) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns an automaton that accepts between min
and
max
(including both) concatenated repetitions of the language
of the given automaton.
- replaceLast(int, Builder.Node, T, boolean) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- replay(Collector) - Method in class org.apache.lucene.search.CachingCollector
-
Replays the cached doc IDs (and scores) to the given Collector.
- reset() - Method in class org.apache.lucene.analysis.CachingTokenFilter
-
Rewinds the iterator to the beginning of the cached list.
- reset() - Method in class org.apache.lucene.analysis.NumericTokenStream
-
- reset() - Method in class org.apache.lucene.analysis.TokenFilter
-
- reset() - Method in class org.apache.lucene.analysis.TokenStream
-
- reset(int) - Method in class org.apache.lucene.index.DocTermOrds.TermOrdsIterator
-
Reset the iterator on a new document.
- reset(MultiDocsAndPositionsEnum.EnumWithSlice[], int) - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
Rre-use and reset this instance on the provided slices.
- reset(MultiTermsEnum.TermsEnumIndex[]) - Method in class org.apache.lucene.index.MultiTermsEnum
-
- reset(byte[]) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- reset(byte[], int, int) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- reset(byte[]) - Method in class org.apache.lucene.store.ByteArrayDataOutput
-
- reset(byte[], int, int) - Method in class org.apache.lucene.store.ByteArrayDataOutput
-
- reset() - Method in class org.apache.lucene.store.RAMOutputStream
-
Resets this to an empty file.
- reset() - Method in class org.apache.lucene.util.ByteBlockPool
-
- resetSkip() - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
-
- resetSkip() - Method in class org.apache.lucene.codecs.MultiLevelSkipListWriter
-
Creates new buffers or empties the existing ones
- resize(int) - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- resizeBuffer(int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Grows the termBuffer to at least size newSize, preserving the
existing content.
- resizeBuffer(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- restoreInvariant() - Method in class org.apache.lucene.util.automaton.Automaton
-
Restores representation invariant.
- restoreState(AttributeSource.State) - Method in class org.apache.lucene.util.AttributeSource
-
Restores this state by copying the values of all attribute implementations
that this state contains into the attributes implementations of the targetStream.
- reverse(Automaton) - Static method in class org.apache.lucene.util.automaton.SpecialOperations
-
Reverses the language of the given (non-singleton) automaton while returning
the set of new initial states.
- reverseMul - Variable in class org.apache.lucene.search.FieldValueHitQueue
-
- rewind() - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.BooleanQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.ConstantScoreQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Optimize our representation and our subqueries representations
- rewrite(IndexReader) - Method in class org.apache.lucene.search.FilteredQuery
-
Rewrites the query.
- rewrite(Query) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: called to re-write queries into primitive queries.
- rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiTermQuery
-
- rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.NGramPhraseQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.PhraseQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.Query
-
Expert: called to re-write queries into primitive queries.
- rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.ScoringRewrite
-
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.Sort
-
Rewrites the SortFields in this Sort, returning a new Sort if any of the fields
changes during their rewriting.
- rewrite(IndexSearcher) - Method in class org.apache.lucene.search.SortField
-
Rewrites this SortField, returning a new SortField if a change is made.
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
- rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
-
- rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery
-
- rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.TopTermsRewrite
-
- rewriteMethod - Variable in class org.apache.lucene.search.MultiTermQuery
-
- rollback() - Method in class org.apache.lucene.index.IndexWriter
-
Close the IndexWriter
without committing
any changes that have occurred since the last commit
(or since it was opened, if commit hasn't been called).
- rollback() - Method in interface org.apache.lucene.index.TwoPhaseCommit
-
Discards any changes that have occurred since the last commit.
- rollback() - Method in class org.apache.lucene.index.TwoPhaseCommitTool.TwoPhaseCommitWrapper
-
- round(Date, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Limit a date's resolution.
- round(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Limit a date's resolution.
- run() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- run() - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
- run(IndexCommit) - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
- run() - Method in class org.apache.lucene.search.NRTManagerReopenThread
-
- run() - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- run() - Method in class org.apache.lucene.store.Lock.With
-
- run(Automaton, String) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if the given string is accepted by the automaton.
- run(byte[], int, int) - Method in class org.apache.lucene.util.automaton.ByteRunAutomaton
-
Returns true if the given byte array is accepted by this automaton
- run(String) - Method in class org.apache.lucene.util.automaton.CharacterRunAutomaton
-
Returns true if the given string is accepted by this automaton.
- run(char[], int, int) - Method in class org.apache.lucene.util.automaton.CharacterRunAutomaton
-
Returns true if the given string is accepted by this automaton
- runAutomaton - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
-
Matcher for quickly determining if a byte[] is accepted.
- RunAutomaton - Class in org.apache.lucene.util.automaton
-
Finite-state automaton with fast run operation.
- RunAutomaton(Automaton, int, boolean) - Constructor for class org.apache.lucene.util.automaton.RunAutomaton
-
Constructs a new RunAutomaton
from a deterministic
Automaton
.
- sameLanguage(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if these two automata accept exactly the
same language.
- save(DataOutput) - Method in class org.apache.lucene.util.fst.FST
-
- save(File) - Method in class org.apache.lucene.util.fst.FST
-
Writes an automaton to a file.
- save(DataOutput) - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- save(DataOutput) - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
-
Save this mutable into out
.
- scale_factor - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- score(List<SegmentInfoPerCommit>, boolean, long) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Expert: scores one merge; subclasses can override.
- score() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score(Collector) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score(Collector, int, int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- score() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- score(Collector, int, int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score(Collector) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score - Variable in class org.apache.lucene.search.ScoreDoc
-
The score of this document for the query.
- score(Collector) - Method in class org.apache.lucene.search.Scorer
-
Scores and collects all matching documents.
- score(Collector, int, int) - Method in class org.apache.lucene.search.Scorer
-
Expert: Collects matching documents in a range.
- score() - Method in class org.apache.lucene.search.Scorer
-
Returns the score of the current document matching the query.
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffect.NoAfterEffect
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffect
-
Returns the aftereffect score.
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffectB
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.AfterEffectL
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModel
-
Returns the informative content score.
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelBE
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelD
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelG
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelIF
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelIn
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelIne
-
- score(BasicStats, float) - Method in class org.apache.lucene.search.similarities.BasicModelP
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.DFRSimilarity
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Distribution
-
Computes the score.
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.DistributionLL
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.DistributionSPL
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.IBSimilarity
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.LMDirichletSimilarity
-
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.LMJelinekMercerSimilarity
-
- score(int, int) - Method in class org.apache.lucene.search.similarities.Similarity.ExactSimScorer
-
Score a single document
- score(int, float) - Method in class org.apache.lucene.search.similarities.Similarity.SloppySimScorer
-
Score a single document
- score(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Scores the document doc
.
- score() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- ScoreCachingWrappingScorer - Class in org.apache.lucene.search
-
A
Scorer
which wraps another scorer and caches the score of the
current document.
- ScoreCachingWrappingScorer(Scorer) - Constructor for class org.apache.lucene.search.ScoreCachingWrappingScorer
-
Creates a new instance by wrapping the given scorer.
- ScoreDoc - Class in org.apache.lucene.search
-
- ScoreDoc(int, float) - Constructor for class org.apache.lucene.search.ScoreDoc
-
Constructs a ScoreDoc.
- ScoreDoc(int, float, int) - Constructor for class org.apache.lucene.search.ScoreDoc
-
Constructs a ScoreDoc.
- scoreDocs - Variable in class org.apache.lucene.search.TopDocs
-
The top hits for the query.
- scorePayload(int, int, int, BytesRef) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
The default implementation returns 1
- scorePayload(int, int, int, BytesRef) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
The default implementation returns 1
- scorePayload(int, int, int, BytesRef) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Calculate a scoring factor based on the data in the payload.
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Create the scorer used to score our associated DisjunctionMaxQuery
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
-
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
-
- Scorer - Class in org.apache.lucene.search
-
Expert: Common scoring functionality for different types of queries.
- Scorer(Weight) - Constructor for class org.apache.lucene.search.Scorer
-
Constructs a Scorer
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.spans.SpanWeight
-
- scorer(AtomicReaderContext, boolean, boolean, Bits) - Method in class org.apache.lucene.search.Weight
-
Returns a
Scorer
which scores documents in/out-of order according
to
scoreDocsInOrder
.
- Scorer.ChildScorer - Class in org.apache.lucene.search
-
A child Scorer and its relationship to its parent.
- Scorer.ChildScorer(Scorer, String) - Constructor for class org.apache.lucene.search.Scorer.ChildScorer
-
Creates a new ChildScorer node with the specified relationship.
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.Weight
-
Returns true iff this implementation scores docs only out of order.
- SCORING_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a
BooleanQuery, and keeps the scores as computed by the
query.
- SCORING_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.ScoringRewrite
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a
BooleanQuery, and keeps the scores as computed by the
query.
- SCORING_SPAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the
scores as computed by the query.
- ScoringRewrite<Q extends Query> - Class in org.apache.lucene.search
-
Base rewrite method that translates each term into a query, and keeps
the scores as computed by the query.
- ScoringRewrite() - Constructor for class org.apache.lucene.search.ScoringRewrite
-
- search(Query, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
.
- search(Query, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
, applying filter
if non-null.
- search(Query, Filter, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- search(Query, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Search implementation with arbitrary sorting.
- search(Query, Filter, int, Sort, boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
Search implementation with arbitrary sorting, plus
control over whether hit scores and max score
should be computed.
- search(Query, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Search implementation with arbitrary sorting and no filter.
- search(Weight, ScoreDoc, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation.
- search(List<AtomicReaderContext>, Weight, ScoreDoc, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation.
- search(Weight, int, Sort, boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation with arbitrary
sorting and control over whether hit scores and max
score should be computed.
- search(Weight, FieldDoc, int, Sort, boolean, boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(List<AtomicReaderContext>, Weight, FieldDoc, int, Sort, boolean, boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(List<AtomicReaderContext>, Weight, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- searchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
where all results are after a previous
result (after
).
- searchAfter(ScoreDoc, Query, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
, applying filter
if non-null,
where all results are after a previous result (after
).
- searchAfter(ScoreDoc, Query, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
, applying filter
if non-null,
where all results are after a previous result (after
).
- searchAfter(ScoreDoc, Query, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
where all results are after a previous
result (after
).
- searchAfter(ScoreDoc, Query, Filter, int, Sort, boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
where all results are after a previous
result (after
), allowing control over
whether hit scores and max score should be computed.
- SearcherFactory - Class in org.apache.lucene.search
-
- SearcherFactory() - Constructor for class org.apache.lucene.search.SearcherFactory
-
- SearcherLifetimeManager - Class in org.apache.lucene.search
-
Keeps track of current plus old IndexSearchers, closing
the old ones once they have timed out.
- SearcherLifetimeManager() - Constructor for class org.apache.lucene.search.SearcherLifetimeManager
-
- SearcherLifetimeManager.PruneByAge - Class in org.apache.lucene.search
-
Simple pruner that drops any searcher older by
more than the specified seconds, than the newest
searcher.
- SearcherLifetimeManager.PruneByAge(double) - Constructor for class org.apache.lucene.search.SearcherLifetimeManager.PruneByAge
-
- SearcherLifetimeManager.Pruner - Interface in org.apache.lucene.search
-
- SearcherManager - Class in org.apache.lucene.search
-
Utility class to safely share
IndexSearcher
instances across multiple
threads, while periodically reopening.
- SearcherManager(IndexWriter, boolean, SearcherFactory) - Constructor for class org.apache.lucene.search.SearcherManager
-
Creates and returns a new SearcherManager from the given
IndexWriter
.
- SearcherManager(Directory, SearcherFactory) - Constructor for class org.apache.lucene.search.SearcherManager
-
Creates and returns a new SearcherManager from the given
Directory
.
- second - Variable in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
-
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexOutput
-
Sets current position in this file, where the next write will occur.
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- seek(long) - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
Random-access methods
- seek(long) - Method in class org.apache.lucene.store.IndexInput
-
Sets current position in this file, where the next read will occur.
- seek(long) - Method in class org.apache.lucene.store.IndexOutput
-
Sets current position in this file, where the next write will occur.
- seek(long) - Method in class org.apache.lucene.store.RAMInputStream
-
- seek(long) - Method in class org.apache.lucene.store.RAMOutputStream
-
- seekCeil(BytesRef, boolean) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- seekCeil(BytesRef, boolean) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
This enum does not support seeking!
- seekCeil(BytesRef, boolean) - Method in class org.apache.lucene.index.MultiTermsEnum
-
- seekCeil(BytesRef, boolean) - Method in class org.apache.lucene.index.TermsEnum
-
Expert: just like
TermsEnum.seekCeil(BytesRef)
but allows
you to control whether the implementation should
attempt to use its term cache (if it uses one).
- seekCeil(BytesRef) - Method in class org.apache.lucene.index.TermsEnum
-
Seeks to the specified term, if it exists, or to the
next (ceiling) term.
- seekCeil(BytesRef, boolean) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- seekCeil(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to smallest term that's >= target.
- seekCeil(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to smallest term that's >= target.
- seekChild(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- seekChild(int) - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Seeks the skip entry on the given level
- seekDir(IndexInput, long) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
Seek input
to the directory offset.
- seekExact(BytesRef, boolean) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- seekExact(long) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- seekExact(BytesRef, TermState) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- seekExact(BytesRef, boolean) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
This enum does not support seeking!
- seekExact(long) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
This enum does not support seeking!
- seekExact(BytesRef, TermState) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
This enum does not support seeking!
- seekExact(BytesRef, boolean) - Method in class org.apache.lucene.index.MultiTermsEnum
-
- seekExact(long) - Method in class org.apache.lucene.index.MultiTermsEnum
-
- seekExact(BytesRef, boolean) - Method in class org.apache.lucene.index.TermsEnum
-
Attempts to seek to the exact term, returning
true if the term is found.
- seekExact(long) - Method in class org.apache.lucene.index.TermsEnum
-
Seeks to the specified term by ordinal (position) as
previously returned by
TermsEnum.ord()
.
- seekExact(BytesRef, TermState) - Method in class org.apache.lucene.index.TermsEnum
-
- seekExact(BytesRef, TermState) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- seekExact(BytesRef, boolean) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- seekExact(long) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- seekExact(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to exactly this term, returning null if the term
doesn't exist.
- seekExact(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to exactly this term, returning null if the term
doesn't exist.
- seekFloor(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to biggest term that's <= target.
- seekFloor(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to biggest term that's <= target.
- seekInternal(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Expert: implements seek.
- seekInternal(long) - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- seekInternal(long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- segDeletes - Variable in class org.apache.lucene.index.SegmentWriteState
-
Deletes to apply while we are flushing the segment.
- segment - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Segment name.
- segmentFileName(String, String, String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Returns a file name that includes the given segment name, your own custom
name and extension.
- segmentInfo - Variable in class org.apache.lucene.index.MergeState
-
- segmentInfo - Variable in class org.apache.lucene.index.PerDocWriteState
-
- SegmentInfo - Class in org.apache.lucene.index
-
Information about a segment such as it's name, directory, and files related
to the segment.
- SegmentInfo(Directory, String, String, int, boolean, Codec, Map<String, String>, Map<String, String>) - Constructor for class org.apache.lucene.index.SegmentInfo
-
Construct a new complete SegmentInfo instance from input.
- segmentInfo - Variable in class org.apache.lucene.index.SegmentReadState
-
- segmentInfo - Variable in class org.apache.lucene.index.SegmentWriteState
-
- segmentInfoFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes segment info file
- segmentInfoFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- segmentInfoFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- SegmentInfoFormat - Class in org.apache.lucene.codecs
-
Expert: Controls the format of the
SegmentInfo
(segment metadata file).
- SegmentInfoFormat() - Constructor for class org.apache.lucene.codecs.SegmentInfoFormat
-
Sole constructor.
- SegmentInfoPerCommit - Class in org.apache.lucene.index
-
Embeds a [read-only] SegmentInfo and adds per-commit
fields.
- SegmentInfoPerCommit(SegmentInfo, int, long) - Constructor for class org.apache.lucene.index.SegmentInfoPerCommit
-
Sole constructor.
- SegmentInfoReader - Class in org.apache.lucene.codecs
-
Specifies an API for classes that can read
SegmentInfo
information.
- SegmentInfoReader() - Constructor for class org.apache.lucene.codecs.SegmentInfoReader
-
Sole constructor.
- segmentInfos - Variable in class org.apache.lucene.index.CheckIndex.Status
-
- SegmentInfos - Class in org.apache.lucene.index
-
A collection of segmentInfo objects with methods for operating on
those segments in relation to the file system.
- SegmentInfos() - Constructor for class org.apache.lucene.index.SegmentInfos
-
Sole constructor.
- SegmentInfos.FindSegmentsFile - Class in org.apache.lucene.index
-
Utility class for executing code that needs to do
something with the current segments file.
- SegmentInfos.FindSegmentsFile(Directory) - Constructor for class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
Sole constructor.
- SegmentInfoWriter - Class in org.apache.lucene.codecs
-
Specifies an API for classes that can write out
SegmentInfo
data.
- SegmentInfoWriter() - Constructor for class org.apache.lucene.codecs.SegmentInfoWriter
-
Sole constructor.
- segmentName - Variable in class org.apache.lucene.codecs.lucene40.values.DocValuesWriterBase
-
Segment name to use when writing files.
- SegmentReader - Class in org.apache.lucene.index
-
IndexReader implementation over a single segment.
- SegmentReader(SegmentInfoPerCommit, int, IOContext) - Constructor for class org.apache.lucene.index.SegmentReader
-
Constructs a new SegmentReader with a new core.
- SegmentReader.CoreClosedListener - Interface in org.apache.lucene.index
-
Called when the shared core for this SegmentReader
is closed.
- SegmentReadState - Class in org.apache.lucene.index
-
Holder class for common parameters used during read.
- SegmentReadState(Directory, SegmentInfo, FieldInfos, IOContext, int) - Constructor for class org.apache.lucene.index.SegmentReadState
-
Create a SegmentReadState
.
- SegmentReadState(Directory, SegmentInfo, FieldInfos, IOContext, int, String) - Constructor for class org.apache.lucene.index.SegmentReadState
-
Create a SegmentReadState
.
- SegmentReadState(SegmentReadState, String) - Constructor for class org.apache.lucene.index.SegmentReadState
-
Create a SegmentReadState
.
- SEGMENTS - Static variable in class org.apache.lucene.index.IndexFileNames
-
Name of the index segment file
- segments - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
-
Segments to be merged.
- SEGMENTS_GEN - Static variable in class org.apache.lucene.index.IndexFileNames
-
Name of the generation reference file name
- segmentsChecked - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Empty unless you passed specific segments list to check as optional 3rd argument.
- segmentsFileName - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Name of latest segments_N file in the index.
- segmentSuffix - Variable in class org.apache.lucene.index.PerDocWriteState
-
- segmentSuffix - Variable in class org.apache.lucene.index.SegmentReadState
-
Unique suffix for any postings files read for this
segment.
- segmentSuffix - Variable in class org.apache.lucene.index.SegmentWriteState
-
Unique suffix for any postings files written for this
segment.
- SegmentWriteState - Class in org.apache.lucene.index
-
Holder class for common parameters used during write.
- SegmentWriteState(InfoStream, Directory, SegmentInfo, FieldInfos, int, BufferedDeletes, IOContext) - Constructor for class org.apache.lucene.index.SegmentWriteState
-
Sole constructor.
- SegmentWriteState(SegmentWriteState, String) - Constructor for class org.apache.lucene.index.SegmentWriteState
-
- segString() - Method in class org.apache.lucene.index.IndexWriter
-
Returns a string description of all segments, for
debugging.
- segString(Iterable<SegmentInfoPerCommit>) - Method in class org.apache.lucene.index.IndexWriter
-
Returns a string description of the specified
segments, for debugging.
- segString(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.IndexWriter
-
Returns a string description of the specified
segment, for debugging.
- segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
Returns a description of the merges in this
specification.
- segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Returns a readable description of the current merge
state.
- SentinelIntSet - Class in org.apache.lucene.util
-
A native int set where one value is reserved to mean "EMPTY"
- SentinelIntSet(int, int) - Constructor for class org.apache.lucene.util.SentinelIntSet
-
- SerialMergeScheduler - Class in org.apache.lucene.index
-
A
MergeScheduler
that simply does each merge
sequentially, using the current thread.
- SerialMergeScheduler() - Constructor for class org.apache.lucene.index.SerialMergeScheduler
-
Sole constructor.
- set(T) - Method in class org.apache.lucene.util.CloseableThreadLocal
-
- set(int) - Method in class org.apache.lucene.util.FixedBitSet
-
- set(int, int) - Method in class org.apache.lucene.util.FixedBitSet
-
Sets a range of bits
- set(long) - Method in class org.apache.lucene.util.OpenBitSet
-
sets a bit, expanding the set size if necessary
- set(long, long) - Method in class org.apache.lucene.util.OpenBitSet
-
Sets a range of bits, expanding the set size if necessary
- set(int, long) - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- set(int, long[], int, int) - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- set(int, long) - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
-
Set the value at the given index in the array.
- set(int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
-
Bulk set: set at least one and at most len
longs starting
at off
in arr
into this mutable, starting at
index
.
- set(T) - Method in class org.apache.lucene.util.SetOnce
-
Sets the given object.
- setAccept(boolean) - Method in class org.apache.lucene.util.automaton.State
-
Sets acceptance for this state.
- setActualDocFreq(int, int) - Method in class org.apache.lucene.index.DocTermOrds
-
- setAllowArrayArcs(boolean) - Method in class org.apache.lucene.util.fst.Builder
-
Pass false to disable the array arc optimization
while building the FST; this will make the resulting
FST smaller but slower to traverse.
- setAllowArrayArcs(boolean) - Method in class org.apache.lucene.util.fst.FST
-
- setAllowMutate(boolean) - Static method in class org.apache.lucene.util.automaton.Automaton
-
Sets or resets allow mutate flag.
- setAllowMutate(boolean) - Method in class org.apache.lucene.util.automaton.RegExp
-
Sets or resets allow mutate flag.
- setAvgFieldLength(float) - Method in class org.apache.lucene.search.similarities.BasicStats
-
Sets the average field length.
- setBaseline(long) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
Sets the baseline for this collector.
- setBaseline() - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setBits(long[]) - Method in class org.apache.lucene.util.OpenBitSet
-
Expert: sets a new long[] to use as the bit storage
- setBoost(float) - Method in class org.apache.lucene.document.Field
-
Sets the boost factor on this field.
- setBoost(float) - Method in class org.apache.lucene.index.FieldInvertState
-
Set boost value.
- setBoost(float) - Method in interface org.apache.lucene.search.BoostAttribute
-
Sets the boost in this attribute
- setBoost(float) - Method in class org.apache.lucene.search.BoostAttributeImpl
-
- setBoost(float) - Method in class org.apache.lucene.search.Query
-
Sets the boost for this query clause to b
.
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator
-
Set the bottom slot, ie the "weakest" (sorted last)
entry in the queue.
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
-
- setBufferSize(int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Change the buffer size used by this IndexInput
- setByte(byte) - Method in class org.apache.lucene.index.Norm
-
Sets a byte norm value
- setBytes(BytesRef) - Method in class org.apache.lucene.index.Norm
-
Sets a fixed byte array norm value
- setBytesComparator(Comparator<BytesRef>) - Method in class org.apache.lucene.search.SortField
-
- setBytesRef(BytesRef, int) - Method in class org.apache.lucene.util.ByteBlockPool
-
- setBytesValue(byte[]) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setBytesValue(BytesRef) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setByteValue(byte) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setCache(DocValues.SourceCache) - Method in class org.apache.lucene.index.DocValues
-
- setCalibrateSizeByDeletes(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
-
Sets whether the segment size should be calibrated by
the number of deletes when choosing segments for merge.
- setCodec(Codec) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setCodec(Codec) - Method in class org.apache.lucene.index.SegmentInfo
-
Can only be called once.
- setCollectionProbability(float) - Method in class org.apache.lucene.search.similarities.LMSimilarity.LMStats
-
Sets the probability that the current term is generated by the
collection.
- setCollector(Collector) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
This is so the same timer can be used with a multi-phase search process such as grouping.
- setComparator(int, FieldComparator<?>) - Method in class org.apache.lucene.search.FieldValueHitQueue
-
- setCompetitiveTerm(BytesRef) - Method in interface org.apache.lucene.search.MaxNonCompetitiveBoostAttribute
-
This is the term or null
of the term that triggered the boost change.
- setCompetitiveTerm(BytesRef) - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
-
- setCrossCheckTermVectors(boolean) - Method in class org.apache.lucene.index.CheckIndex
-
If true, term vectors are compared against postings to
make sure they are the same.
- setCurrentLabel(int) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
- setCurrentLabel(int) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
- setDefault(Codec) - Static method in class org.apache.lucene.codecs.Codec
-
- setDefault(InfoStream) - Static method in class org.apache.lucene.util.InfoStream
-
Sets the default InfoStream
used
by a newly instantiated classes.
- setDefaultGenLookaheadCount(int) - Static method in class org.apache.lucene.index.SegmentInfos
-
Advanced: set how many times to try incrementing the
gen when loading the segments file.
- setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the default (for any instance) maximum time to wait for a write lock
(in milliseconds).
- setDelGen(long) - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Sets the generation number of the live docs file.
- setDescription(String) - Method in class org.apache.lucene.search.Explanation
-
Sets the description of this explanation node.
- setDeterministic(boolean) - Method in class org.apache.lucene.util.automaton.Automaton
-
Sets deterministic flag for this automaton.
- setDiscountOverlaps(boolean) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Sets whether overlap tokens (Tokens with 0 position increment) are
ignored when computing norm.
- setDiscountOverlaps(boolean) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
Determines whether overlap tokens (Tokens with
0 position increment) are ignored when computing
norm.
- setDiscountOverlaps(boolean) - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Determines whether overlap tokens (Tokens with
0 position increment) are ignored when computing
norm.
- setDocFreq(int) - Method in class org.apache.lucene.index.TermContext
-
expert: only available for queries that want to lie about docfreq
- setDocFreq(long) - Method in class org.apache.lucene.search.similarities.BasicStats
-
Sets the document frequency.
- setDocValueType(DocValues.Type) - Method in class org.apache.lucene.document.FieldType
-
Set's the field's DocValues.Type
- setDouble(double) - Method in class org.apache.lucene.index.Norm
-
Sets a double norm value
- setDoubleValue(double) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied double
value.
- setDoubleValue(double) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setEmpty() - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Sets the length of the termBuffer to zero.
- setEmpty() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- setEnum(TermsEnum) - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
swap in a new actual enum to proxy to
- setEstimatedSize(String) - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- setField(FieldInfo) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- setField(FieldInfo) - Method in class org.apache.lucene.codecs.PostingsWriterBase
-
Called when the writing switches to another field.
- setFiles(Set<String>) - Method in class org.apache.lucene.index.SegmentInfo
-
Sets the files written for this segment.
- setFlags(int) - Method in class org.apache.lucene.analysis.Token
-
Set the flags to a new bitset.
- setFlags(int) - Method in interface org.apache.lucene.analysis.tokenattributes.FlagsAttribute
-
Set the flags to a new bitset.
- setFlags(int) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
-
- setFloat(float) - Method in class org.apache.lucene.index.Norm
-
Sets a float norm value
- setFloatValue(float) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied float
value.
- setFloatValue(float) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setFloorSegmentMB(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Segments smaller than this are "rounded up" to this
size, ie treated as equal (floor) size for merge
selection.
- setForceMergeDeletesPctAllowed(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
When forceMergeDeletes is called, we only merge away a
segment if its delete percentage is over this
threshold.
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- setGreedy(boolean) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
Sets whether this time limited collector is greedy.
- setIndexCommit(IndexCommit) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: allows to open a certain commit point.
- setIndexDeletionPolicy(IndexDeletionPolicy) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setIndexed(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to index (invert) this field.
- setIndexOptions(FieldInfo.IndexOptions) - Method in class org.apache.lucene.document.FieldType
-
Sets the indexing options for the field:
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.MergePolicy
-
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.NoMergePolicy
-
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
- setInfo(Object) - Method in class org.apache.lucene.util.automaton.Automaton
-
Associates extra information with this automaton.
- setInfoStream(PrintStream, boolean) - Method in class org.apache.lucene.index.CheckIndex
-
Set infoStream where messages should go.
- setInfoStream(PrintStream) - Method in class org.apache.lucene.index.CheckIndex
-
Set infoStream where messages should go.
- setInfoStream(InfoStream) - Method in class org.apache.lucene.index.IndexWriterConfig
-
If non-null, information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
- setInfoStream(PrintStream) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setInfoStream(PrintStream) - Static method in class org.apache.lucene.index.SegmentInfos
-
If non-null, information about retries when loading
the segments file will be printed to this.
- setInfoStream(PrintStream) - Method in interface org.apache.lucene.search.FieldCache
-
If non-null, FieldCacheImpl will warn whenever
entries are created that are not sane according to
FieldCacheSanityChecker
.
- setInitialSeekTerm(BytesRef) - Method in class org.apache.lucene.index.FilteredTermsEnum
-
Use this method to set the initial
BytesRef
to seek before iterating.
- setInt(int) - Method in class org.apache.lucene.index.Norm
-
Sets a int norm value
- setIntValue(int) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied int
value.
- setIntValue(int) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setKeyword(boolean) - Method in interface org.apache.lucene.analysis.tokenattributes.KeywordAttribute
-
Marks the current token as keyword if set to true
.
- setKeyword(boolean) - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
-
- setLastOutput(int, T) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- setLastSkipData(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListReader
-
- setLastSkipData(int) - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Copies the values of the last read skip entry on this level
- setLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Set number of valid characters (length of the term) in
the termBuffer array.
- setLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- setLength(int) - Method in class org.apache.lucene.index.FieldInvertState
-
Set length value.
- setLength(long) - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- setLength(long) - Method in class org.apache.lucene.store.IndexOutput
-
Set the file length.
- setLength(long) - Method in class org.apache.lucene.store.RAMFile
-
- setLockDir(File) - Method in class org.apache.lucene.store.FSLockFactory
-
Set the lock directory.
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.Directory
-
Set the LockFactory that this Directory instance should
use for its locking implementation.
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.FSDirectory
-
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
-
- setLockPrefix(String) - Method in class org.apache.lucene.store.LockFactory
-
Set the prefix in use for all locks created in this
LockFactory.
- setLong(long) - Method in class org.apache.lucene.index.Norm
-
Sets a long norm value
- setLongValue(long) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied long
value.
- setLongValue(long) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setMatch(Boolean) - Method in class org.apache.lucene.search.ComplexExplanation
-
Sets the match status assigned to this explanation node.
- setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Determines the minimal number of delete terms required before the buffered
in-memory delete terms and queries are applied and flushed.
- setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Determines the minimal number of documents required before the buffered
in-memory documents are flushed as a new Segment.
- setMaxCFSSegmentSizeMB(double) - Method in class org.apache.lucene.index.LogMergePolicy
-
If a merged segment will be more than this value,
leave the segment as
non-compound file even if compound file is enabled.
- setMaxCFSSegmentSizeMB(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
If a merged segment will be more than this value,
leave the segment as
non-compound file even if compound file is enabled.
- setMaxClauseCount(int) - Static method in class org.apache.lucene.search.BooleanQuery
-
Set the maximum number of clauses permitted per BooleanQuery.
- setMaxMergeAtOnce(int) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum number of segments to be merged at a time
during "normal" merging.
- setMaxMergeAtOnceExplicit(int) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum number of segments to be merged at a time,
during forceMerge or forceMergeDeletes.
- setMaxMergeCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous merges that are allowed.
- setMaxMergeDocs(int) - Method in class org.apache.lucene.index.LogMergePolicy
-
Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergedSegmentMB(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum sized segment to produce during
normal merging.
- setMaxMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
Determines the largest segment (measured by total
byte size of the segment's files, in MB) that may be
merged with other segments.
- setMaxMergeMBForForcedMerge(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
Determines the largest segment (measured by total
byte size of the segment's files, in MB) that may be
merged with other segments during forceMerge.
- setMaxMergeWriteLimiter(RateLimiter) - Method in class org.apache.lucene.store.FSDirectory
-
Sets the rate limiter to be used to limit (approx) MB/sec allowed
by all IO performed when merging.
- setMaxMergeWriteMBPerSec(Double) - Method in class org.apache.lucene.store.FSDirectory
-
Sets the maximum (approx) MB/sec allowed by all write
IO performed by merging.
- setMaxNonCompetitiveBoost(float) - Method in interface org.apache.lucene.search.MaxNonCompetitiveBoostAttribute
-
This is the maximum boost that would not be competitive.
- setMaxNonCompetitiveBoost(float) - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
-
- setMaxScore(float) - Method in class org.apache.lucene.search.TopDocs
-
Sets the maximum score value encountered.
- setMaxThreadCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous merge threads that should
be running at once.
- setMaxThreadStates(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the max number of simultaneous threads that may be indexing documents
at once in IndexWriter.
- setMbPerSec(double) - Method in class org.apache.lucene.store.RateLimiter
-
Sets an updated mb per second rate limit.
- setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Set the merged segment warmer.
- setMergeFactor(int) - Method in class org.apache.lucene.index.LogMergePolicy
-
Determines how often segment indices are merged by
addDocument().
- setMergePolicy(MergePolicy) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert:
MergePolicy
is invoked whenever there are changes to the
segments in the index.
- setMergeScheduler(MergeScheduler) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: sets the merge scheduler used by this writer.
- setMergeState(MergeState) - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
Sets the
MergeState
, which is used to re-map
document IDs.
- setMergeState(MergeState) - Method in class org.apache.lucene.codecs.MappingMultiDocsEnum
-
Sets the
MergeState
, which is used to re-map
document IDs.
- setMergeThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Set the base priority that merge threads run at.
- setMinimization(int) - Static method in class org.apache.lucene.util.automaton.Automaton
-
Selects minimization algorithm (default: MINIMIZE_HOPCROFT
).
- setMinimizeAlways(boolean) - Static method in class org.apache.lucene.util.automaton.Automaton
-
Sets or resets minimize always flag.
- setMinimumNumberShouldMatch(int) - Method in class org.apache.lucene.search.BooleanQuery
-
Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
- setMinMergeDocs(int) - Method in class org.apache.lucene.index.LogDocMergePolicy
-
Sets the minimum size for the lowest level segments.
- setMinMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
Sets the minimum size for the lowest level segments.
- setMissingValue(Object) - Method in class org.apache.lucene.search.SortField
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.CachingCollector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.Collector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.FloatDocValuesComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.IntDocValuesComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.NumericComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.TermOrdValDocValuesComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.FieldComparator.TermValDocValuesComparator
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.MultiCollector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setNextReader(AtomicReaderContext) - Method in class org.apache.lucene.search.TotalHitCountCollector
-
- setNoCFSRatio(double) - Method in class org.apache.lucene.index.LogMergePolicy
-
If a merged segment will be more than this percentage
of the total size of the index, leave the segment as
non-compound file even if compound file is enabled.
- setNoCFSRatio(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
If a merged segment will be more than this percentage
of the total size of the index, leave the segment as
non-compound file even if compound file is enabled.
- setNumberedStates(State[]) - Method in class org.apache.lucene.util.automaton.Automaton
-
- setNumberedStates(State[], int) - Method in class org.apache.lucene.util.automaton.Automaton
-
- setNumberOfDocuments(long) - Method in class org.apache.lucene.search.similarities.BasicStats
-
Sets the number of documents.
- setNumberOfFieldTokens(long) - Method in class org.apache.lucene.search.similarities.BasicStats
-
Sets the total number of tokens in the field.
- setNumericPrecisionStep(int) - Method in class org.apache.lucene.document.FieldType
-
Sets the numeric precision step for the field.
- setNumericType(FieldType.NumericType) - Method in class org.apache.lucene.document.FieldType
-
Specifies the field's numeric type.
- setNumOverlap(int) - Method in class org.apache.lucene.index.FieldInvertState
-
Set number of terms with positionIncrement ==
0
.
- setNumWords(int) - Method in class org.apache.lucene.util.OpenBitSet
-
Expert: sets the number of longs in the array that are in use
- setOccur(BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanClause
-
- setOffset(int, int) - Method in class org.apache.lucene.analysis.Token
-
Set the starting and ending offset.
- setOffset(int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
-
Set the starting and ending offset.
- setOffset(int, int) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
-
- setOmitNorms(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to omit normalization values for the field.
- SetOnce<T> - Class in org.apache.lucene.util
-
A convenient class which offers a semi-immutable object wrapper
implementation which allows one to set the value of an object exactly once,
and retrieve it many times.
- SetOnce() - Constructor for class org.apache.lucene.util.SetOnce
-
A default constructor which does not set the internal object, and allows
setting it by calling
SetOnce.set(Object)
.
- SetOnce(T) - Constructor for class org.apache.lucene.util.SetOnce
-
Creates a new instance with the internal object set to the given object.
- SetOnce.AlreadySetException - Exception in org.apache.lucene.util
-
- SetOnce.AlreadySetException() - Constructor for exception org.apache.lucene.util.SetOnce.AlreadySetException
-
- setOpenMode(IndexWriterConfig.OpenMode) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setPause(boolean) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Set or clear whether this merge is paused paused (for example
ConcurrentMergeScheduler
will pause merges
if too many are running).
- setPayload(BytesRef) - Method in class org.apache.lucene.analysis.Token
-
Sets this Token's payload.
- setPayload(BytesRef) - Method in interface org.apache.lucene.analysis.tokenattributes.PayloadAttribute
-
Sets this Token's payload.
- setPayload(BytesRef) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
-
- setPivot(int) - Method in class org.apache.lucene.util.SorterTemplate
-
Implement this method, that stores the value of slot i
as pivot value
- setPosition(int) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- setPosition(long) - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
-
- setPositionIncrement(int) - Method in class org.apache.lucene.analysis.Token
-
Set the position increment.
- setPositionIncrement(int) - Method in interface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
-
Set the position increment.
- setPositionIncrement(int) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
-
- setPositionLength(int) - Method in class org.apache.lucene.analysis.Token
-
Set the position length of this Token.
- setPositionLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute
-
Set the position length of this Token.
- setPositionLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
-
- setQuery(Query) - Method in class org.apache.lucene.search.BooleanClause
-
- setRAMBufferSizeMB(double) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setRAMBufferSizeMB(double) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Determines the amount of RAM that may be used for buffering added documents
and deletions before they are flushed to the Directory.
- setRAMPerThreadHardLimitMB(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: Sets the maximum memory consumption per thread triggering a forced
flush if exceeded.
- setRamUsageEstimator(boolean) - Method in class org.apache.lucene.util.FieldCacheSanityChecker
-
If set, estimate size for all CacheEntry objects will be calculateed.
- setReadChunkSize(int) - Method in class org.apache.lucene.store.FSDirectory
-
- setReader(Reader) - Method in class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
Resets the encapsulated components with the given reader.
- setReader(Reader) - Method in class org.apache.lucene.analysis.Tokenizer
-
Expert: Set a new reader on the Tokenizer.
- setReaderPooling(boolean) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setReaderTermsIndexDivisor(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setReaderTermsIndexDivisor(int) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
- setReaderValue(Reader) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setReclaimDeletesWeight(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Controls how aggressively merges that reclaim more
deletions are favored.
- setResolution(long) - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Set the timer resolution.
- setReusableComponents(String, Analyzer.TokenStreamComponents) - Method in class org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy
-
- setReusableComponents(String, Analyzer.TokenStreamComponents) - Method in class org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy
-
- setReusableComponents(String, Analyzer.TokenStreamComponents) - Method in class org.apache.lucene.analysis.Analyzer.ReuseStrategy
-
Stores the given TokenStreamComponents as the reusable components for the
field with the give name
- setRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.search.MultiTermQuery
-
Sets the rewrite method to be used when executing the
query.
- setRewriteMethod(SpanMultiTermQueryWrapper.SpanRewriteMethod) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
Expert: sets the rewrite method.
- setRunningMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
Record the currently running merge.
- setScorer(Scorer) - Method in class org.apache.lucene.search.Collector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator
-
Sets the Scorer to use in case a document's score is
needed.
- setScorer(Scorer) - Method in class org.apache.lucene.search.MultiCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TotalHitCountCollector
-
- setSegmentsPerTier(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Sets the allowed number of segments per tier.
- setShift(int) - Method in interface org.apache.lucene.analysis.NumericTokenStream.NumericTermAttribute
-
Don't call this method!
- setShift(int) - Method in class org.apache.lucene.analysis.NumericTokenStream.NumericTermAttributeImpl
-
- setShort(short) - Method in class org.apache.lucene.index.Norm
-
Sets a short norm value
- setShortValue(short) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setSimilarity(Similarity) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: set the
Similarity
implementation used by this IndexWriter.
- setSimilarity(Similarity) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Set the Similarity implementation used by this IndexSearcher.
- setSkipData(int, boolean, int, boolean, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40SkipListWriter
-
Sets the values for the current skip data.
- setSlop(int) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Sets the phrase slop for this query.
- setSlop(int) - Method in class org.apache.lucene.search.PhraseQuery
-
Sets the number of other words permitted between words in query phrase.
- setSort(SortField) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the given criteria.
- setSort(SortField...) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the given criteria in succession.
- setStored(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to store this field.
- setStoredValue(Object) - Method in class org.apache.lucene.analysis.Analyzer.ReuseStrategy
-
Sets the stored value
- setStoreTermVectorOffsets(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to also store token character offsets into the term
vector for this field.
- setStoreTermVectorPayloads(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to also store token payloads into the term
vector for this field.
- setStoreTermVectorPositions(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
to also store token positions into the term
vector for this field.
- setStoreTermVectors(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to true
if this field's indexed form should be also stored
into term vectors.
- setStringValue(String) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setTermIndexInterval(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setTermIndexInterval(int) - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
Expert: set the interval between indexed terms.
- setThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
Set the priority of this thread.
- setTokenized(boolean) - Method in class org.apache.lucene.document.FieldType
-
Set to
true
to tokenize this field's contents via the
configured
Analyzer
.
- setTokenStream(TokenStream) - Method in class org.apache.lucene.document.Field
-
Expert: sets the token stream to be used for indexing and causes
isIndexed() and isTokenized() to return true.
- setTotalTermFreq(long) - Method in class org.apache.lucene.search.similarities.BasicStats
-
Sets the total number of occurrences of this term across all documents.
- setTransitions(Transition[]) - Method in class org.apache.lucene.util.automaton.State
-
- setType(String) - Method in class org.apache.lucene.analysis.Token
-
Set the lexical type.
- setType(String) - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
Set the lexical type.
- setType(String) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
-
Sets whether compound file format should be used for
newly flushed and newly merged segments.
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Sets whether compound file format should be used for
newly flushed and newly merged segments.
- setUseIndexValues(boolean) - Method in class org.apache.lucene.search.SortField
-
- setUseUnmap(boolean) - Method in class org.apache.lucene.store.MMapDirectory
-
This method enables the workaround for unmapping the buffers
from address space after closing
IndexInput
, that is
mentioned in the bug report.
- setValue(float) - Method in class org.apache.lucene.search.Explanation
-
Sets the value assigned to this explanation node.
- setVersion(String) - Method in class org.apache.lucene.index.SegmentInfo
-
Used by DefaultSegmentInfosReader to upgrade a 3.0 segment to record its
version is "3.0".
- setWriteLockTimeout(long) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the maximum time to wait for a write lock (in milliseconds) for this
instance.
- shallowSizeOf(Object) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Estimates a "shallow" memory usage of the given object.
- shallowSizeOfInstance(Class<?>) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the shallow instance size in bytes an instance of the given class would occupy.
- shardIndex - Variable in class org.apache.lucene.search.ScoreDoc
-
- SHIFT_START_INT - Static variable in class org.apache.lucene.util.NumericUtils
-
Integers are stored at lower precision by shifting off lower bits.
- SHIFT_START_LONG - Static variable in class org.apache.lucene.util.NumericUtils
-
Longs are stored at lower precision by shifting off lower bits.
- ShortDocValuesField - Class in org.apache.lucene.document
-
Field that stores a per-document short
value for scoring,
sorting or value retrieval.
- ShortDocValuesField(String, short) - Constructor for class org.apache.lucene.document.ShortDocValuesField
-
Creates a new DocValues field with the specified 16-bit short value
- shortestPaths(FST<T>, FST.Arc<T>, Comparator<T>, int) - Static method in class org.apache.lucene.util.fst.Util
-
Starting from node, find the top N min cost
completions to a final node.
- shouldDelete(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
Returns true if this segment can be deleted.
- shouldUpgradeSegment(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
Returns if the given segment should be upgraded.
- shrink(short[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(int[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(long[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(boolean[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(char[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(int[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(float[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- SI_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat
-
- similarity - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
- similarity - Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
The Similarity implementation.
- Similarity - Class in org.apache.lucene.search.similarities
-
Similarity defines the components of Lucene scoring.
- Similarity() - Constructor for class org.apache.lucene.search.similarities.Similarity
-
Sole constructor.
- similarity - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- Similarity.ExactSimScorer - Class in org.apache.lucene.search.similarities
-
- Similarity.ExactSimScorer() - Constructor for class org.apache.lucene.search.similarities.Similarity.ExactSimScorer
-
Sole constructor.
- Similarity.SimWeight - Class in org.apache.lucene.search.similarities
-
Stores the weight for a query across the indexed collection.
- Similarity.SimWeight() - Constructor for class org.apache.lucene.search.similarities.Similarity.SimWeight
-
Sole constructor.
- Similarity.SloppySimScorer - Class in org.apache.lucene.search.similarities
-
- Similarity.SloppySimScorer() - Constructor for class org.apache.lucene.search.similarities.Similarity.SloppySimScorer
-
Sole constructor.
- SimilarityBase - Class in org.apache.lucene.search.similarities
-
A subclass of Similarity
that provides a simplified API for its
descendants.
- SimilarityBase() - Constructor for class org.apache.lucene.search.similarities.SimilarityBase
-
Sole constructor.
- SimpleFSDirectory - Class in org.apache.lucene.store
-
A straightforward implementation of
FSDirectory
using java.io.RandomAccessFile.
- SimpleFSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
-
Create a new SimpleFSDirectory for the named location.
- SimpleFSDirectory(File) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
-
- SimpleFSDirectory.SimpleFSIndexInput - Class in org.apache.lucene.store
-
- SimpleFSDirectory.SimpleFSIndexInput(String, File, IOContext, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- SimpleFSDirectory.SimpleFSIndexInput(String, RandomAccessFile, long, long, int, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- SimpleFSLockFactory - Class in org.apache.lucene.store
-
- SimpleFSLockFactory() - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Create a SimpleFSLockFactory instance, with null (unset)
lock directory.
- SimpleFSLockFactory(File) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory (as a File instance).
- SimpleFSLockFactory(String) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory name (String).
- sims - Variable in class org.apache.lucene.search.similarities.MultiSimilarity
-
the sub-similarities used to create the combined score
- SingleInstanceLockFactory - Class in org.apache.lucene.store
-
Implements
LockFactory
for a single in-process instance,
meaning all locking will take place through this one instance.
- SingleInstanceLockFactory() - Constructor for class org.apache.lucene.store.SingleInstanceLockFactory
-
- SingleTermsEnum - Class in org.apache.lucene.index
-
Subclass of FilteredTermsEnum for enumerating a single term.
- SingleTermsEnum(TermsEnum, BytesRef) - Constructor for class org.apache.lucene.index.SingleTermsEnum
-
Creates a new SingleTermsEnum
.
- sink - Variable in class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
Sink tokenstream, such as the outer tokenfilter decorating
the chain.
- size() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.FieldReader
-
- size() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
- size() - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsReader
-
Returns number of documents.
- size() - Method in class org.apache.lucene.index.FieldInfos
-
Returns the number of fields
- size() - Method in class org.apache.lucene.index.Fields
-
Returns the number of fields or -1 if the number of
distinct field names is unknown.
- size() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterFields
-
- size() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTerms
-
- size(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
- size(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogDocMergePolicy
-
- size(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogMergePolicy
-
- size() - Method in class org.apache.lucene.index.MultiFields
-
- size() - Method in class org.apache.lucene.index.MultiTerms
-
- size() - Method in class org.apache.lucene.index.SegmentInfos
-
- size() - Method in class org.apache.lucene.index.Terms
-
Returns the number of terms for this field, or -1 if this
measure isn't stored by the codec.
- size() - Method in class org.apache.lucene.search.FieldCache.DocTerms
-
Number of documents
- size() - Method in class org.apache.lucene.search.FieldCache.DocTermsIndex
-
Number of documents
- size() - Method in class org.apache.lucene.util.BytesRefHash
-
- size() - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the current capacity of this set.
- size() - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- size() - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
-
- size() - Method in interface org.apache.lucene.util.packed.PackedInts.ReaderIterator
-
Returns number of values
- size() - Method in class org.apache.lucene.util.PriorityQueue
-
Returns the number of elements currently stored in the PriorityQueue.
- size() - Method in class org.apache.lucene.util.SentinelIntSet
-
- size() - Method in class org.apache.lucene.util.WeakIdentityMap
-
Returns the number of key-value mappings in this map.
- sizeBytes(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeDocs(SegmentInfoPerCommit) - Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeInBytes() - Method in class org.apache.lucene.index.SegmentInfo
-
Returns total size in bytes of all of files used by
this segment.
- sizeInBytes() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Returns total size in bytes of all files for this
segment.
- sizeInBytes() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
Returns how many bytes are being used by the
RAMDirectory cache
- sizeInBytes - Variable in class org.apache.lucene.store.RAMDirectory
-
- sizeInBytes() - Method in class org.apache.lucene.store.RAMDirectory
-
Return total size in bytes of all files in this directory.
- sizeInBytes - Variable in class org.apache.lucene.store.RAMFile
-
- sizeInBytes() - Method in class org.apache.lucene.store.RAMOutputStream
-
Returns byte usage of all buffers.
- sizeInBytes() - Method in class org.apache.lucene.util.fst.FST
-
Returns bytes used to represent the FST
- sizeMB - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Net size (MB) of the files referenced by this
segment.
- sizeOf(byte[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the byte[] object.
- sizeOf(boolean[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the boolean[] object.
- sizeOf(char[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the char[] object.
- sizeOf(short[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the short[] object.
- sizeOf(int[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the int[] object.
- sizeOf(float[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the float[] object.
- sizeOf(long[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the long[] object.
- sizeOf(double[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the double[] object.
- sizeOf(Object) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Estimates the RAM usage by the given object.
- sizeOfIndexedStrings - Variable in class org.apache.lucene.index.DocTermOrds
-
Total bytes (sum of term lengths) for all indexed terms.
- sizePerValues - Variable in class org.apache.lucene.index.SortedBytesMergeUtils.MergeContext
-
How many bytes each value occupies, or -1 if it
varies.
- skipBytes(int) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- skipDoc - Variable in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Doc id of current skip entry per level.
- skipTo(int) - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
-
Skips entries to the first beyond the current whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.Spans
-
Skips to the first match beyond the current, whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.TermSpans
-
- slice - Variable in class org.apache.lucene.index.MultiDocsAndPositionsEnum.EnumWithSlice
-
ReaderSlice
describing how this sub-reader
fits into the composite reader.
- slice - Variable in class org.apache.lucene.index.MultiDocsEnum.EnumWithSlice
-
ReaderSlice
describing how this sub-reader
fits into the composite reader.
- slices(List<AtomicReaderContext>) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Creates an array of leaf slices each holding a subset of the given leaves.
- slop - Variable in class org.apache.lucene.search.spans.SpanNearQuery
-
- sloppyFreq(int) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
Implemented as 1 / (distance + 1)
.
- sloppyFreq(int) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
Implemented as 1 / (distance + 1)
.
- sloppyFreq(int) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes the amount of a sloppy phrase match, based on an edit distance.
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.MultiSimilarity
-
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
-
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.Similarity
-
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
- sloppySimScorer(Similarity.SimWeight, AtomicReaderContext) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
- slot - Variable in class org.apache.lucene.search.FieldValueHitQueue.Entry
-
- SlowCompositeReaderWrapper - Class in org.apache.lucene.index
-
- SlowCompositeReaderWrapper(CompositeReader) - Constructor for class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- SmallFloat - Class in org.apache.lucene.util
-
Floating point numbers smaller than 32 bits.
- snapshot(String) - Method in class org.apache.lucene.index.PersistentSnapshotDeletionPolicy
-
Snapshots the last commit using the given ID.
- snapshot(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Snapshots the last commit.
- SnapshotDeletionPolicy - Class in org.apache.lucene.index
-
- SnapshotDeletionPolicy(IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- SnapshotDeletionPolicy(IndexDeletionPolicy, Map<String, String>) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- SnapshotDeletionPolicy.SnapshotCommitPoint - Class in org.apache.lucene.index
-
Wraps a provided
IndexCommit
and prevents it
from being deleted.
- SnapshotDeletionPolicy.SnapshotCommitPoint(IndexCommit) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
Creates a
SnapshotCommitPoint
wrapping the provided
IndexCommit
.
- Sort - Class in org.apache.lucene.search
-
Encapsulates sort criteria for returned hits.
- Sort() - Constructor for class org.apache.lucene.search.Sort
-
Sorts by computed relevance.
- Sort(SortField) - Constructor for class org.apache.lucene.search.Sort
-
Sorts by the criteria in the given SortField.
- Sort(SortField...) - Constructor for class org.apache.lucene.search.Sort
-
Sorts in succession by the criteria in each SortField.
- sort(Comparator<BytesRef>) - Method in class org.apache.lucene.util.BytesRefHash
-
Returns the values array sorted by the referenced byte values.
- sortableIntToFloat(int) - Static method in class org.apache.lucene.util.NumericUtils
-
Converts a sortable int
back to a float
.
- sortableLongToDouble(long) - Static method in class org.apache.lucene.util.NumericUtils
-
Converts a sortable long
back to a double
.
- SortedBytesDocValuesField - Class in org.apache.lucene.document
-
Field that stores
a per-document
BytesRef
value, indexed for
sorting.
- SortedBytesDocValuesField(String, BytesRef) - Constructor for class org.apache.lucene.document.SortedBytesDocValuesField
-
Create a new variable-length sorted DocValues field.
- SortedBytesDocValuesField(String, BytesRef, boolean) - Constructor for class org.apache.lucene.document.SortedBytesDocValuesField
-
Create a new fixed or variable length sorted DocValues field.
- SortedBytesMergeUtils - Class in org.apache.lucene.index
-
Utility class for merging SortedBytes DocValues
instances.
- SortedBytesMergeUtils.BytesRefConsumer - Interface in org.apache.lucene.index
-
Implementation of this interface consume the merged bytes with their
corresponding ordinal and byte offset.
- SortedBytesMergeUtils.IndexOutputBytesRefConsumer - Class in org.apache.lucene.index
-
- SortedBytesMergeUtils.IndexOutputBytesRefConsumer(IndexOutput) - Constructor for class org.apache.lucene.index.SortedBytesMergeUtils.IndexOutputBytesRefConsumer
-
Sole constructor.
- SortedBytesMergeUtils.MergeContext - Class in org.apache.lucene.index
-
Encapsulates contextual information about the merge.
- SortedBytesMergeUtils.MergeContext(Comparator<BytesRef>, int, int, DocValues.Type) - Constructor for class org.apache.lucene.index.SortedBytesMergeUtils.MergeContext
-
Sole constructor.
- SortedBytesMergeUtils.SortedSourceSlice - Class in org.apache.lucene.index
-
- sortedTransitions - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
-
Two dimensional array of transitions, indexed by state
number for traversal.
- SorterTemplate - Class in org.apache.lucene.util
-
This class was inspired by CGLIB, but provides a better
QuickSort algorithm without additional InsertionSort
at the end.
- SorterTemplate() - Constructor for class org.apache.lucene.util.SorterTemplate
-
- SortField - Class in org.apache.lucene.search
-
Stores information about how to sort documents by terms in an individual
field.
- SortField(String, SortField.Type) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field with the type of term
values explicitly given.
- SortField(String, SortField.Type, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field with the
type of term values explicitly given.
- SortField(String, FieldCache.Parser) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field, parsed
to numeric values using a custom
FieldCache.Parser
.
- SortField(String, FieldCache.Parser, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field, parsed
to numeric values using a custom
FieldCache.Parser
.
- SortField(String, FieldComparatorSource) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort with a custom comparison function.
- SortField(String, FieldComparatorSource, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, with a custom comparison function.
- SortField.Type - Enum in org.apache.lucene.search
-
Specifies the type of the terms to be sorted, or special types such as CUSTOM
- sortTransitions(Comparator<Transition>) - Method in class org.apache.lucene.util.automaton.State
-
Sorts transitions array in-place.
- source - Variable in class org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
Original source of the tokens.
- SpanFirstQuery - Class in org.apache.lucene.search.spans
-
Matches spans near the beginning of a field.
- SpanFirstQuery(SpanQuery, int) - Constructor for class org.apache.lucene.search.spans.SpanFirstQuery
-
Construct a SpanFirstQuery matching spans in match
whose end
position is less than or equal to end
.
- SpanMultiTermQueryWrapper<Q extends MultiTermQuery> - Class in org.apache.lucene.search.spans
-
- SpanMultiTermQueryWrapper(Q) - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
Create a new SpanMultiTermQueryWrapper.
- SpanMultiTermQueryWrapper.SpanRewriteMethod - Class in org.apache.lucene.search.spans
-
Abstract class that defines how the query is rewritten.
- SpanMultiTermQueryWrapper.SpanRewriteMethod() - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
-
- SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite - Class in org.apache.lucene.search.spans
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the
scores as computed by the query.
- SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite(int) - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
Create a TopTermsSpanBooleanQueryRewrite for
at most size
terms.
- SpanNearPayloadCheckQuery - Class in org.apache.lucene.search.spans
-
Only return those matches that have a specific payload at
the given position.
- SpanNearPayloadCheckQuery(SpanNearQuery, Collection<byte[]>) - Constructor for class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
-
- SpanNearQuery - Class in org.apache.lucene.search.spans
-
Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
Construct a SpanNearQuery.
- SpanNearQuery(SpanQuery[], int, boolean, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
- SpanNotQuery - Class in org.apache.lucene.search.spans
-
Removes matches which overlap with another SpanQuery.
- SpanNotQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from include
which
have no overlap with spans from exclude
.
- SpanOrQuery - Class in org.apache.lucene.search.spans
-
Matches the union of its clauses.
- SpanOrQuery(SpanQuery...) - Constructor for class org.apache.lucene.search.spans.SpanOrQuery
-
Construct a SpanOrQuery merging the provided clauses.
- SpanPayloadCheckQuery - Class in org.apache.lucene.search.spans
-
Only return those matches that have a specific payload at
the given position.
- SpanPayloadCheckQuery(SpanQuery, Collection<byte[]>) - Constructor for class org.apache.lucene.search.spans.SpanPayloadCheckQuery
-
- SpanPositionCheckQuery - Class in org.apache.lucene.search.spans
-
Base class for filtering a SpanQuery based on the position of a match.
- SpanPositionCheckQuery(SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanPositionCheckQuery
-
- SpanPositionCheckQuery.AcceptStatus - Enum in org.apache.lucene.search.spans
-
- SpanPositionCheckQuery.PositionCheckSpan - Class in org.apache.lucene.search.spans
-
- SpanPositionCheckQuery.PositionCheckSpan(AtomicReaderContext, Bits, Map<Term, TermContext>) - Constructor for class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- SpanPositionRangeQuery - Class in org.apache.lucene.search.spans
-
- SpanPositionRangeQuery(SpanQuery, int, int) - Constructor for class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- SpanQuery - Class in org.apache.lucene.search.spans
-
Base class for span-based queries.
- SpanQuery() - Constructor for class org.apache.lucene.search.spans.SpanQuery
-
- Spans - Class in org.apache.lucene.search.spans
-
Expert: an enumeration of span matches.
- Spans() - Constructor for class org.apache.lucene.search.spans.Spans
-
- spans - Variable in class org.apache.lucene.search.spans.SpanScorer
-
- SpanScorer - Class in org.apache.lucene.search.spans
-
Public for extension only.
- SpanScorer(Spans, Weight, Similarity.SloppySimScorer) - Constructor for class org.apache.lucene.search.spans.SpanScorer
-
- SpanTermQuery - Class in org.apache.lucene.search.spans
-
Matches spans containing a term.
- SpanTermQuery(Term) - Constructor for class org.apache.lucene.search.spans.SpanTermQuery
-
Construct a SpanTermQuery matching the named term's spans.
- SpanWeight - Class in org.apache.lucene.search.spans
-
Expert-only.
- SpanWeight(SpanQuery, IndexSearcher) - Constructor for class org.apache.lucene.search.spans.SpanWeight
-
- spare - Variable in class org.apache.lucene.codecs.DocValuesConsumer
-
Spare
BytesRef
that subclasses can reuse.
- SpecialOperations - Class in org.apache.lucene.util.automaton
-
Special automata operations.
- SPIClassIterator<S> - Class in org.apache.lucene.util
-
Helper class for loading SPI classes from classpath (META-INF files).
- splitIntRange(NumericUtils.IntRangeBuilder, int, int, int) - Static method in class org.apache.lucene.util.NumericUtils
-
Splits an int range recursively.
- splitLongRange(NumericUtils.LongRangeBuilder, int, long, long) - Static method in class org.apache.lucene.util.NumericUtils
-
Splits a long range recursively.
- staleFiles - Variable in class org.apache.lucene.store.FSDirectory
-
- start(IndexOutput) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- start(IndexOutput) - Method in class org.apache.lucene.codecs.PostingsWriterBase
-
Called once after startup, before any terms have been
added.
- start - Variable in class org.apache.lucene.index.ReaderSlice
-
Document ID this slice starts from.
- start() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- start() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- start() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- start - Variable in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- start() - Method in class org.apache.lucene.search.spans.Spans
-
Returns the start position of the current match.
- start() - Method in class org.apache.lucene.search.spans.TermSpans
-
- startDoc(int, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- startDoc(int, int) - Method in class org.apache.lucene.codecs.PostingsConsumer
-
Adds a new doc in this term.
- startDocument(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40StoredFieldsWriter
-
- startDocument(int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
-
- startDocument(int) - Method in class org.apache.lucene.codecs.StoredFieldsWriter
-
Called before writing the stored fields of the document.
- startDocument(int) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Called before writing the term vectors of the document.
- startField(FieldInfo, int, boolean, boolean, boolean) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
-
- startField(FieldInfo, int, boolean, boolean, boolean) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Called before writing the terms of the field.
- startOffset() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- startOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- startOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
-
- startOffset() - Method in class org.apache.lucene.codecs.MappingMultiDocsAndPositionsEnum
-
- startOffset() - Method in class org.apache.lucene.index.DocsAndPositionsEnum
-
Returns start offset for the current position, or -1
if offsets were not indexed.
- startOffset() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterDocsAndPositionsEnum
-
- startOffset() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
- startsWith(BytesRef, BytesRef) - Static method in class org.apache.lucene.util.StringHelper
-
Returns true
iff the ref starts with the given prefix.
- startTerm() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsWriter
-
- startTerm(BytesRef, int) - Method in class org.apache.lucene.codecs.lucene40.Lucene40TermVectorsWriter
-
- startTerm() - Method in class org.apache.lucene.codecs.PostingsWriterBase
-
Start a new term.
- startTerm(BytesRef) - Method in class org.apache.lucene.codecs.TermsConsumer
-
Starts a new term in this field; this may be called
with no corresponding call to finish if the term had
no docs.
- startTerm(BytesRef, int) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Adds a term and its term frequency freq
.
- State - Class in org.apache.lucene.util.automaton
-
Automaton state.
- State() - Constructor for class org.apache.lucene.util.automaton.State
-
Constructs a new state.
- StatePair - Class in org.apache.lucene.util.automaton
-
Pair of states.
- StatePair(State, State) - Constructor for class org.apache.lucene.util.automaton.StatePair
-
Constructs a new state pair.
- stats - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- step(int, int) - Method in class org.apache.lucene.util.automaton.RunAutomaton
-
Returns the state obtained by reading the given char from the given state.
- step(int) - Method in class org.apache.lucene.util.automaton.State
-
Performs lookup in transitions, assuming determinism.
- step(int, Collection<State>) - Method in class org.apache.lucene.util.automaton.State
-
Performs lookup in transitions, allowing nondeterminism.
- stopTimer() - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Stops the timer thread
- stored() - Method in class org.apache.lucene.document.FieldType
-
True if the field's value should be stored
- stored() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if the field's value should be stored
- StoredField - Class in org.apache.lucene.document
-
- StoredField(String, byte[]) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given binary value.
- StoredField(String, byte[], int, int) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given binary value.
- StoredField(String, BytesRef) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given binary value.
- StoredField(String, String) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given string value.
- StoredField(String, int) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given integer value.
- StoredField(String, float) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given float value.
- StoredField(String, long) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given long value.
- StoredField(String, double) - Constructor for class org.apache.lucene.document.StoredField
-
Create a stored-only field with the given double value.
- storedFieldsFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes stored fields
- storedFieldsFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- storedFieldsFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- storedFieldsFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- StoredFieldsFormat - Class in org.apache.lucene.codecs
-
Controls the format of stored fields
- StoredFieldsFormat() - Constructor for class org.apache.lucene.codecs.StoredFieldsFormat
-
Sole constructor.
- StoredFieldsReader - Class in org.apache.lucene.codecs
-
Codec API for reading stored fields.
- StoredFieldsReader() - Constructor for class org.apache.lucene.codecs.StoredFieldsReader
-
Sole constructor.
- storedFieldStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of stored fields (null if stored fields could not be tested).
- StoredFieldsWriter - Class in org.apache.lucene.codecs
-
Codec API for writing stored fields:
- StoredFieldsWriter() - Constructor for class org.apache.lucene.codecs.StoredFieldsWriter
-
Sole constructor.
- StoredFieldVisitor - Class in org.apache.lucene.index
-
Expert: provides a low-level means of accessing the stored field
values in an index.
- StoredFieldVisitor() - Constructor for class org.apache.lucene.index.StoredFieldVisitor
-
Sole constructor.
- StoredFieldVisitor.Status - Enum in org.apache.lucene.index
-
- storeTermVectorOffsets() - Method in class org.apache.lucene.document.FieldType
-
True if this field's token character offsets should also
be stored into term vectors.
- storeTermVectorOffsets() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field's token character offsets should also
be stored into term vectors.
- storeTermVectorPayloads() - Method in class org.apache.lucene.document.FieldType
-
True if this field's token payloads should also be stored
into the term vectors.
- storeTermVectorPayloads() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field's token payloads should also be stored
into the term vectors.
- storeTermVectorPositions() - Method in class org.apache.lucene.document.FieldType
-
True if this field's token positions should also be stored
into the term vectors.
- storeTermVectorPositions() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field's token positions should also be stored
into the term vectors.
- storeTermVectors() - Method in class org.apache.lucene.document.FieldType
-
True if this field's indexed form should be also stored
into term vectors.
- storeTermVectors() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field's indexed form should be also stored
into term vectors.
- StraightBytesDocValuesField - Class in org.apache.lucene.document
-
Field that stores
a per-document
BytesRef
value.
- StraightBytesDocValuesField(String, BytesRef) - Constructor for class org.apache.lucene.document.StraightBytesDocValuesField
-
Create a new variable-length direct DocValues field.
- StraightBytesDocValuesField(String, BytesRef, boolean) - Constructor for class org.apache.lucene.document.StraightBytesDocValuesField
-
Create a new fixed or variable length direct DocValues field.
- stream - Variable in class org.apache.lucene.util.PrintStreamInfoStream
-
- stringField(FieldInfo, String) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
-
- StringField - Class in org.apache.lucene.document
-
A field that is indexed but not tokenized: the entire
String value is indexed as a single token.
- StringField(String, String, Field.Store) - Constructor for class org.apache.lucene.document.StringField
-
Creates a new StringField.
- stringField(FieldInfo, String) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Process a string field
- StringHelper - Class in org.apache.lucene.util
-
Methods for manipulating strings.
- stringToDate(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString
or
dateToString
back to a time, represented as a
Date object.
- stringToTime(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString
or
dateToString
back to a time, represented as the
number of milliseconds since January 1, 1970, 00:00:00 GMT.
- stringValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a String, or null.
- stringValue() - Method in interface org.apache.lucene.index.IndexableField
-
Non-null if this field has a string value
- stripExtension(String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Removes the extension (anything after the first '.'),
otherwise returns the original filename.
- stripSegmentName(String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Strips the segment name out of the given file name.
- subBlocksOnlyBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
The number of "internal" blocks that do not contain
terms (have only sub-blocks).
- subIndex(int, int[]) - Static method in class org.apache.lucene.index.ReaderUtil
-
Returns index of the searcher/reader for document n
in the
array used to construct this searcher/reader.
- subIndex(int, List<AtomicReaderContext>) - Static method in class org.apache.lucene.index.ReaderUtil
-
Returns index of the searcher/reader for document n
in the
array used to construct this searcher/reader.
- SUBREADER - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
-
Indicates an overlap in cache usage on a given field
in sub/super readers.
- subSequence(int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- subSequence(int, int) - Method in class org.apache.lucene.util.CharsRef
-
- subsetOf(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton
-
- subsetOf(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.BasicOperations
-
Returns true if the language of a1
is a subset of the language
of a2
.
- subtract(BytesRef, BytesRef) - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
-
- subtract(CharsRef, CharsRef) - Method in class org.apache.lucene.util.fst.CharSequenceOutputs
-
- subtract(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
-
- subtract(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
-
- subtract(T, T) - Method in class org.apache.lucene.util.fst.Outputs
-
Eg subtract("foobar", "foo") -> "bar"
- subtract(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
-
- subtract(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
- subtract(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
-
- sumDocFreq() - Method in class org.apache.lucene.search.CollectionStatistics
-
returns the total number of postings for this field
- sumTotalTermFreq() - Method in class org.apache.lucene.search.CollectionStatistics
-
returns the total number of tokens for this field
- SUN_OS - Static variable in class org.apache.lucene.util.Constants
-
True iff running on SunOS.
- swap(int, int) - Method in class org.apache.lucene.util.SorterTemplate
-
Implement this method, that swaps slots i
and j
in your data
- sync() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Wait for any running merge threads to finish.
- sync(Collection<String>) - Method in class org.apache.lucene.store.CompoundFileDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.Directory
-
Ensure that any writes to these files are moved to
stable storage.
- sync(Collection<String>) - Method in class org.apache.lucene.store.FileSwitchDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.FSDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.RAMDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
-
- target - Variable in class org.apache.lucene.util.fst.Builder.Arc
-
- target - Variable in class org.apache.lucene.util.fst.FST.Arc
-
To node (ord or address)
- targetHasArcs(FST.Arc<T>) - Static method in class org.apache.lucene.util.fst.FST
-
returns true if the node at this address has any
outgoing arcs
- term() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- term() - Method in class org.apache.lucene.index.FilteredTermsEnum
-
- term() - Method in class org.apache.lucene.index.MultiTermsEnum
-
- Term - Class in org.apache.lucene.index
-
A Term represents a word from text.
- Term(String, BytesRef) - Constructor for class org.apache.lucene.index.Term
-
Constructs a Term with the given field and bytes.
- Term(String, String) - Constructor for class org.apache.lucene.index.Term
-
Constructs a Term with the given field and text.
- Term(String) - Constructor for class org.apache.lucene.index.Term
-
Constructs a Term with the given field and empty text.
- term() - Method in class org.apache.lucene.index.TermsEnum
-
Returns current term.
- term - Variable in class org.apache.lucene.search.AutomatonQuery
-
term containing the field, and possibly some pattern structure
- term() - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- term - Variable in class org.apache.lucene.search.spans.SpanTermQuery
-
- term - Variable in class org.apache.lucene.search.spans.TermSpans
-
- term() - Method in class org.apache.lucene.search.TermStatistics
-
returns the term text
- term - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
-
- termBlockOrd - Variable in class org.apache.lucene.codecs.BlockTermState
-
the term's ord in the current block
- TermContext - Class in org.apache.lucene.index
-
- TermContext(IndexReaderContext) - Constructor for class org.apache.lucene.index.TermContext
-
- TermContext(IndexReaderContext, TermState, int, int, long) - Constructor for class org.apache.lucene.index.TermContext
-
- termContexts - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- termCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total term count
- termDocsEnum(Term) - Method in class org.apache.lucene.index.AtomicReader
-
Returns
DocsEnum
for the specified term.
- termIndexInterval - Variable in class org.apache.lucene.index.SegmentWriteState
-
Expert: The fraction of terms in the "dictionary" which should be stored
in RAM.
- termIndexStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of indexed terms (null if indexed terms could not be tested).
- termInstances - Variable in class org.apache.lucene.index.DocTermOrds
-
Total number of references to term numbers.
- termLength - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- termPositionsEnum(Term) - Method in class org.apache.lucene.index.AtomicReader
-
- TermQuery - Class in org.apache.lucene.search
-
A Query that matches documents containing a term.
- TermQuery(Term) - Constructor for class org.apache.lucene.search.TermQuery
-
Constructs a query for the term t
.
- TermQuery(Term, int) - Constructor for class org.apache.lucene.search.TermQuery
-
Expert: constructs a TermQuery that will use the
provided docFreq instead of looking up the docFreq
against the searcher.
- TermQuery(Term, TermContext) - Constructor for class org.apache.lucene.search.TermQuery
-
Expert: constructs a TermQuery that will use the
provided docFreq instead of looking up the docFreq
against the searcher.
- TermRangeFilter - Class in org.apache.lucene.search
-
A Filter that restricts search results to a range of term
values in a given field.
- TermRangeFilter(String, BytesRef, BytesRef, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeFilter
-
- TermRangeQuery - Class in org.apache.lucene.search
-
A Query that matches documents within an range of terms.
- TermRangeQuery(String, BytesRef, BytesRef, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeQuery
-
Constructs a query selecting all terms greater/equal than lowerTerm
but less/equal than upperTerm
.
- TermRangeTermsEnum - Class in org.apache.lucene.search
-
Subclass of FilteredTermEnum for enumerating all terms that match the
specified range parameters.
- TermRangeTermsEnum(TermsEnum, BytesRef, BytesRef, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeTermsEnum
-
Enumerates all terms greater/equal than lowerTerm
but less/equal than upperTerm
.
- terms(String) - Method in class org.apache.lucene.codecs.BlockTreeTermsReader
-
- terms(String) - Method in class org.apache.lucene.index.AtomicReader
-
This may return null if the field does not exist.
- terms(String) - Method in class org.apache.lucene.index.Fields
-
Get the
Terms
for this field.
- terms(String) - Method in class org.apache.lucene.index.FilterAtomicReader.FilterFields
-
- terms(String) - Method in class org.apache.lucene.index.MultiFields
-
- Terms - Class in org.apache.lucene.index
-
Access to the terms in a specific field.
- Terms() - Constructor for class org.apache.lucene.index.Terms
-
Sole constructor.
- terms - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- TERMS_INDEX_VERSION_CURRENT - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
-
Current index format.
- TERMS_INDEX_VERSION_START - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
-
Initial index format.
- TERMS_VERSION_CURRENT - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
-
Current terms format.
- TERMS_VERSION_START - Static variable in class org.apache.lucene.codecs.BlockTreeTermsWriter
-
Initial terms format.
- TermsConsumer - Class in org.apache.lucene.codecs
-
Abstract API that consumes terms for an individual field.
- TermsConsumer() - Constructor for class org.apache.lucene.codecs.TermsConsumer
-
Sole constructor.
- TermsEnum - Class in org.apache.lucene.index
-
- TermsEnum() - Constructor for class org.apache.lucene.index.TermsEnum
-
Sole constructor.
- TermsEnum.SeekStatus - Enum in org.apache.lucene.index
-
- termsIndexDivisor - Variable in class org.apache.lucene.index.SegmentReadState
-
The
termInfosIndexDivisor
to use, if
appropriate (not all
PostingsFormat
s support
it; in particular the current default does not).
- termsOnlyBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
The number of "leaf" blocks (blocks that have only
terms).
- TermSpans - Class in org.apache.lucene.search.spans
-
Expert:
Public for extension only
- TermSpans(DocsAndPositionsEnum, Term) - Constructor for class org.apache.lucene.search.spans.TermSpans
-
- termState() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- termState() - Method in class org.apache.lucene.index.FilteredTermsEnum
-
Returns the filtered enums term state
- termState() - Method in class org.apache.lucene.index.TermsEnum
-
Expert: Returns the TermsEnums internal state to position the TermsEnum
without re-seeking the term dictionary.
- TermState - Class in org.apache.lucene.index
-
Encapsulates all required internal state to position the associated
TermsEnum
without re-seeking.
- TermState() - Constructor for class org.apache.lucene.index.TermState
-
Sole constructor.
- termState() - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- termStatistics(Term, TermContext) - Method in class org.apache.lucene.search.IndexSearcher
-
- TermStatistics - Class in org.apache.lucene.search
-
Contains statistics for a specific term
- TermStatistics(BytesRef, long, long) - Constructor for class org.apache.lucene.search.TermStatistics
-
- TermStats - Class in org.apache.lucene.codecs
-
Holder for per-term statistics.
- TermStats(int, long) - Constructor for class org.apache.lucene.codecs.TermStats
-
Sole constructor.
- termText - Variable in class org.apache.lucene.search.FuzzyTermsEnum
-
- TermToBytesRefAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
This attribute is requested by TermsHashPerField to index the contents.
- termVectorsFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes term vectors
- termVectorsFormat() - Method in class org.apache.lucene.codecs.FilterCodec
-
- termVectorsFormat() - Method in class org.apache.lucene.codecs.lucene3x.Lucene3xCodec
-
Deprecated.
- termVectorsFormat() - Method in class org.apache.lucene.codecs.lucene40.Lucene40Codec
-
- TermVectorsFormat - Class in org.apache.lucene.codecs
-
Controls the format of term vectors
- TermVectorsFormat() - Constructor for class org.apache.lucene.codecs.TermVectorsFormat
-
Sole constructor.
- TermVectorsReader - Class in org.apache.lucene.codecs
-
Codec API for reading term vectors:
- TermVectorsReader() - Constructor for class org.apache.lucene.codecs.TermVectorsReader
-
Sole constructor.
- termVectorStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of term vectors (null if term vectors could not be tested).
- TermVectorsWriter - Class in org.apache.lucene.codecs
-
Codec API for writing term vectors:
- TermVectorsWriter() - Constructor for class org.apache.lucene.codecs.TermVectorsWriter
-
Sole constructor.
- text() - Method in class org.apache.lucene.index.Term
-
Returns the text of this term.
- TextField - Class in org.apache.lucene.document
-
A field that is indexed and tokenized, without term
vectors.
- TextField(String, Reader) - Constructor for class org.apache.lucene.document.TextField
-
Creates a new un-stored TextField with Reader value.
- TextField(String, String, Field.Store) - Constructor for class org.apache.lucene.document.TextField
-
Creates a new TextField with String value.
- TextField(String, TokenStream) - Constructor for class org.apache.lucene.document.TextField
-
Creates a new un-stored TextField with TokenStream value.
- tf(float) - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
Implemented as sqrt(freq)
.
- tf(int) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- TFIDFSimilarity - Class in org.apache.lucene.search.similarities
-
Implementation of
Similarity
with the Vector Space Model.
- TFIDFSimilarity() - Constructor for class org.apache.lucene.search.similarities.TFIDFSimilarity
-
Sole constructor.
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Normalization.NoNormalization
-
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.Normalization
-
Returns the normalized term frequency.
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.NormalizationH1
-
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.NormalizationH2
-
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.NormalizationH3
-
- tfn(BasicStats, float, float) - Method in class org.apache.lucene.search.similarities.NormalizationZ
-
- THREAD_NAME - Static variable in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- ThreadInterruptedException - Exception in org.apache.lucene.util
-
Thrown by lucene on detecting that Thread.interrupt() had
been called.
- ThreadInterruptedException(InterruptedException) - Constructor for exception org.apache.lucene.util.ThreadInterruptedException
-
- TieredMergePolicy - Class in org.apache.lucene.index
-
Merges segments of approximately equal size, subject to
an allowed number of segments per tier.
- TieredMergePolicy() - Constructor for class org.apache.lucene.index.TieredMergePolicy
-
Sole constructor, setting all settings to their
defaults.
- TieredMergePolicy.MergeScore - Class in org.apache.lucene.index
-
Holds score and explanation for a single candidate
merge.
- TieredMergePolicy.MergeScore() - Constructor for class org.apache.lucene.index.TieredMergePolicy.MergeScore
-
Sole constructor.
- TimeLimitingCollector - Class in org.apache.lucene.search
-
The
TimeLimitingCollector
is used to timeout search requests that
take longer than the maximum allowed search time limit.
- TimeLimitingCollector(Collector, Counter, long) - Constructor for class org.apache.lucene.search.TimeLimitingCollector
-
Create a TimeLimitedCollector wrapper over another
Collector
with a specified timeout.
- TimeLimitingCollector.TimeExceededException - Exception in org.apache.lucene.search
-
Thrown when elapsed search time exceeds allowed search time.
- TimeLimitingCollector.TimerThread - Class in org.apache.lucene.search
-
Thread used to timeout search requests.
- TimeLimitingCollector.TimerThread(long, Counter) - Constructor for class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- TimeLimitingCollector.TimerThread(Counter) - Constructor for class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- timeToString(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Converts a millisecond time to a string suitable for indexing.
- tnums - Variable in class org.apache.lucene.index.DocTermOrds
-
Holds term ords for documents.
- toAbsolutOrds(int[]) - Method in class org.apache.lucene.index.SortedBytesMergeUtils.SortedSourceSlice
-
Fills in the absolute ords for this slice.
- toAutomaton(Term) - Static method in class org.apache.lucene.search.WildcardQuery
-
Convert Lucene wildcard syntax into an automaton.
- toAutomaton(int) - Method in class org.apache.lucene.util.automaton.LevenshteinAutomata
-
Compute a DFA that accepts all strings within an edit distance of n
.
- toAutomaton() - Method in class org.apache.lucene.util.automaton.RegExp
-
Constructs new Automaton
from this RegExp
.
- toAutomaton(AutomatonProvider) - Method in class org.apache.lucene.util.automaton.RegExp
-
Constructs new Automaton
from this RegExp
.
- toAutomaton(Map<String, Automaton>) - Method in class org.apache.lucene.util.automaton.RegExp
-
Constructs new Automaton
from this RegExp
.
- toBytes(long, BytesRef) - Method in class org.apache.lucene.codecs.DocValuesArraySource
-
Encode a long value into the provided
BytesRef
.
- toBytes(double, BytesRef) - Method in class org.apache.lucene.codecs.DocValuesArraySource
-
Encode a double value into the provided
BytesRef
.
- toBytesRef(IntsRef, BytesRef) - Static method in class org.apache.lucene.util.fst.Util
-
Just converts IntsRef to BytesRef; you must ensure the
int values fit into a byte.
- toDot() - Method in class org.apache.lucene.util.automaton.Automaton
-
- toDot(FST<T>, Writer, boolean, boolean) - Static method in class org.apache.lucene.util.fst.Util
-
Dumps an
FST
to a GraphViz's
dot
language description
for visualization.
- toHexString(String) - Static method in class org.apache.lucene.util.UnicodeUtil
-
- toHtml() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as HTML.
- toIndex(boolean, boolean) - Static method in enum org.apache.lucene.document.Field.Index
-
Deprecated.
Get the best representation of the index given the flags.
- toIndex(boolean, boolean, boolean) - Static method in enum org.apache.lucene.document.Field.Index
-
Deprecated.
Expert: Get the best representation of the index given the flags.
- toIntArray(Collection<Integer>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- toIntsRef(BytesRef, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Just takes unsigned byte values from the BytesRef and
converts into an IntsRef.
- Token - Class in org.apache.lucene.analysis
-
A Token is an occurrence of a term from the text of a field.
- Token() - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token will null text.
- Token(int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets.
- Token(int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus the Token type.
- Token(int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus flags.
- Token(String, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term text, and start
& end offsets.
- Token(String, int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given text, start and end
offsets, & type.
- Token(String, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given text, start and end
offsets, & type.
- Token(char[], int, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term buffer (offset
& length), start and end
offsets
- Token.TokenAttributeFactory - Class in org.apache.lucene.analysis
-
Expert: Creates a TokenAttributeFactory returning
Token
as instance for the basic attributes
and for all other attributes calls the given delegate factory.
- Token.TokenAttributeFactory(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.Token.TokenAttributeFactory
-
Expert: Creates an AttributeFactory returning
Token
as instance for the basic attributes
and for all other attributes calls the given delegate factory.
- TOKEN_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.analysis.Token
-
Convenience factory that returns Token
as implementation for the basic
attributes and return the default impl (with "Impl" appended) for all other
attributes.
- TOKEN_TYPE_FULL_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
-
The full precision token gets this token type assigned.
- TOKEN_TYPE_LOWER_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
-
The lower precision tokens gets this token type assigned.
- TokenFilter - Class in org.apache.lucene.analysis
-
A TokenFilter is a TokenStream whose input is another TokenStream.
- TokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TokenFilter
-
Construct a token stream filtering the given input.
- tokenized() - Method in class org.apache.lucene.document.FieldType
-
True if this field's value should be analyzed by the
Analyzer
.
- tokenized() - Method in interface org.apache.lucene.index.IndexableFieldType
-
True if this field's value should be analyzed by the
Analyzer
.
- Tokenizer - Class in org.apache.lucene.analysis
-
A Tokenizer is a TokenStream whose input is a Reader.
- Tokenizer(Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input.
- Tokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input using the given AttributeFactory.
- Tokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input using the given AttributeSource.
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
Returns a TokenStream suitable for fieldName
, tokenizing
the contents of reader
.
- TokenStream - Class in org.apache.lucene.analysis
-
A
TokenStream
enumerates the sequence of tokens, either from
Field
s of a
Document
or from query text.
- TokenStream() - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream using the default attribute factory.
- TokenStream(AttributeSource) - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream that uses the same attributes as the supplied one.
- TokenStream(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream using the supplied AttributeFactory for creating new
Attribute
instances.
- tokenStream - Variable in class org.apache.lucene.document.Field
-
Pre-analyzed tokenStream for indexed fields; this is
separate from fieldsData because you are allowed to
have both; eg maybe field has a String value but you
customize how it's tokenized
- tokenStream(Analyzer) - Method in class org.apache.lucene.document.Field
-
- tokenStream(Analyzer) - Method in interface org.apache.lucene.index.IndexableField
-
Creates the TokenStream used for indexing this field.
- tokenStreamValue() - Method in class org.apache.lucene.document.Field
-
The TokenStream for this field to be used when indexing, or null.
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValue
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueBool
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueDate
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueDouble
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueFloat
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueInt
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueLong
-
- toObject() - Method in class org.apache.lucene.util.mutable.MutableValueStr
-
- toolOutOfDate - Variable in class org.apache.lucene.index.CheckIndex.Status
-
True if the index was created with a newer version of Lucene than the CheckIndex tool.
- top() - Method in class org.apache.lucene.util.PriorityQueue
-
Returns the least element of the PriorityQueue in constant time.
- TopDocs - Class in org.apache.lucene.search
-
- TopDocs(int, ScoreDoc[], float) - Constructor for class org.apache.lucene.search.TopDocs
-
- topDocs() - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the top docs that were collected by this collector.
- topDocs(int) - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the documents in the rage [start ..
- topDocs(int, int) - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the documents in the rage [start ..
- TopDocsCollector<T extends ScoreDoc> - Class in org.apache.lucene.search
-
A base class for all collectors that return a
TopDocs
output.
- TopDocsCollector(PriorityQueue<T>) - Constructor for class org.apache.lucene.search.TopDocsCollector
-
- topDocsSize() - Method in class org.apache.lucene.search.TopDocsCollector
-
The number of valid PQ entries
- TopFieldCollector - Class in org.apache.lucene.search
-
- TopFieldDocs - Class in org.apache.lucene.search
-
- TopFieldDocs(int, ScoreDoc[], SortField[], float) - Constructor for class org.apache.lucene.search.TopFieldDocs
-
Creates one of these objects.
- topLevelBoost - Variable in class org.apache.lucene.search.similarities.BasicStats
-
Any outer query's boost.
- topReaderContext - Variable in class org.apache.lucene.index.TermContext
-
- TopScoreDocCollector - Class in org.apache.lucene.search
-
A
Collector
implementation that collects the top-scoring hits,
returning them as a
TopDocs
.
- TopTermsRewrite<Q extends Query> - Class in org.apache.lucene.search
-
Base rewrite method for collecting only the top terms
via a priority queue.
- TopTermsRewrite(int) - Constructor for class org.apache.lucene.search.TopTermsRewrite
-
Create a TopTermsBooleanQueryRewrite for
at most size
terms.
- toString() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Returns solely the term text as specified by the
CharSequence
interface.
- toString() - Method in class org.apache.lucene.codecs.BlockTermState
-
- toString() - Method in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
- toString() - Method in class org.apache.lucene.codecs.Codec
-
returns the codec's name.
- toString() - Method in class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat
-
- toString() - Method in class org.apache.lucene.codecs.PostingsFormat
-
- toString() - Method in enum org.apache.lucene.document.DateTools.Resolution
-
this method returns the name of the resolution
in lowercase (for backwards compatibility)
- toString() - Method in class org.apache.lucene.document.Document
-
Prints the fields of a document for human consumption.
- toString() - Method in class org.apache.lucene.document.Field
-
Prints a Field for human consumption.
- toString() - Method in class org.apache.lucene.document.FieldType
-
Prints a Field for human consumption.
- toString() - Method in class org.apache.lucene.index.CompositeReader
-
- toString() - Method in class org.apache.lucene.index.FilterAtomicReader
-
- toString() - Method in class org.apache.lucene.index.LiveIndexWriterConfig
-
- toString() - Method in class org.apache.lucene.index.LogMergePolicy
-
- toString() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum.EnumWithSlice
-
- toString() - Method in class org.apache.lucene.index.MultiDocsAndPositionsEnum
-
- toString() - Method in class org.apache.lucene.index.MultiDocsEnum.EnumWithSlice
-
- toString() - Method in class org.apache.lucene.index.MultiDocsEnum
-
- toString() - Method in class org.apache.lucene.index.MultiTermsEnum
-
- toString() - Method in class org.apache.lucene.index.NoMergePolicy
-
- toString() - Method in class org.apache.lucene.index.OrdTermState
-
- toString() - Method in class org.apache.lucene.index.ParallelAtomicReader
-
- toString() - Method in class org.apache.lucene.index.ParallelCompositeReader
-
- toString() - Method in class org.apache.lucene.index.ReaderSlice
-
- toString() - Method in class org.apache.lucene.index.SegmentInfo
-
- toString(Directory, int) - Method in class org.apache.lucene.index.SegmentInfo
-
Used for debugging.
- toString(Directory, int) - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
Returns a description of this segment.
- toString() - Method in class org.apache.lucene.index.SegmentInfoPerCommit
-
- toString(Directory) - Method in class org.apache.lucene.index.SegmentInfos
-
Returns readable description of this segment.
- toString() - Method in class org.apache.lucene.index.SegmentReader
-
- toString() - Method in class org.apache.lucene.index.SlowCompositeReaderWrapper
-
- toString() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- toString() - Method in class org.apache.lucene.index.Term
-
- toString() - Method in class org.apache.lucene.index.TermState
-
- toString() - Method in class org.apache.lucene.index.TieredMergePolicy
-
- toString() - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
- toString(String) - Method in class org.apache.lucene.search.AutomatonQuery
-
- toString() - Method in class org.apache.lucene.search.BooleanClause
-
- toString(String) - Method in class org.apache.lucene.search.BooleanQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.CachingWrapperFilter
-
- toString(String) - Method in class org.apache.lucene.search.ConstantScoreQuery
-
- toString(String) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Prettyprint us.
- toString() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as text.
- toString(int) - Method in class org.apache.lucene.search.Explanation
-
- toString() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- toString() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- toString() - Method in class org.apache.lucene.search.FieldDoc
-
- toString() - Method in class org.apache.lucene.search.FieldValueFilter
-
- toString() - Method in class org.apache.lucene.search.FieldValueHitQueue.Entry
-
- toString(String) - Method in class org.apache.lucene.search.FilteredQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.FuzzyQuery
-
- toString() - Method in class org.apache.lucene.search.IndexSearcher
-
- toString(String) - Method in class org.apache.lucene.search.MatchAllDocsQuery
-
- toString(String) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
-
- toString(String) - Method in class org.apache.lucene.search.NumericRangeQuery
-
- toString(String) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
-
- toString(String) - Method in class org.apache.lucene.search.PhraseQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.PrefixFilter
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.PrefixQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.Query
-
Prints a query to a string, with field
assumed to be the
default field and omitted.
- toString() - Method in class org.apache.lucene.search.Query
-
Prints a query to a string.
- toString() - Method in class org.apache.lucene.search.QueryWrapperFilter
-
- toString(String) - Method in class org.apache.lucene.search.RegexpQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.ScoreDoc
-
- toString() - Method in class org.apache.lucene.search.similarities.AfterEffect.NoAfterEffect
-
- toString() - Method in class org.apache.lucene.search.similarities.AfterEffect
-
Subclasses must override this method to return the code of the
after effect formula.
- toString() - Method in class org.apache.lucene.search.similarities.AfterEffectB
-
- toString() - Method in class org.apache.lucene.search.similarities.AfterEffectL
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModel
-
Subclasses must override this method to return the code of the
basic model formula.
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelBE
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelD
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelG
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelIF
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelIn
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelIne
-
- toString() - Method in class org.apache.lucene.search.similarities.BasicModelP
-
- toString() - Method in class org.apache.lucene.search.similarities.BM25Similarity
-
- toString() - Method in class org.apache.lucene.search.similarities.DefaultSimilarity
-
- toString() - Method in class org.apache.lucene.search.similarities.DFRSimilarity
-
- toString() - Method in class org.apache.lucene.search.similarities.Distribution
-
Subclasses must override this method to return the name of the
distribution.
- toString() - Method in class org.apache.lucene.search.similarities.DistributionLL
-
- toString() - Method in class org.apache.lucene.search.similarities.DistributionSPL
-
- toString() - Method in class org.apache.lucene.search.similarities.IBSimilarity
-
The name of IB methods follow the pattern
IB <distribution> <lambda><normalization>
.
- toString() - Method in class org.apache.lucene.search.similarities.Lambda
-
Subclasses must override this method to return the code of the lambda
formula.
- toString() - Method in class org.apache.lucene.search.similarities.LambdaDF
-
- toString() - Method in class org.apache.lucene.search.similarities.LambdaTTF
-
- toString() - Method in class org.apache.lucene.search.similarities.LMSimilarity
-
Returns the name of the LM method.
- toString() - Method in class org.apache.lucene.search.similarities.Normalization.NoNormalization
-
- toString() - Method in class org.apache.lucene.search.similarities.Normalization
-
Subclasses must override this method to return the code of the
normalization formula.
- toString() - Method in class org.apache.lucene.search.similarities.NormalizationH1
-
- toString() - Method in class org.apache.lucene.search.similarities.NormalizationH2
-
- toString() - Method in class org.apache.lucene.search.similarities.NormalizationH3
-
- toString() - Method in class org.apache.lucene.search.similarities.NormalizationZ
-
- toString() - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Subclasses must override this method to return the name of the Similarity
and preferably the values of parameters (if any) as well.
- toString() - Method in class org.apache.lucene.search.Sort
-
- toString() - Method in class org.apache.lucene.search.SortField
-
- toString(String) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
-
- toString() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- toString() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanPayloadCheckQuery
-
- toString() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- toString() - Method in class org.apache.lucene.search.spans.TermSpans
-
- toString(String) - Method in class org.apache.lucene.search.TermQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.TermRangeQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.WildcardQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.store.CompoundFileDirectory
-
- toString() - Method in class org.apache.lucene.store.Directory
-
- toString() - Method in class org.apache.lucene.store.FlushInfo
-
- toString() - Method in class org.apache.lucene.store.FSDirectory
-
For debug output.
- toString() - Method in class org.apache.lucene.store.IndexInput
-
- toString() - Method in class org.apache.lucene.store.IOContext
-
- toString() - Method in class org.apache.lucene.store.MergeInfo
-
- toString() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- toString() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
-
- toString() - Method in class org.apache.lucene.util.automaton.Automaton
-
Returns a string representation of this automaton.
- toString() - Method in class org.apache.lucene.util.automaton.RegExp
-
Constructs string from parsed regular expression.
- toString() - Method in class org.apache.lucene.util.automaton.RunAutomaton
-
Returns a string representation of this automaton.
- toString() - Method in class org.apache.lucene.util.automaton.State
-
Returns string describing this state.
- toString() - Method in class org.apache.lucene.util.automaton.Transition
-
Returns a string describing this state.
- toString() - Method in class org.apache.lucene.util.BytesRef
-
Returns hex encoded bytes, eg [0x6c 0x75 0x63 0x65 0x6e 0x65]
- toString() - Method in class org.apache.lucene.util.CharsRef
-
- toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
-
Multi-Line representation of this Insanity object, starting with
the Type and Msg, followed by each CacheEntry.toString() on it's
own line prefaced by a tab character
- toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
-
- toString() - Method in class org.apache.lucene.util.fst.FST.Arc
-
- toString() - Method in class org.apache.lucene.util.fst.PairOutputs
-
- toString() - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
- toString() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
-
- toString() - Method in class org.apache.lucene.util.IntsRef
-
- toString() - Method in class org.apache.lucene.util.LongsRef
-
- toString() - Method in class org.apache.lucene.util.mutable.MutableValue
-
- toString() - Method in enum org.apache.lucene.util.RamUsageEstimator.JvmFeature
-
- ToStringUtils - Class in org.apache.lucene.util
-
- total_time - Variable in class org.apache.lucene.index.DocTermOrds
-
Total time to uninvert the field.
- totalBlockCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total number of blocks.
- totalBlockOtherBytes - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total bytes stored by the
PostingsBaseFormat
,
plus the other few vInts stored in the frame.
- totalBlockStatsBytes - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total number of bytes used to store term stats (not
including what the
PostingsBaseFormat
stores.
- totalBlockSuffixBytes - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total number of bytes used to store term suffixes.
- totalBoost - Variable in class org.apache.lucene.search.similarities.BasicStats
-
For most Similarities, the immediate and the top level query boosts are
not handled differently.
- totalBytesSize() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Returns the total size in bytes of this merge.
- totalDocCount - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
-
Number of documents in the merged segment.
- totalDocCount() - Method in class org.apache.lucene.index.SegmentInfos
-
Returns sum of all segment's docCounts.
- totalDocCount - Variable in class org.apache.lucene.store.MergeInfo
-
- TotalHitCountCollector - Class in org.apache.lucene.search
-
Just counts the total number of hits.
- TotalHitCountCollector() - Constructor for class org.apache.lucene.search.TotalHitCountCollector
-
- totalHits - Variable in class org.apache.lucene.search.TopDocs
-
The total number of hits for the query.
- totalHits - Variable in class org.apache.lucene.search.TopDocsCollector
-
The total number of documents that the collector encountered.
- totalNumDocs() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Returns the total number of documents that are included with this merge.
- totalTermBytes - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total number of bytes (sum of term lengths) across all terms in the field.
- totalTermCount - Variable in class org.apache.lucene.codecs.BlockTreeTermsReader.Stats
-
Total number of terms in the field.
- totalTermFreq - Variable in class org.apache.lucene.codecs.BlockTermState
-
total number of occurrences of this term
- totalTermFreq - Variable in class org.apache.lucene.codecs.TermStats
-
Total number of times this term occurs across all
documents in the field.
- totalTermFreq(Term) - Method in class org.apache.lucene.index.AtomicReader
-
Returns the number of documents containing the term
t
.
- totalTermFreq(Term) - Method in class org.apache.lucene.index.BaseCompositeReader
-
- totalTermFreq() - Method in class org.apache.lucene.index.FilterAtomicReader.FilterTermsEnum
-
- totalTermFreq() - Method in class org.apache.lucene.index.FilteredTermsEnum
-
- totalTermFreq(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of documents containing the term
term
.
- totalTermFreq(IndexReader, String, BytesRef) - Static method in class org.apache.lucene.index.MultiFields
-
Returns the total number of occurrences of this term
across all documents (the sum of the freq() for each
doc that has this term).
- totalTermFreq() - Method in class org.apache.lucene.index.MultiTermsEnum
-
- totalTermFreq() - Method in class org.apache.lucene.index.TermContext
-
- totalTermFreq() - Method in class org.apache.lucene.index.TermsEnum
-
Returns the total number of occurrences of this term
across all documents (the sum of the freq() for each
doc that has this term).
- totalTermFreq() - Method in class org.apache.lucene.search.FuzzyTermsEnum
-
- totalTermFreq - Variable in class org.apache.lucene.search.similarities.BasicStats
-
The total number of occurrences of this term across all documents.
- totalTermFreq() - Method in class org.apache.lucene.search.TermStatistics
-
returns the total number of occurrences of this term
- totalValueFields - Variable in class org.apache.lucene.index.CheckIndex.Status.DocValuesStatus
-
Total number of docValues tested.
- toTermVector(boolean, boolean, boolean) - Static method in enum org.apache.lucene.document.Field.TermVector
-
Deprecated.
Get the best representation of a TermVector given the flags.
- totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
-
Number of fields successfully tested
- totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
-
Total number of stored fields tested.
- totFreq - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total frequency across all terms.
- totLoseDocCount - Variable in class org.apache.lucene.index.CheckIndex.Status
-
How many documents will be lost to bad segments.
- totPos - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total number of positions.
- totVectors - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
-
Total number of term vectors tested.
- toUTF16(CharSequence, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Just maps each UTF16 unit (char) to the ints in an
IntsRef.
- toUTF32(CharSequence, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Decodes the Unicode codepoints from the provided
CharSequence and places them in the provided scratch
IntsRef, which must not be null, returning it.
- toUTF32(char[], int, int, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Decodes the Unicode codepoints from the provided
char[] and places them in the provided scratch
IntsRef, which must not be null, returning it.
- TrackingDirectoryWrapper - Class in org.apache.lucene.store
-
A delegating Directory that records which files were
written to and deleted.
- TrackingDirectoryWrapper(Directory) - Constructor for class org.apache.lucene.store.TrackingDirectoryWrapper
-
- Transition - Class in org.apache.lucene.util.automaton
-
Automaton transition.
- Transition(int, State) - Constructor for class org.apache.lucene.util.automaton.Transition
-
Constructs a new singleton interval transition.
- Transition(int, int, State) - Constructor for class org.apache.lucene.util.automaton.Transition
-
Constructs a new transition.
- transitionsArray - Variable in class org.apache.lucene.util.automaton.State
-
- translateFieldType(Field.Store, Field.Index, Field.TermVector) - Static method in class org.apache.lucene.document.Field
-
Deprecated.
This is here only to ease transition from
the pre-4.0 APIs.
- trimTrailingZeros() - Method in class org.apache.lucene.util.OpenBitSet
-
Lowers numWords, the number of words in use,
by checking for trailing zero words.
- trimTransitionsArray() - Method in class org.apache.lucene.util.automaton.State
-
Downsizes transitionArray to numTransitions
- tryDeleteDocument(IndexReader, int) - Method in class org.apache.lucene.index.IndexWriter
-
- tryDeleteDocument(IndexReader, int) - Method in class org.apache.lucene.search.NRTManager.TrackingIndexWriter
-
- tryIncRef() - Method in class org.apache.lucene.index.IndexReader
-
Expert: increments the refCount of this IndexReader
instance only if the IndexReader has not been closed yet
and returns true
iff the refCount was
successfully incremented, otherwise false
.
- tryIncRef(DirectoryReader) - Method in class org.apache.lucene.index.ReaderManager
-
- tryIncRef(IndexSearcher) - Method in class org.apache.lucene.search.NRTManager
-
- tryIncRef(G) - Method in class org.apache.lucene.search.ReferenceManager
-
Try to increment reference counting on the given reference.
- tryIncRef(IndexSearcher) - Method in class org.apache.lucene.search.SearcherManager
-
- TwoPhaseCommit - Interface in org.apache.lucene.index
-
An interface for implementations that support 2-phase commit.
- TwoPhaseCommitTool - Class in org.apache.lucene.index
-
A utility for executing 2-phase commit on several objects.
- TwoPhaseCommitTool.CommitFailException - Exception in org.apache.lucene.index
-
- TwoPhaseCommitTool.CommitFailException(Throwable, TwoPhaseCommit) - Constructor for exception org.apache.lucene.index.TwoPhaseCommitTool.CommitFailException
-
Sole constructor.
- TwoPhaseCommitTool.PrepareCommitFailException - Exception in org.apache.lucene.index
-
- TwoPhaseCommitTool.PrepareCommitFailException(Throwable, TwoPhaseCommit) - Constructor for exception org.apache.lucene.index.TwoPhaseCommitTool.PrepareCommitFailException
-
Sole constructor.
- TwoPhaseCommitTool.TwoPhaseCommitWrapper - Class in org.apache.lucene.index
-
A wrapper of a
TwoPhaseCommit
, which delegates all calls to the
wrapped object, passing the specified commitData.
- TwoPhaseCommitTool.TwoPhaseCommitWrapper(TwoPhaseCommit, Map<String, String>) - Constructor for class org.apache.lucene.index.TwoPhaseCommitTool.TwoPhaseCommitWrapper
-
Sole constructor.
- type() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's lexical type.
- type() - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
Returns this Token's lexical type.
- type() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
- TYPE - Static variable in class org.apache.lucene.document.ByteDocValuesField
-
Type for 8-bit byte DocValues.
- TYPE - Static variable in class org.apache.lucene.document.DoubleDocValuesField
-
Type for 64-bit double DocValues.
- type - Variable in class org.apache.lucene.document.Field
-
Field's type
- TYPE - Static variable in class org.apache.lucene.document.FloatDocValuesField
-
Type for 32-bit float DocValues.
- TYPE - Static variable in class org.apache.lucene.document.IntDocValuesField
-
Type for 32-bit integer DocValues.
- TYPE - Static variable in class org.apache.lucene.document.LongDocValuesField
-
Type for 64-bit long DocValues.
- TYPE - Static variable in class org.apache.lucene.document.PackedLongDocValuesField
-
Type for packed long DocValues.
- TYPE - Static variable in class org.apache.lucene.document.ShortDocValuesField
-
Type for 16-bit short DocValues.
- TYPE - Static variable in class org.apache.lucene.document.StoredField
-
Type for a stored-only field.
- type - Variable in class org.apache.lucene.index.DocValues.Source
-
- type() - Method in class org.apache.lucene.index.Norm
-
- type - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
-
- TYPE_FIXED_LEN - Static variable in class org.apache.lucene.document.DerefBytesDocValuesField
-
Type for indirect bytes DocValues: all with the same length
- TYPE_FIXED_LEN - Static variable in class org.apache.lucene.document.SortedBytesDocValuesField
-
Type for sorted bytes DocValues: all with the same length
- TYPE_FIXED_LEN - Static variable in class org.apache.lucene.document.StraightBytesDocValuesField
-
Type for direct bytes DocValues: all with the same length
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.DoubleField
-
Type for a DoubleField that is not stored:
normalization factors, frequencies, and positions are omitted.
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.FloatField
-
Type for a FloatField that is not stored:
normalization factors, frequencies, and positions are omitted.
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.IntField
-
Type for an IntField that is not stored:
normalization factors, frequencies, and positions are omitted.
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.LongField
-
Type for a LongField that is not stored:
normalization factors, frequencies, and positions are omitted.
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.StringField
-
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, not stored.
- TYPE_NOT_STORED - Static variable in class org.apache.lucene.document.TextField
-
Indexed, tokenized, not stored.
- TYPE_STORED - Static variable in class org.apache.lucene.document.DoubleField
-
Type for a stored DoubleField:
normalization factors, frequencies, and positions are omitted.
- TYPE_STORED - Static variable in class org.apache.lucene.document.FloatField
-
Type for a stored FloatField:
normalization factors, frequencies, and positions are omitted.
- TYPE_STORED - Static variable in class org.apache.lucene.document.IntField
-
Type for a stored IntField:
normalization factors, frequencies, and positions are omitted.
- TYPE_STORED - Static variable in class org.apache.lucene.document.LongField
-
Type for a stored LongField:
normalization factors, frequencies, and positions are omitted.
- TYPE_STORED - Static variable in class org.apache.lucene.document.StringField
-
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, stored
- TYPE_STORED - Static variable in class org.apache.lucene.document.TextField
-
Indexed, tokenized, stored.
- TYPE_VAR_LEN - Static variable in class org.apache.lucene.document.DerefBytesDocValuesField
-
Type for indirect bytes DocValues: can have variable lengths
- TYPE_VAR_LEN - Static variable in class org.apache.lucene.document.SortedBytesDocValuesField
-
Type for sorted bytes DocValues: can have variable lengths
- TYPE_VAR_LEN - Static variable in class org.apache.lucene.document.StraightBytesDocValuesField
-
Type for direct bytes DocValues: can have variable lengths
- TypeAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
A Token's lexical type.
- TypeAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
- TypeAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
- TypeAttributeImpl(String) - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
Initialize this attribute with type