A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
All Classes All Packages
All Classes All Packages
A
- ab - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
represent if edge ab belongs to original shape
- abort() - Method in class org.apache.lucene.index.MergePolicy.OneMergeProgress
-
Abort the merge this progress tracks at the next possible moment.
- ABSOLUTE_MIN_SORT_BUFFER_SIZE - Static variable in class org.apache.lucene.util.OfflineSorter
-
Absolute minimum required buffer size for sorting.
- AbstractAnalysisFactory - Class in org.apache.lucene.analysis
-
Abstract parent class for analysis factories
TokenizerFactory
,TokenFilterFactory
andCharFilterFactory
. - AbstractAnalysisFactory() - Constructor for class org.apache.lucene.analysis.AbstractAnalysisFactory
-
This default ctor is required to be implemented by all subclasses because of service loader (SPI) specification, but it is never called by Lucene.
- AbstractAnalysisFactory(Map<String, String>) - Constructor for class org.apache.lucene.analysis.AbstractAnalysisFactory
-
Initialize this factory via a set of key-value pairs.
- AbstractIterator<E> - Class in org.apache.lucene.internal.hppc
-
Simplifies the implementation of iterators a bit.
- AbstractIterator() - Constructor for class org.apache.lucene.internal.hppc.AbstractIterator
- AbstractKnnCollector - Class in org.apache.lucene.search
-
AbstractKnnCollector is the default implementation for a knn collector used for gathering kNN results and providing topDocs from the gathered neighbors
- AbstractKnnCollector(int, long) - Constructor for class org.apache.lucene.search.AbstractKnnCollector
- AbstractPagedMutable<T extends AbstractPagedMutable<T>> - Class in org.apache.lucene.util.packed
-
Base implementation for
PagedMutable
andPagedGrowableWriter
. - AbstractRandomVectorScorer(RandomAccessVectorValues) - Constructor for class org.apache.lucene.util.hnsw.RandomVectorScorer.AbstractRandomVectorScorer
-
Creates a new scorer for the given vector values.
- accept() - Method in class org.apache.lucene.analysis.FilteringTokenFilter
-
Override this method and return if the current input token should be returned by
FilteringTokenFilter.incrementToken()
. - accept() - Method in class org.apache.lucene.analysis.StopFilter
-
Returns the next input Token whose term() is not a stop word.
- accept(int) - Method in interface org.apache.lucene.search.CheckedIntConsumer
-
Process the given value.
- accept(BytesRef) - Method in class org.apache.lucene.index.AutomatonTermsEnum
-
Returns true if the term matches the automaton.
- 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(T) - Method in interface org.apache.lucene.util.IOConsumer
-
Performs this operation on the given argument.
- accept(T) - Method in interface org.apache.lucene.util.IOUtils.IOConsumer
-
Deprecated.Performs this operation on the given argument.
- acceptField(String) - Method in class org.apache.lucene.search.QueryVisitor
-
Whether or not this field is of interest to the visitor
- acceptPartialPath(Util.FSTPath<T>) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
-
Override this to prevent considering a path before it's complete
- acceptResult(Util.FSTPath<T>) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
- acceptResult(IntsRef, T) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
- Accountable - Interface in org.apache.lucene.util
-
An object whose RAM usage can be computed.
- Accountables - Class in org.apache.lucene.util
-
Helper methods for constructing nested resource descriptions and debugging RAM usage.
- accumulateStatistics(int, long) - Method in class org.apache.lucene.index.TermStates
-
Expert: Accumulate term statistics.
- acosh(double) - Static method in class org.apache.lucene.util.MathUtil
-
Calculates inverse hyperbolic cosine of a
double
value. - 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 - actualTerm - Variable in class org.apache.lucene.index.FilteredTermsEnum
-
Which term the enum is currently positioned to.
- add(byte[], int) - Method in class org.apache.lucene.util.bkd.BKDWriter
- add(char) - Method in class org.apache.lucene.internal.hppc.CharHashSet
- add(char[]) - Method in class org.apache.lucene.analysis.CharArraySet
-
Add this char[] directly to the set.
- add(float) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
- add(float...) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Vararg-signature method for adding elements at the end of the list.
- add(float[], float[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Adds the second argument to the first
- add(float[], int, int) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Add all elements from a range of given array to the list.
- add(int) - Method in class org.apache.lucene.index.DocsWithFieldSet
-
Add a document to the set
- add(int) - Method in class org.apache.lucene.internal.hppc.IntArrayList
- add(int) - Method in class org.apache.lucene.internal.hppc.IntHashSet
- add(int) - Method in class org.apache.lucene.util.DocIdSetBuilder.BulkAdder
- add(int) - Method in class org.apache.lucene.util.FrequencyTrackingRingBuffer
-
Add a new item to this ring buffer, potentially removing the oldest entry from this buffer if it is already full.
- add(int) - Method in class org.apache.lucene.util.RoaringDocIdSet.Builder
-
Add a new doc-id to this builder.
- add(int...) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Vararg-signature method for adding elements at the end of the list.
- add(int[], int, int) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Add all elements from a range of given array to the list.
- add(int, float) - Method in class org.apache.lucene.util.hnsw.NeighborQueue
-
Adds a new graph arc, extending the storage as needed.
- add(int, int, byte[], byte[], byte[]) - Static method in class org.apache.lucene.util.NumericUtils
-
Result = a + b, where a and b are unsigned.
- add(int, long) - Method in class org.apache.lucene.codecs.CompetitiveImpactAccumulator
-
Accumulate a (freq,norm) pair, updating this structure if there is no equivalent or more competitive entry already.
- add(long) - Method in class org.apache.lucene.internal.hppc.LongArrayList
- add(long) - Method in class org.apache.lucene.internal.hppc.LongHashSet
- add(long) - Method in class org.apache.lucene.util.packed.DirectMonotonicWriter
-
Write a new value.
- add(long) - Method in class org.apache.lucene.util.packed.DirectWriter
-
Adds a value to this writer
- add(long) - Method in class org.apache.lucene.util.packed.MonotonicBlockPackedWriter
- add(long) - Method in class org.apache.lucene.util.packed.PackedInts.Writer
-
Add a value to the stream.
- add(long) - Method in class org.apache.lucene.util.packed.PackedLongValues.Builder
-
Add a new element to this builder.
- add(long...) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Vararg-signature method for adding elements at the end of the list.
- add(long[], int, int) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Add all elements from a range of given array to the list.
- add(CharSequence) - Method in class org.apache.lucene.analysis.CharArraySet
-
Add this CharSequence into the set
- add(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
- add(Object) - Method in class org.apache.lucene.analysis.CharArraySet
- add(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
- add(String) - Method in class org.apache.lucene.analysis.CharArraySet
-
Add this String into the set
- add(String, BooleanQuery.Builder, List<QueryBuilder.TermAndBoost>, BooleanClause.Occur) - Method in class org.apache.lucene.util.QueryBuilder
- add(String, BytesRef) - Method in class org.apache.lucene.index.PrefixCodedTerms.Builder
-
add a term.
- add(String, T) - Method in class org.apache.lucene.search.LiveFieldValues
-
Call this after you've successfully added a document to the index, to record what value you just set the field to.
- add(FieldInfo) - Method in interface org.apache.lucene.internal.tests.IndexPackageAccess.FieldInfosBuilder
- 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
-
Adds the provided
MergePolicy.OneMerge
to this specification. - add(SegmentCommitInfo) - Method in class org.apache.lucene.index.SegmentInfos
-
Appends the provided
SegmentCommitInfo
. - add(Term) - Method in class org.apache.lucene.index.PrefixCodedTerms.Builder
-
add a term
- add(Term) - Method in class org.apache.lucene.search.BlendedTermQuery.Builder
-
Add a new
Term
to this builder, with a default boost of1
. - add(Term) - Method in class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Add a single term at the next position in the phrase.
- add(Term) - Method in class org.apache.lucene.search.PhraseQuery.Builder
-
Adds a term to the end of the query phrase.
- add(Term[]) - Method in class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Add multiple terms at the next position in the phrase.
- add(Term[], int) - Method in class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Allows to specify the relative position of terms within the phrase.
- add(Term, float) - Method in class org.apache.lucene.search.BlendedTermQuery.Builder
-
Add a
Term
with the provided boost. - add(Term, float, TermStates) - Method in class org.apache.lucene.search.BlendedTermQuery.Builder
-
Expert: Add a
Term
with the provided boost and context. - add(Term, int) - Method in class org.apache.lucene.search.PhraseQuery.Builder
-
Adds a term to the end of the query phrase.
- add(BooleanClause) - Method in class org.apache.lucene.search.BooleanQuery.Builder
-
Add a new clause to this
BooleanQuery.Builder
. - add(DisiWrapper) - Method in class org.apache.lucene.search.DisiPriorityQueue
- add(DocIdSetIterator) - Method in class org.apache.lucene.util.DocIdSetBuilder
-
Add the content of the provided
DocIdSetIterator
to this builder. - add(DocIdSetIterator) - Method in class org.apache.lucene.util.DocIdSetBuilder.BulkAdder
- add(DocIdSetIterator) - Method in class org.apache.lucene.util.RoaringDocIdSet.Builder
-
Add the content of the provided
DocIdSetIterator
. - add(Query, BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanQuery.Builder
-
Add a new clause to this
BooleanQuery.Builder
. - add(BytesRef) - Method in class org.apache.lucene.util.BytesRefHash
-
Adds a new
BytesRef
- 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(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
- add(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
- add(IntsRef, T) - Method in class org.apache.lucene.util.fst.FSTCompiler
-
Add the next input/output pair.
- add(T) - Method in class org.apache.lucene.search.Multiset
- add(T) - Method in class org.apache.lucene.util.PriorityQueue
-
Adds an Object to a PriorityQueue in log(size) time.
- add(T, T) - Method in class org.apache.lucene.util.fst.Outputs
-
Eg add("foo", "bar") -> "foobar"
- ADD_INDEXES - org.apache.lucene.index.MergeTrigger
-
Merge was triggered by an
IndexWriter.addIndexes(CodecReader...)
operation - addAll(char...) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
Adds all elements from the given list (vararg) to this set.
- addAll(int...) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
Adds all elements from the given list (vararg) to this set.
- addAll(long...) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
Adds all elements from the given list (vararg) to this set.
- addAll(Iterable<? extends CharCursor>) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
Adds all elements from the given iterable to this set.
- addAll(Iterable<? extends FloatCursor>) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Adds all elements from another iterable.
- addAll(Iterable<? extends IntCursor>) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Adds all elements from another iterable.
- addAll(Iterable<? extends IntCursor>) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
Adds all elements from the given iterable to this set.
- addAll(Iterable<? extends LongCursor>) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Adds all elements from another iterable.
- addAll(Iterable<? extends LongCursor>) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
Adds all elements from the given iterable to this set.
- addAll(Iterable<SegmentCommitInfo>) - Method in class org.apache.lucene.index.SegmentInfos
-
Appends the provided
SegmentCommitInfo
s. - addAll(Collection<Integer>) - Method in class org.apache.lucene.internal.hppc.IntHashSet
- addAll(Collection<T>) - Method in class org.apache.lucene.util.PriorityQueue
-
Adds all elements of the collection into the queue.
- addAll(CompetitiveImpactAccumulator) - Method in class org.apache.lucene.codecs.CompetitiveImpactAccumulator
-
Merge
acc
into this. - addAll(CharHashSet) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
Adds all elements from the given set to this set.
- addAll(FloatArrayList) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Adds all elements from another list.
- addAll(IntArrayList) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Adds all elements from another list.
- addAll(IntHashSet) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
Adds all elements from the given set to this set.
- addAll(LongArrayList) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Adds all elements from another list.
- addAll(LongHashSet) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
Adds all elements from the given set to this set.
- addAll(DisiWrapper[], int, int) - Method in class org.apache.lucene.search.DisiPriorityQueue
- addAllDocVectors(Fields, MergeState) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Safe (but, slowish) default method to write every vector field in the document.
- addAndEnsureDiversity(int, float, int, RandomVectorScorerSupplier) - Method in class org.apache.lucene.util.hnsw.NeighborArray
-
In addition to
NeighborArray.addOutOfOrder(int, float)
, this function will also remove the least-diverse node if the node array is full after insertion - addAndGet(long) - Method in class org.apache.lucene.util.Counter
-
Adds the given delta to the counters current value
- addAttribute(Class<T>) - 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.
- addBinaryField(FieldInfo, DocValuesProducer) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Writes binary docvalues for a field.
- addByPoolOffset(int) - Method in class org.apache.lucene.util.BytesRefHash
-
Adds a "arbitrary" int offset instead of a BytesRef term.
- addBytesRef(BytesRef) - Method in class org.apache.lucene.util.BytesRefBlockPool
-
Add a term returning the start position on the underlying
ByteBlockPool
. - addClause(BlendedTermQuery.Builder, Term, int, float, TermStates) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBlendedFreqScoringRewrite
- addClause(BooleanQuery.Builder, Term, int, float, TermStates) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
- addClause(BooleanQuery.Builder, Term, int, float, TermStates) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
- addClosedListener(IndexReader.ClosedListener) - Method in class org.apache.lucene.index.FilterDirectoryReader.DelegatingCacheHelper
- addClosedListener(IndexReader.ClosedListener) - Method in interface org.apache.lucene.index.IndexReader.CacheHelper
-
Add a
IndexReader.ClosedListener
which will be called when the resource guarded byIndexReader.CacheHelper.getKey()
is closed. - addDiagnostics(Map<String, String>) - Method in class org.apache.lucene.index.SegmentInfo
-
Adds or modifies this segment's diagnostics.
- addDocument(Iterable<? extends IndexableField>) - Method in class org.apache.lucene.index.IndexWriter
-
Adds a document to this index.
- 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.
- addEpsilon(int, int) - Method in class org.apache.lucene.util.automaton.Automaton
-
Add a [virtual] epsilon transition between source and dest.
- addEpsilon(int, int) - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Add a [virtual] epsilon transition between source and dest.
- addField(FieldInfo) - Method in class org.apache.lucene.codecs.BufferingKnnVectorsWriter
- addField(FieldInfo) - Method in class org.apache.lucene.codecs.KnnVectorsWriter
-
Add new field for indexing
- addField(FieldInfo) - Method in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsWriter
- addField(FieldInfo, KnnFieldVectorsWriter<?>) - Method in class org.apache.lucene.codecs.hnsw.FlatVectorsWriter
-
Add a new field for indexing, allowing the user to provide a writer that the flat vectors writer can delegate to if additional indexing logic is required.
- addField(FieldInfo, KnnFieldVectorsWriter<?>) - Method in class org.apache.lucene.codecs.lucene99.Lucene99FlatVectorsWriter
- addField(FieldInfo, KnnFieldVectorsWriter<?>) - Method in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsWriter
- 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.
- addGraphNode(int) - Method in interface org.apache.lucene.util.hnsw.HnswBuilder
-
Inserts a doc with vector value to the graph
- addGraphNode(int) - Method in class org.apache.lucene.util.hnsw.HnswConcurrentMergeBuilder
- addGraphNode(int) - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder
- addGraphNode(int) - Method in class org.apache.lucene.util.hnsw.InitializedHnswGraphBuilder
- addIfCompetitive(Util.FSTPath<T>) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
- addIndexes(CodecReader...) - Method in class org.apache.lucene.index.IndexWriter
-
Merges the provided indexes into this index.
- addIndexes(Directory...) - Method in class org.apache.lucene.index.IndexWriter
-
Adds all segments from an array of indexes into this index.
- addIndexesReaderMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.IndexWriter
-
Runs a single merge operation for
IndexWriter.addIndexes(CodecReader...)
. - addInOrder(int, float) - Method in class org.apache.lucene.util.hnsw.NeighborArray
-
Add a new node to the NeighborArray.
- addIterator(DocIdSetIterator, List<DocIdSetIterator>, List<TwoPhaseIterator>) - Static method in class org.apache.lucene.search.ConjunctionUtils
-
Given a DocIdSetIterator, find any sub-iterators or two-phase iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator lists
- addListener(ReferenceManager.RefreshListener) - Method in class org.apache.lucene.search.ReferenceManager
-
Adds a listener, to be notified when a reference is refreshed/swapped.
- addNode(int, int) - Method in class org.apache.lucene.util.hnsw.OnHeapHnswGraph
-
Add node on the given level.
- addNormsField(FieldInfo, NormsProducer) - Method in class org.apache.lucene.codecs.NormsConsumer
-
Writes normalization values for a field.
- addNumericField(FieldInfo, DocValuesProducer) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Writes numeric docvalues for a field.
- addOutOfOrder(int, float) - Method in class org.apache.lucene.util.hnsw.NeighborArray
-
Add node and newScore but do not insert as sorted
- addPosition(int, int, int, BytesRef) - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsWriter
- addPosition(int, int, int, BytesRef) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Adds a term position and offsets
- addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsWriter
- addPosition(int, BytesRef, int, int) - Method in class org.apache.lucene.codecs.PushPostingsWriterBase
-
Add a new position and payload, and start/end offset.
- addProx(int, DataInput, DataInput) - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsWriter
- addProx(int, DataInput, DataInput) - Method in class org.apache.lucene.codecs.TermVectorsWriter
-
Called by IndexWriter when writing new segments.
- addReader(KnnVectorsReader, MergeState.DocMap, Bits) - Method in interface org.apache.lucene.util.hnsw.HnswGraphMerger
-
Adds a reader to the graph merger to record the state
- addReader(KnnVectorsReader, MergeState.DocMap, Bits) - Method in class org.apache.lucene.util.hnsw.IncrementalHnswGraphMerger
-
Adds a reader to the graph merger if it meets the following criteria: 1.
- addSortedField(FieldInfo, DocValuesProducer) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Writes pre-sorted binary docvalues for a field.
- addSortedNumericField(FieldInfo, DocValuesProducer) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Writes pre-sorted numeric docvalues for a field
- addSortedSetField(FieldInfo, DocValuesProducer) - Method in class org.apache.lucene.codecs.DocValuesConsumer
-
Writes pre-sorted set docvalues for a field
- addStartPaths(FST.Arc<T>, T, boolean, IntsRefBuilder) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
- addStartPaths(FST.Arc<T>, T, boolean, IntsRefBuilder, float, CharSequence, int) - Method in class org.apache.lucene.util.fst.Util.TopNSearcher
-
Adds all leaving arcs, including 'finished' arc, if the node is final, from this node into the queue.
- addTerm(Term) - Method in class org.apache.lucene.search.SynonymQuery.Builder
-
Adds the provided
term
as a synonym. - addTerm(Term, float) - Method in class org.apache.lucene.search.SynonymQuery.Builder
-
Adds the provided
term
as a synonym, document frequencies of this term will be boosted byboost
. - addTerm(BytesRef, float) - Method in class org.apache.lucene.search.SynonymQuery.Builder
-
Adds the provided
term
as a synonym, document frequencies of this term will be boosted byboost
. - addTestFilterType(Class<? extends FilterIndexInput>) - Method in interface org.apache.lucene.internal.tests.FilterIndexInputAccess
-
Adds the given test FilterIndexInput class.
- addTo(int, double) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
Adds
incrementValue
to any existing value for the givenkey
or insertsincrementValue
ifkey
did not previously exist. - addTo(int, float) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
Adds
incrementValue
to any existing value for the givenkey
or insertsincrementValue
ifkey
did not previously exist. - addTo(int, int) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
-
Adds
incrementValue
to any existing value for the givenkey
or insertsincrementValue
ifkey
did not previously exist. - addTo(long, float) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
Adds
incrementValue
to any existing value for the givenkey
or insertsincrementValue
ifkey
did not previously exist. - addTo(long, int) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
-
Adds
incrementValue
to any existing value for the givenkey
or insertsincrementValue
ifkey
did not previously exist. - addTransition(int, int, int) - Method in class org.apache.lucene.util.automaton.Automaton
-
Add a new transition with min = max = label.
- addTransition(int, int, int) - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Add a new transition with min = max = label.
- addTransition(int, int, int, int) - Method in class org.apache.lucene.util.automaton.Automaton
-
Add a new transition with the specified source, dest, min, max.
- addTransition(int, int, int, int) - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Add a new transition with the specified source, dest, min, max.
- addTwoPhaseIterator(TwoPhaseIterator, List<DocIdSetIterator>, List<TwoPhaseIterator>) - Static method in class org.apache.lucene.search.ConjunctionUtils
-
Given a two-phase iterator, find any sub-iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator lists
- addValue(int, T) - Method in class org.apache.lucene.codecs.KnnFieldVectorsWriter
-
Add new docID with its vector value to the given field for indexing.
- addVectors(int, int) - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder
-
add vectors in range [minOrd, maxOrd)
- adjustForField(long, Field) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
This method returns the maximum representation size of an object.
- advance(int) - Method in class org.apache.lucene.codecs.lucene90.IndexedDISI
- advance(int) - Method in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues.DenseOffHeapVectorValues
- advance(int) - Method in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues.DenseOffHeapVectorValues
- advance(int) - Method in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues
- advance(int) - Method in class org.apache.lucene.document.BinaryRangeDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterBinaryDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum
- advance(int) - Method in class org.apache.lucene.index.FilterNumericDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterSortedDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterSortedNumericDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterSortedSetDocValues
- advance(int) - Method in class org.apache.lucene.index.FilterVectorValues
- advance(int) - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
- advance(int) - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
- advance(int) - Method in class org.apache.lucene.index.MultiPostingsEnum
- advance(int) - Method in class org.apache.lucene.index.SlowImpactsEnum
- advance(int) - Method in class org.apache.lucene.search.comparators.MinDocIterator
- advance(int) - Method in class org.apache.lucene.search.DisjunctionDISIApproximation
- 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.ImpactsDISI
- advance(int) - Method in class org.apache.lucene.search.MultiPhraseQuery.UnionPostingsEnum
- advance(int) - Method in class org.apache.lucene.util.BitSetIterator
- advance(int) - Method in class org.apache.lucene.util.DocBaseBitSetIterator
- advanceExact(int) - Method in class org.apache.lucene.codecs.lucene90.IndexedDISI
- advanceExact(int) - Method in class org.apache.lucene.document.BinaryRangeDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.FilterBinaryDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.FilterNumericDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.FilterSortedDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.FilterSortedNumericDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.FilterSortedSetDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
- advanceExact(int) - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
- advanceExact(int) - Method in class org.apache.lucene.search.DoubleValues
-
Advance this instance to the given document id
- advanceExact(int) - Method in class org.apache.lucene.search.LongValues
-
Advance this instance to the given document id
- advanceSegmentInfosVersion(long) - Method in class org.apache.lucene.index.IndexWriter
-
If
SegmentInfos.getVersion()
is belownewVersion
then update it to this value. - advanceShallow(int) - Method in interface org.apache.lucene.index.ImpactsSource
-
Shallow-advance to
target
. - advanceShallow(int) - Method in class org.apache.lucene.index.SlowImpactsEnum
- advanceShallow(int) - Method in class org.apache.lucene.search.MaxScoreCache
-
Implement the contract of
Scorer.advanceShallow(int)
based on the wrappedImpactsSource
. - advanceShallow(int) - Method in class org.apache.lucene.search.Scorer
-
Advance to the block of documents that contains
target
in order to get scoring information about this block. - advanceShallow(int) - Method in class org.apache.lucene.search.TermScorer
- afterClose() - Method in class org.apache.lucene.search.ReferenceManager
-
Called after close(), so subclass can free any resources.
- afterEffect - Variable in class org.apache.lucene.search.similarities.DFRSimilarity
-
The first normalization of the information content.
- 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.
- 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
- afterMaybeRefresh() - Method in class org.apache.lucene.search.ReferenceManager
-
Called after a refresh was attempted, regardless of whether a new reference was in fact created.
- afterRefresh(boolean) - Method in class org.apache.lucene.search.LiveFieldValues
- afterRefresh(boolean) - Method in interface org.apache.lucene.search.ReferenceManager.RefreshListener
-
Called after the attempted refresh; if the refresh did open a new reference then didRefresh will be true and
ReferenceManager.acquire()
is guaranteed to return the new reference. - alignFilePointer(int) - Method in class org.apache.lucene.store.IndexOutput
-
Aligns the current file pointer to multiples of
alignmentBytes
bytes to improve reads with mmap. - alignObjectSize(long) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Aligns an object size to be the next multiple of
RamUsageEstimator.NUM_BYTES_OBJECT_ALIGNMENT
. - alignOffset(long, int) - Static method in class org.apache.lucene.store.IndexOutput
-
Aligns the given
offset
to multiples ofalignmentBytes
bytes by rounding up. - all(int) - Static method in class org.apache.lucene.search.DocIdSet
-
A
DocIdSet
that matches all doc ids up to a specified doc (exclusive). - all(int) - Static method in class org.apache.lucene.search.DocIdSetIterator
-
A
DocIdSetIterator
that matches all documents up tomaxDoc - 1
. - ALL - org.apache.lucene.util.automaton.CompiledAutomaton.AUTOMATON_TYPE
-
Automaton that accepts all possible strings.
- ALL - Static variable in class org.apache.lucene.index.PostingsEnum
-
Flag to pass to
TermsEnum.postings(PostingsEnum, int)
to get positions, payloads and offsets in the returned enum - ALL - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables all optional regexp syntax.
- ALL_FILES - Static variable in class org.apache.lucene.store.MMapDirectory
-
Argument for
MMapDirectory.setPreload(BiPredicate)
that configures all files to be preloaded upon opening them. - allocate(int) - Method in class org.apache.lucene.store.ByteBuffersDataOutput.ByteBufferRecycler
- ALLOCATE_BB_ON_HEAP - Static variable in class org.apache.lucene.store.ByteBuffersDataOutput
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
-
Allocate new internal buffers.
- allocateBuffers(int) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
-
Allocate new internal buffers.
- allocateThenInsertThenRehash(int, char) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
This method is invoked when there is a new key to be inserted into the buffer but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, char, VType) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, int) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
This method is invoked when there is a new key to be inserted into the buffer but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, int, double) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, int, float) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, int, int) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, int, VType) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, long) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
This method is invoked when there is a new key to be inserted into the buffer but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, long, float) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, long, int) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- allocateThenInsertThenRehash(int, long, VType) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
-
This method is invoked when there is a new key/ value pair to be inserted into the buffers but there is not enough empty slots to do so.
- Allocator(int) - Constructor for class org.apache.lucene.util.ByteBlockPool.Allocator
- Allocator(int) - Constructor for class org.apache.lucene.util.IntBlockPool.Allocator
- allowFixedLengthArcs(boolean) - Method in class org.apache.lucene.util.fst.FSTCompiler.Builder
-
Pass
false
to disable the fixed length arc optimization (binary search or direct addressing) while building the FST; this will make the resulting FST smaller but slower to traverse. - ALPHANUM - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
Alpha/numeric token type
- 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
- AlreadyClosedException(String, Throwable) - Constructor for exception org.apache.lucene.store.AlreadyClosedException
- AlreadySetException() - Constructor for exception org.apache.lucene.util.SetOnce.AlreadySetException
- AnalysisSPILoader<S extends AbstractAnalysisFactory> - Class in org.apache.lucene.analysis
-
Helper class for loading named SPIs from classpath (e.g.
- AnalysisSPILoader(Class<S>) - Constructor for class org.apache.lucene.analysis.AnalysisSPILoader
- AnalysisSPILoader(Class<S>, ClassLoader) - Constructor for class org.apache.lucene.analysis.AnalysisSPILoader
- analyzeBoolean(String, TokenStream) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates simple boolean query from the cached tokenstream contents
- analyzeGraphBoolean(String, TokenStream, BooleanClause.Occur) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a boolean query from a graph token stream.
- analyzeGraphPhrase(TokenStream, String, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates graph phrase query from the tokenstream contents
- analyzeMultiBoolean(String, TokenStream, BooleanClause.Occur) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates complex boolean query from the cached tokenstream contents
- analyzeMultiPhrase(String, TokenStream, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates complex phrase query from the cached tokenstream contents
- analyzePhrase(String, TokenStream, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates simple phrase query from the cached tokenstream contents
- analyzer - Variable in class org.apache.lucene.util.QueryBuilder
- Analyzer - Class in org.apache.lucene.analysis
-
An Analyzer builds TokenStreams, which analyze text.
- Analyzer() - Constructor for class org.apache.lucene.analysis.Analyzer
-
Create a new Analyzer, reusing the same set of components per-thread across calls to
Analyzer.tokenStream(String, Reader)
. - Analyzer(Analyzer.ReuseStrategy) - Constructor for class org.apache.lucene.analysis.Analyzer
-
Expert: create a new Analyzer with a custom
Analyzer.ReuseStrategy
. - Analyzer.ReuseStrategy - Class in org.apache.lucene.analysis
-
Strategy defining how TokenStreamComponents are reused per call to
Analyzer.tokenStream(String, java.io.Reader)
. - Analyzer.TokenStreamComponents - Class in org.apache.lucene.analysis
-
This class encapsulates the outer components of a token stream.
- AnalyzerWrapper - Class in org.apache.lucene.analysis
-
Extension to
Analyzer
suitable for Analyzers which wrap other Analyzers. - AnalyzerWrapper(Analyzer.ReuseStrategy) - Constructor for class org.apache.lucene.analysis.AnalyzerWrapper
-
Creates a new AnalyzerWrapper with the given reuse strategy.
- analyzeTerm(String, TokenStream) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates simple term query from the cached tokenstream contents
- and(FixedBitSet) - Method in class org.apache.lucene.util.FixedBitSet
-
this = this AND other
- and(LongBitSet) - Method in class org.apache.lucene.util.LongBitSet
-
this = this AND other
- andNot(DocIdSetIterator) - Method in class org.apache.lucene.util.FixedBitSet
- andNot(FixedBitSet) - Method in class org.apache.lucene.util.FixedBitSet
-
this = this AND NOT other
- andNot(LongBitSet) - Method in class org.apache.lucene.util.LongBitSet
-
this = this AND NOT other
- andNotCount(FixedBitSet, FixedBitSet) - Static method in class org.apache.lucene.util.FixedBitSet
-
Returns the popcount or cardinality of "a and not b" or "intersection(a, not(b))".
- ANYSTRING - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables anystring (
@
). - append(byte) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Append a single byte to this builder.
- append(byte[]) - Method in class org.apache.lucene.util.ByteBlockPool
-
Append the provided byte array at the current position.
- append(byte[], int) - Method in class org.apache.lucene.util.bkd.HeapPointWriter
- append(byte[], int) - Method in class org.apache.lucene.util.bkd.OfflinePointWriter
- append(byte[], int) - Method in interface org.apache.lucene.util.bkd.PointWriter
-
Add a new point from the packed value and docId
- append(byte[], int, int) - Method in class org.apache.lucene.util.ByteBlockPool
-
Append some portion of the provided byte array at the current position.
- append(byte[], int, int) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Append the provided bytes to this builder.
- append(char) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
- append(char) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(char) - Method in class org.apache.lucene.util.CharsRefBuilder
- append(char[], int, int) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Appends the given array to this CharsRef
- append(int) - Method in class org.apache.lucene.util.IntsRefBuilder
-
Append the provided int to this buffer.
- append(CharSequence) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
- append(CharSequence) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(CharSequence) - Method in class org.apache.lucene.util.CharsRefBuilder
- append(CharSequence, int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
- append(CharSequence, int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(CharSequence, int, int) - Method in class org.apache.lucene.util.CharsRefBuilder
- append(String) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Appends the specified
String
to this character sequence. - append(String) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(StringBuilder) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Appends the specified
StringBuilder
to this character sequence. - append(StringBuilder) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(CharTermAttribute) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Appends the contents of the other
CharTermAttribute
to this character sequence. - append(CharTermAttribute) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- append(PointValue) - Method in class org.apache.lucene.util.bkd.HeapPointWriter
- append(PointValue) - Method in class org.apache.lucene.util.bkd.OfflinePointWriter
- append(PointValue) - Method in interface org.apache.lucene.util.bkd.PointWriter
-
Add a new point from a
PointValue
- append(ByteBlockPool, long, int) - Method in class org.apache.lucene.util.ByteBlockPool
-
Append the bytes from a source
ByteBlockPool
at a given offset and length - append(BytesRef) - Method in class org.apache.lucene.util.ByteBlockPool
-
Appends the bytes in the provided
BytesRef
at the current position. - append(BytesRef) - Method in class org.apache.lucene.util.BytesRefArray
-
Appends a copy of the given
BytesRef
to thisBytesRefArray
. - append(BytesRef) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Append the provided bytes to this builder.
- append(BytesRefBuilder) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Append the provided bytes to this builder.
- APPEND - org.apache.lucene.index.IndexWriterConfig.OpenMode
-
Opens an existing index.
- appendAnyChar(Automaton, int) - Static method in class org.apache.lucene.util.automaton.Automata
-
Accept any single character starting from the specified state, returning the new state
- appendChar(Automaton, int, int) - Static method in class org.apache.lucene.util.automaton.Automata
-
Appends the specified character to the specified state, returning a new state.
- apply(int) - Method in interface org.apache.lucene.util.hnsw.IntToIntFunction
- apply(T) - Method in interface org.apache.lucene.util.IOFunction
-
Applies this function to the given argument.
- apply(T) - Method in interface org.apache.lucene.util.IOUtils.IOFunction
-
Deprecated.Applies this function to the given argument.
- applyToAll(Collection<T>, IOUtils.IOConsumer<T>) - Static method in class org.apache.lucene.util.IOUtils
-
Applies the consumer to all non-null elements in the collection even if an exception is thrown.
- approximateCardinality() - Method in class org.apache.lucene.util.BitSet
-
Return an approximation of the cardinality of this set.
- approximateCardinality() - Method in class org.apache.lucene.util.FixedBitSet
- approximateCardinality() - Method in class org.apache.lucene.util.SparseFixedBitSet
- approximateSearch(LeafReaderContext, Bits, int) - Method in class org.apache.lucene.search.ByteVectorSimilarityQuery
- approximateSearch(LeafReaderContext, Bits, int) - Method in class org.apache.lucene.search.FloatVectorSimilarityQuery
- approximateSearch(LeafReaderContext, Bits, int, KnnCollectorManager) - Method in class org.apache.lucene.search.KnnByteVectorQuery
- approximateSearch(LeafReaderContext, Bits, int, KnnCollectorManager) - Method in class org.apache.lucene.search.KnnFloatVectorQuery
- approximation - Variable in class org.apache.lucene.search.DisiWrapper
- approximation - Variable in class org.apache.lucene.search.TwoPhaseIterator
- approximation() - Method in class org.apache.lucene.search.TwoPhaseIterator
-
Return an approximation.
- arc - Variable in class org.apache.lucene.util.fst.Util.FSTPath
-
Holds the last arc appended to this path
- Arc() - Constructor for class org.apache.lucene.util.fst.FST.Arc
- arcIdx() - Method in class org.apache.lucene.util.fst.FST.Arc
-
Where we are in the array; only valid if bytesPerArc != 0.
- ARCS_FOR_BINARY_SEARCH - Static variable in class org.apache.lucene.util.fst.FST
-
Value of the arc flags to declare a node with fixed length (sparse) arcs designed for binary search.
- ArrayNodesIterator(int) - Constructor for class org.apache.lucene.util.hnsw.HnswGraph.ArrayNodesIterator
-
Constructor for iterator based on the size
- ArrayNodesIterator(int[], int) - Constructor for class org.apache.lucene.util.hnsw.HnswGraph.ArrayNodesIterator
-
Constructor for iterator based on integer array representing nodes
- ArrayUtil - Class in org.apache.lucene.util
-
Methods for manipulating arrays.
- ArrayUtil.ByteArrayComparator - Interface in org.apache.lucene.util
-
Comparator for a fixed number of bytes.
- articulationPoints() - Method in class org.apache.lucene.util.graph.GraphTokenStreamFiniteStrings
-
Returns the articulation points (or cut vertices) of the graph: https://en.wikipedia.org/wiki/Biconnected_component
- ASCII_CASE_INSENSITIVE - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Allows case insensitive matching of ASCII characters.
- asDocIdSetIterator(TwoPhaseIterator) - Static method in class org.apache.lucene.search.TwoPhaseIterator
-
Return a
DocIdSetIterator
view of the providedTwoPhaseIterator
. - asin(double) - Static method in class org.apache.lucene.util.SloppyMath
-
Returns the arc sine of a value.
- asinh(double) - Static method in class org.apache.lucene.util.MathUtil
-
Calculates inverse hyperbolic sine of a
double
value. - asList() - Method in class org.apache.lucene.index.SegmentInfos
-
Returns all contained segments as an unmodifiable
List
view. - asReadOnlyBits() - Method in class org.apache.lucene.util.FixedBitSet
-
Convert this instance to read-only
Bits
. - assertDelCount(int, SegmentCommitInfo) - Method in class org.apache.lucene.index.MergePolicy
-
Asserts that the delCount for this SegmentCommitInfo is valid
- assertsOn() - Static method in class org.apache.lucene.index.CheckIndex
-
Check whether asserts are enabled or not.
- assigned - Variable in class org.apache.lucene.internal.hppc.CharHashSet
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any.
- assigned - Variable in class org.apache.lucene.internal.hppc.CharObjectHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
CharObjectHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
IntDoubleHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
IntFloatHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.IntHashSet
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any.
- assigned - Variable in class org.apache.lucene.internal.hppc.IntIntHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
IntIntHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.IntObjectHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
IntObjectHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
LongFloatHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.LongHashSet
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any.
- assigned - Variable in class org.apache.lucene.internal.hppc.LongIntHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
LongIntHashMap.size()
instead). - assigned - Variable in class org.apache.lucene.internal.hppc.LongObjectHashMap
-
The number of stored keys (assigned key slots), excluding the special "empty" key, if any (use
LongObjectHashMap.size()
instead). - atanh(double) - Static method in class org.apache.lucene.util.MathUtil
-
Calculates inverse hyperbolic tangent of a
double
value. - Attribute - Interface in org.apache.lucene.util
-
Base interface for attributes.
- attributeFactory(String) - Method in class org.apache.lucene.analysis.Analyzer
- attributeFactory(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
- AttributeFactory - Class in org.apache.lucene.util
-
An AttributeFactory creates instances of
AttributeImpl
s. - AttributeFactory() - Constructor for class org.apache.lucene.util.AttributeFactory
- AttributeFactory.StaticImplementationAttributeFactory<A extends AttributeImpl> - Class in org.apache.lucene.util
-
Expert: AttributeFactory returning an instance of the given
clazz
for the attributes it implements. - AttributeImpl - Class in org.apache.lucene.util
-
Base class for Attributes that can be added to a
AttributeSource
. - AttributeImpl() - Constructor for class org.apache.lucene.util.AttributeImpl
- AttributeReflector - Interface in org.apache.lucene.util
-
This interface is used to reflect contents of
AttributeSource
orAttributeImpl
. - attributes() - Method in class org.apache.lucene.index.BaseTermsEnum
- attributes() - Method in class org.apache.lucene.index.FieldInfo
-
Returns internal codec attributes map.
- attributes() - Method in class org.apache.lucene.index.FilteredTermsEnum
-
Returns the related attributes, the returned
AttributeSource
is shared with the delegateTermsEnum
. - attributes() - Method in class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
- attributes() - Method in class org.apache.lucene.index.TermsEnum
-
Returns the related attributes.
- attributes() - Method in class org.apache.lucene.search.FuzzyTermsEnum
- 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
-
An AttributeSource using the default attribute factory
AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
. - AttributeSource(AttributeFactory) - Constructor for class org.apache.lucene.util.AttributeSource
-
An AttributeSource using the supplied
AttributeFactory
for creating newAttribute
instances. - AttributeSource(AttributeSource) - Constructor for class org.apache.lucene.util.AttributeSource
-
An AttributeSource that uses the same attributes as the supplied one.
- AttributeSource.State - Class in org.apache.lucene.util
-
This class holds the state of an AttributeSource.
- AUTO_DETECT_MERGES_AND_THREADS - Static variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Dynamic default for
maxThreadCount
andmaxMergeCount
, based on CPU core count. - autoGenerateMultiTermSynonymsPhraseQuery - Variable in class org.apache.lucene.util.QueryBuilder
- Automata - Class in org.apache.lucene.util.automaton
-
Construction of basic automata.
- automatic() - Static method in class org.apache.lucene.util.OfflineSorter.BufferSize
-
Approximately half of the currently available free heap, but no less than
OfflineSorter.ABSOLUTE_MIN_SORT_BUFFER_SIZE
. - automaton - Variable in class org.apache.lucene.search.AutomatonQuery
-
the automaton to match index terms against
- automaton - Variable in class org.apache.lucene.util.automaton.CompiledAutomaton
-
Two dimensional array of transitions, indexed by state number for traversal.
- Automaton - Class in org.apache.lucene.util.automaton
-
Represents an automaton and all its states and transitions.
- Automaton() - Constructor for class org.apache.lucene.util.automaton.Automaton
-
Sole constructor; creates an automaton with no states.
- Automaton(int, int) - Constructor for class org.apache.lucene.util.automaton.Automaton
-
Constructor which creates an automaton with enough space for the given number of states and transitions.
- AUTOMATON - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables named automata (
<
identifier>
). - Automaton.Builder - Class in org.apache.lucene.util.automaton
-
Records new states and transitions and then
Automaton.Builder.finish()
creates theAutomaton
. - automatonIsBinary - Variable in class org.apache.lucene.search.AutomatonQuery
- AutomatonProvider - Interface in org.apache.lucene.util.automaton
-
Automaton provider for
RegExp.
RegExp.toAutomaton(AutomatonProvider,int)
- 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
. - AutomatonQuery(Term, Automaton, int) - Constructor for class org.apache.lucene.search.AutomatonQuery
-
Create a new AutomatonQuery from an
Automaton
. - AutomatonQuery(Term, Automaton, int, boolean) - Constructor for class org.apache.lucene.search.AutomatonQuery
-
Create a new AutomatonQuery from an
Automaton
. - AutomatonQuery(Term, Automaton, int, boolean, MultiTermQuery.RewriteMethod) - Constructor for class org.apache.lucene.search.AutomatonQuery
-
Create a new AutomatonQuery from an
Automaton
. - AutomatonTermsEnum - Class in org.apache.lucene.index
-
A FilteredTermsEnum that enumerates terms based upon what is accepted by a DFA.
- AutomatonTermsEnum(TermsEnum, CompiledAutomaton) - Constructor for class org.apache.lucene.index.AutomatonTermsEnum
-
Construct an enumerator based upon an automaton, enumerating the specified field, working on a supplied TermsEnum
- AutomatonToTokenStream - Class in org.apache.lucene.analysis
-
Converts an Automaton into a TokenStream.
- availableCharFilters() - Static method in class org.apache.lucene.analysis.CharFilterFactory
-
returns a list of all available charfilter names
- availableCodecs() - Static method in class org.apache.lucene.codecs.Codec
-
returns a list of all available codec names
- availableDocValuesFormats() - Static method in class org.apache.lucene.codecs.DocValuesFormat
-
returns a list of all available format names
- availableKnnVectorsFormats() - Static method in class org.apache.lucene.codecs.KnnVectorsFormat
-
returns a list of all available format 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.analysis.AnalysisSPILoader
- availableServices() - Method in class org.apache.lucene.util.NamedSPILoader
- availableSortFieldProviders() - Static method in class org.apache.lucene.index.SortFieldProvider
-
Lists all available SortFieldProviders
- availableTokenFilters() - Static method in class org.apache.lucene.analysis.TokenFilterFactory
-
returns a list of all available tokenfilter names from context classpath
- availableTokenizers() - Static method in class org.apache.lucene.analysis.TokenizerFactory
-
returns a list of all available tokenizer names from context classpath
- 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 / docCount
- awaitTermination(long, TimeUnit) - Method in class org.apache.lucene.util.SameThreadExecutorService
- aX - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
x coordinate, vertex one
- Axiomatic - Class in org.apache.lucene.search.similarities
-
Axiomatic approaches for IR.
- Axiomatic() - Constructor for class org.apache.lucene.search.similarities.Axiomatic
-
Default constructor
- Axiomatic(float) - Constructor for class org.apache.lucene.search.similarities.Axiomatic
-
Constructor setting only s, letting k and queryLen to default
- Axiomatic(float, int) - Constructor for class org.apache.lucene.search.similarities.Axiomatic
-
Constructor setting s and queryLen, letting k to default
- Axiomatic(float, int, float) - Constructor for class org.apache.lucene.search.similarities.Axiomatic
-
Constructor setting all Axiomatic hyperparameters
- AxiomaticF1EXP - Class in org.apache.lucene.search.similarities
-
F1EXP is defined as Sum(tf(term_doc_freq)*ln(docLen)*IDF(term)) where IDF(t) = pow((N+1)/df(t), k) N=total num of docs, df=doc freq
- AxiomaticF1EXP() - Constructor for class org.apache.lucene.search.similarities.AxiomaticF1EXP
-
Default constructor
- AxiomaticF1EXP(float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF1EXP
-
Constructor setting s only, letting k and queryLen to default
- AxiomaticF1EXP(float, float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF1EXP
-
Constructor setting s and k, letting queryLen to default
- AxiomaticF1LOG - Class in org.apache.lucene.search.similarities
-
F1LOG is defined as Sum(tf(term_doc_freq)*ln(docLen)*IDF(term)) where IDF(t) = ln((N+1)/df(t)) N=total num of docs, df=doc freq
- AxiomaticF1LOG() - Constructor for class org.apache.lucene.search.similarities.AxiomaticF1LOG
-
Default constructor
- AxiomaticF1LOG(float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF1LOG
-
Constructor setting s only, letting k and queryLen to default
- AxiomaticF2EXP - Class in org.apache.lucene.search.similarities
-
F2EXP is defined as Sum(tfln(term_doc_freq, docLen)*IDF(term)) where IDF(t) = pow((N+1)/df(t), k) N=total num of docs, df=doc freq
- AxiomaticF2EXP() - Constructor for class org.apache.lucene.search.similarities.AxiomaticF2EXP
-
Default constructor
- AxiomaticF2EXP(float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF2EXP
-
Constructor setting s only, letting k and queryLen to default
- AxiomaticF2EXP(float, float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF2EXP
-
Constructor setting s and k, letting queryLen to default
- AxiomaticF2LOG - Class in org.apache.lucene.search.similarities
-
F2EXP is defined as Sum(tfln(term_doc_freq, docLen)*IDF(term)) where IDF(t) = ln((N+1)/df(t)) N=total num of docs, df=doc freq
- AxiomaticF2LOG() - Constructor for class org.apache.lucene.search.similarities.AxiomaticF2LOG
-
Default constructor
- AxiomaticF2LOG(float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF2LOG
-
Constructor setting s only, letting k and queryLen to default
- AxiomaticF3EXP - Class in org.apache.lucene.search.similarities
-
F3EXP is defined as Sum(tf(term_doc_freq)*IDF(term)-gamma(docLen, queryLen)) where IDF(t) = pow((N+1)/df(t), k) N=total num of docs, df=doc freq gamma(docLen, queryLen) = (docLen-queryLen)*queryLen*s/avdl NOTE: the gamma function of this similarity creates negative scores
- AxiomaticF3EXP(float, int) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF3EXP
-
Constructor setting s and queryLen, letting k to default
- AxiomaticF3EXP(float, int, float) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF3EXP
-
Constructor setting all Axiomatic hyperparameters
- AxiomaticF3LOG - Class in org.apache.lucene.search.similarities
-
F3EXP is defined as Sum(tf(term_doc_freq)*IDF(term)-gamma(docLen, queryLen)) where IDF(t) = ln((N+1)/df(t)) N=total num of docs, df=doc freq gamma(docLen, queryLen) = (docLen-queryLen)*queryLen*s/avdl NOTE: the gamma function of this similarity creates negative scores
- AxiomaticF3LOG(float, int) - Constructor for class org.apache.lucene.search.similarities.AxiomaticF3LOG
-
Constructor setting s and queryLen, letting k to default
- axisLat(double, double) - Static method in class org.apache.lucene.geo.Rectangle
-
Calculate the latitude of a circle's intersections with its bbox meridians.
- AXISLAT_ERROR - Static variable in class org.apache.lucene.geo.Rectangle
-
maximum error from
Rectangle.axisLat(double, double)
. - aY - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
y coordinate, vertex one
B
- BASE_RAM_BYTES - Static variable in class org.apache.lucene.search.PointInSetQuery
- 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[], Comparator<R>) - Constructor for class org.apache.lucene.index.BaseCompositeReader
-
Constructs a
BaseCompositeReader
on the given subReaders. - BASED_ON_LOAD_IO_CONTEXT - Static variable in class org.apache.lucene.store.MMapDirectory
-
Argument for
MMapDirectory.setPreload(BiPredicate)
that configures files to be preloaded upon opening them if they use theIOContext.LOAD
I/O context. - BaseDirectory - Class in org.apache.lucene.store
-
Base implementation for a concrete
Directory
that uses aLockFactory
for locking. - BaseDirectory(LockFactory) - Constructor for class org.apache.lucene.store.BaseDirectory
-
Sole constructor.
- baseRamBytesUsed() - Method in class org.apache.lucene.util.packed.AbstractPagedMutable
- baseRamBytesUsed() - Method in class org.apache.lucene.util.packed.PagedGrowableWriter
- baseRamBytesUsed() - Method in class org.apache.lucene.util.packed.PagedMutable
- BaseTermsEnum - Class in org.apache.lucene.index
-
A base TermsEnum that adds default implementations for
BaseTermsEnum.attributes()
BaseTermsEnum.termState()
BaseTermsEnum.seekExact(BytesRef)
BaseTermsEnum.seekExact(BytesRef, TermState)
In some cases, the default implementation may be slow and consume huge memory, so subclass SHOULD have its own implementation if possible. - BaseTermsEnum() - Constructor for class org.apache.lucene.index.BaseTermsEnum
-
Sole constructor.
- basicModel - Variable in class org.apache.lucene.search.similarities.DFRSimilarity
-
The basic model for information content.
- 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.
- 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
- BasicStats - Class in org.apache.lucene.search.similarities
-
Stores all statistics commonly used ranking methods.
- BasicStats(String, double) - Constructor for class org.apache.lucene.search.similarities.BasicStats
-
Constructor.
- bc - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
represent if edge bc belongs to original shape
- beamWidth - Variable in class org.apache.lucene.util.hnsw.IncrementalHnswGraphMerger
- beforeRefresh() - Method in class org.apache.lucene.search.LiveFieldValues
- beforeRefresh() - Method in interface org.apache.lucene.search.ReferenceManager.RefreshListener
-
Called right before a refresh attempt starts.
- beginMergeOnFullFlush(MergePolicy.MergeSpecification) - Method in interface org.apache.lucene.index.IndexWriterEventListener
-
Invoked at the start of merge on commit
- BEST_COMPRESSION - org.apache.lucene.codecs.lucene90.Lucene90StoredFieldsFormat.Mode
-
Trade retrieval speed for compression ratio.
- BEST_COMPRESSION - org.apache.lucene.codecs.lucene99.Lucene99Codec.Mode
-
Trade retrieval speed for compression ratio.
- BEST_COMPRESSION_MODE - Static variable in class org.apache.lucene.codecs.lucene90.Lucene90StoredFieldsFormat
-
Compression mode for
Lucene90StoredFieldsFormat.Mode.BEST_COMPRESSION
- BEST_SPEED - org.apache.lucene.codecs.lucene90.Lucene90StoredFieldsFormat.Mode
-
Trade compression ratio for retrieval speed.
- BEST_SPEED - org.apache.lucene.codecs.lucene99.Lucene99Codec.Mode
-
Trade compression ratio for retrieval speed.
- BEST_SPEED_MODE - Static variable in class org.apache.lucene.codecs.lucene90.Lucene90StoredFieldsFormat
-
Compression mode for
Lucene90StoredFieldsFormat.Mode.BEST_SPEED
- 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 (e.g.
- bigIntToSortableBytes(BigInteger, int, byte[], int) - Static method in class org.apache.lucene.util.NumericUtils
-
Encodes a BigInteger
value
such that unsigned byte order comparison is consistent withBigInteger.compareTo(BigInteger)
. - BINARY - org.apache.lucene.document.InvertableType
-
The field should be treated as a single value whose binary content is returned by
IndexableField.binaryValue()
. - BINARY - org.apache.lucene.document.StoredValue.Type
-
Type of binary values.
- BINARY - org.apache.lucene.index.DocValuesType
-
A per-document byte[].
- BinaryDocValues - Class in org.apache.lucene.index
-
A per-document numeric value.
- BinaryDocValues() - Constructor for class org.apache.lucene.index.BinaryDocValues
-
Sole constructor.
- BinaryDocValuesField - Class in org.apache.lucene.document
-
Field that stores a per-document
BytesRef
value. - BinaryDocValuesField(String, BytesRef) - Constructor for class org.apache.lucene.document.BinaryDocValuesField
-
Create a new binary DocValues field.
- binaryField(FieldInfo, byte[]) - Method in class org.apache.lucene.codecs.StoredFieldsWriter.MergeVisitor
- 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.
- binaryField(FieldInfo, DataInput, int) - Method in class org.apache.lucene.codecs.StoredFieldsWriter.MergeVisitor
- binaryField(FieldInfo, DataInput, int) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Expert: Process a binary field directly from the
DataInput
. - BinaryPoint - Class in org.apache.lucene.document
-
An indexed binary field for fast range filters.
- BinaryPoint(String, byte[]...) - Constructor for class org.apache.lucene.document.BinaryPoint
-
General purpose API: creates a new BinaryPoint, indexing the provided N-dimensional binary point.
- BinaryPoint(String, byte[], IndexableFieldType) - Constructor for class org.apache.lucene.document.BinaryPoint
-
Expert API
- BinaryRangeDocValues - Class in org.apache.lucene.document
-
A binary representation of a range that wraps a BinaryDocValues field
- BinaryRangeDocValues(BinaryDocValues, int, int) - Constructor for class org.apache.lucene.document.BinaryRangeDocValues
-
Constructor for BinaryRangeDocValues
- binarySearch(long, long, long) - Method in class org.apache.lucene.util.packed.DirectMonotonicReader
-
Return the index of a key if it exists, or its insertion point otherwise like
Arrays.binarySearch(long[], int, int, long)
. - binaryValue - Variable in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues
- binaryValue - Variable in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- binaryValue() - Method in class org.apache.lucene.document.BinaryRangeDocValues
- binaryValue() - Method in class org.apache.lucene.document.DoubleField
- binaryValue() - Method in class org.apache.lucene.document.Field
- binaryValue() - Method in class org.apache.lucene.document.FloatField
- binaryValue() - Method in class org.apache.lucene.document.IntField
- binaryValue() - Method in class org.apache.lucene.document.KeywordField
- binaryValue() - Method in class org.apache.lucene.document.LongField
- binaryValue() - Method in class org.apache.lucene.document.StringField
- binaryValue() - Method in class org.apache.lucene.index.BinaryDocValues
-
Returns the binary value for the current document ID.
- binaryValue() - Method in class org.apache.lucene.index.FilterBinaryDocValues
- binaryValue() - Method in interface org.apache.lucene.index.IndexableField
-
Non-null if this field has a binary value
- BIT_ARC_HAS_OUTPUT - Static variable in class org.apache.lucene.util.fst.FST
-
This flag is set if the arc has an output.
- BitDocIdSet - Class in org.apache.lucene.util
- BitDocIdSet(BitSet) - Constructor for class org.apache.lucene.util.BitDocIdSet
-
Same as
BitDocIdSet(BitSet, long)
but uses the set'sapproximate cardinality
as a cost. - BitDocIdSet(BitSet, long) - Constructor for class org.apache.lucene.util.BitDocIdSet
- BitMixer - Class in org.apache.lucene.internal.hppc
-
Bit mixing utilities.
- BitMixer() - Constructor for class org.apache.lucene.internal.hppc.BitMixer
- 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.util.BitDocIdSet
- bits() - Method in class org.apache.lucene.util.NotDocIdSet
- Bits - Interface in org.apache.lucene.util
-
Interface for Bitset-like structures.
- BITS - Static variable in class org.apache.lucene.geo.GeoEncodingUtils
-
number of bits used for quantizing latitude and longitude values
- Bits.MatchAllBits - Class in org.apache.lucene.util
-
Bits impl of the specified length with all bits set.
- Bits.MatchNoBits - Class in org.apache.lucene.util
-
Bits impl of the specified length with no bits set.
- 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.LongBitSet
-
Returns the number of 64 bit words it would take to hold numBits
- BitSet - Class in org.apache.lucene.util
-
Base implementation for a bit set.
- BitSet() - Constructor for class org.apache.lucene.util.BitSet
- BitSetIterator - Class in org.apache.lucene.util
-
A
DocIdSetIterator
which iterates over set bits in a bit set. - BitSetIterator(BitSet, long) - Constructor for class org.apache.lucene.util.BitSetIterator
-
Sole 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.DirectWriter
-
Returns how many bits are required to hold values up to and including maxValue
- 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 NOTE: This method returns at least 1.
- BitUtil - Class in org.apache.lucene.util
-
A variety of high efficiency bit twiddling routines and encoders for primitives.
- BKDConfig - Class in org.apache.lucene.util.bkd
-
Basic parameters for indexing points on the BKD tree.
- BKDConfig(int, int, int, int) - Constructor for class org.apache.lucene.util.bkd.BKDConfig
- BKDRadixSelector - Class in org.apache.lucene.util.bkd
-
Offline Radix selector for BKD tree.
- BKDRadixSelector(BKDConfig, int, Directory, String) - Constructor for class org.apache.lucene.util.bkd.BKDRadixSelector
-
Sole constructor.
- BKDRadixSelector.PathSlice - Class in org.apache.lucene.util.bkd
-
Sliced reference to points in an PointWriter.
- BKDReader - Class in org.apache.lucene.util.bkd
-
Handles reading a block KD-tree in byte[] space previously written with
BKDWriter
. - BKDReader(IndexInput, IndexInput, IndexInput) - Constructor for class org.apache.lucene.util.bkd.BKDReader
-
Caller must pre-seek the provided
IndexInput
to the index location thatBKDWriter.finish(org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput, org.apache.lucene.store.IndexOutput)
returned. - BKDWriter - Class in org.apache.lucene.util.bkd
-
Recursively builds a block KD-tree to assign all incoming points in N-dim space to smaller and smaller N-dim rectangles (cells) until the number of points in a given rectangle is <=
config.maxPointsInLeafNode
. - BKDWriter(int, Directory, String, BKDConfig, double, long) - Constructor for class org.apache.lucene.util.bkd.BKDWriter
- BlendedTermQuery - Class in org.apache.lucene.search
-
A
Query
that blends index statistics across multiple terms. - BlendedTermQuery.Builder - Class in org.apache.lucene.search
-
A Builder for
BlendedTermQuery
. - BlendedTermQuery.DisjunctionMaxRewrite - Class in org.apache.lucene.search
-
A
BlendedTermQuery.RewriteMethod
that creates aDisjunctionMaxQuery
out of the sub queries. - BlendedTermQuery.RewriteMethod - Class in org.apache.lucene.search
-
A
BlendedTermQuery.RewriteMethod
defines how queries for individual terms should be merged. - BLOCK_SIZE - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99PostingsFormat
-
Size of blocks.
- blockCountByPrefixLen - Variable in class org.apache.lucene.codecs.lucene90.blocktree.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
- BlockingFloatHeap - Class in org.apache.lucene.util.hnsw
-
A blocking bounded min heap that stores floats.
- BlockingFloatHeap(int) - Constructor for class org.apache.lucene.util.hnsw.BlockingFloatHeap
- BlockPackedReaderIterator - Class in org.apache.lucene.util.packed
-
Reader for sequences of longs written with
BlockPackedWriter
. - BlockPackedReaderIterator(DataInput, int, int, long) - Constructor for class org.apache.lucene.util.packed.BlockPackedReaderIterator
-
Sole constructor.
- BlockPackedWriter - Class in org.apache.lucene.util.packed
-
A writer for large sequences of longs.
- BlockPackedWriter(DataOutput, int) - Constructor for class org.apache.lucene.util.packed.BlockPackedWriter
-
Sole constructor.
- blockSize - Variable in class org.apache.lucene.util.ByteBlockPool.Allocator
- blockSize - Variable in class org.apache.lucene.util.IntBlockPool.Allocator
- BlockTermState - Class in org.apache.lucene.codecs
-
Holds all state required for
PostingsReaderBase
to produce aPostingsEnum
without re-seeking the terms dict. - 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. - BM25Similarity - Class in org.apache.lucene.search.similarities
-
BM25 Similarity.
- BM25Similarity() - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
-
BM25 with these default values:
k1 = 1.2
b = 0.75
discountOverlaps = true
- BM25Similarity(boolean) - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
-
BM25 with these default values:
k1 = 1.2
b = 0.75
and the supplied parameter value: - BM25Similarity(float, float) - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
-
BM25 with the supplied parameter values.
- BM25Similarity(float, float, boolean) - Constructor for class org.apache.lucene.search.similarities.BM25Similarity
-
BM25 with the supplied parameter values.
- BOOLEAN_REWRITE - Static variable in class org.apache.lucene.search.BlendedTermQuery
-
A
BlendedTermQuery.RewriteMethod
that adds all sub queries to aBooleanQuery
. - 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.Builder - Class in org.apache.lucene.search
-
A builder for boolean queries.
- BooleanQuery.TooManyClauses - Exception in org.apache.lucene.search
-
Deprecated.
- BooleanSimilarity - Class in org.apache.lucene.search.similarities
-
Simple similarity that gives terms a score that is equal to their query boost.
- BooleanSimilarity() - Constructor for class org.apache.lucene.search.similarities.BooleanSimilarity
-
Sole constructor
- boost - Variable in class org.apache.lucene.search.similarities.BasicStats
-
A query boost.
- boost - Variable in class org.apache.lucene.util.fst.Util.FSTPath
- boost - Variable in class org.apache.lucene.util.QueryBuilder.TermAndBoost
-
the boost
- BoostAttribute - Interface in org.apache.lucene.search
-
Add this
Attribute
to aTermsEnum
returned byMultiTermQuery.getTermsEnum(Terms,AttributeSource)
and update the boost on each returned term. - BoostAttributeImpl - Class in org.apache.lucene.search
-
Implementation class for
BoostAttribute
. - BoostAttributeImpl() - Constructor for class org.apache.lucene.search.BoostAttributeImpl
- BoostQuery - Class in org.apache.lucene.search
-
A
Query
wrapper that allows to give a boost to the wrapped query. - BoostQuery(Query, float) - Constructor for class org.apache.lucene.search.BoostQuery
-
Sole constructor: wrap
query
in such a way that the produced scores will be boosted byboost
. - bottom - Variable in class org.apache.lucene.search.comparators.DoubleComparator
- bottom - Variable in class org.apache.lucene.search.comparators.FloatComparator
- bottom - Variable in class org.apache.lucene.search.comparators.IntComparator
- bottom - Variable in class org.apache.lucene.search.comparators.LongComparator
- buffer - Variable in class org.apache.lucene.internal.hppc.FloatArrayList
-
Internal array for storing the list.
- buffer - Variable in class org.apache.lucene.internal.hppc.IntArrayList
-
Internal array for storing the list.
- buffer - Variable in class org.apache.lucene.internal.hppc.LongArrayList
-
Internal array for storing the list.
- buffer - Variable in class org.apache.lucene.util.ByteBlockPool
-
Current head buffer.
- buffer - Variable in class org.apache.lucene.util.IntBlockPool
-
Current head buffer
- 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_SIZE - Static variable in class org.apache.lucene.store.BufferedIndexInput
-
Default buffer size set to 1024.
- BufferAllocationException - Exception in org.apache.lucene.internal.hppc
-
BufferAllocationException forked from HPPC.
- BufferAllocationException(String) - Constructor for exception org.apache.lucene.internal.hppc.BufferAllocationException
- BufferAllocationException(String, Object...) - Constructor for exception org.apache.lucene.internal.hppc.BufferAllocationException
- BufferAllocationException(String, Throwable, Object...) - Constructor for exception org.apache.lucene.internal.hppc.BufferAllocationException
- BufferedChecksum - Class in org.apache.lucene.store
-
Wraps another
Checksum
with an internal buffer to speed up checksum calculations. - BufferedChecksum(Checksum) - Constructor for class org.apache.lucene.store.BufferedChecksum
-
Create a new BufferedChecksum with
BufferedChecksum.DEFAULT_BUFFERSIZE
- BufferedChecksum(Checksum, int) - Constructor for class org.apache.lucene.store.BufferedChecksum
-
Create a new BufferedChecksum with the specified bufferSize
- BufferedChecksumIndexInput - Class in org.apache.lucene.store
-
Simple implementation of
ChecksumIndexInput
that wraps another input and delegates calls. - BufferedChecksumIndexInput(IndexInput) - Constructor for class org.apache.lucene.store.BufferedChecksumIndexInput
-
Creates a new BufferedChecksumIndexInput
- 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, int) - Constructor for class org.apache.lucene.store.BufferedIndexInput
-
Inits BufferedIndexInput with a specific bufferSize
- BufferedIndexInput(String, IOContext) - Constructor for class org.apache.lucene.store.BufferedIndexInput
- BufferingKnnVectorsWriter - Class in org.apache.lucene.codecs
-
Buffers up pending vector value(s) per doc, then flushes when segment flushes.
- BufferingKnnVectorsWriter() - Constructor for class org.apache.lucene.codecs.BufferingKnnVectorsWriter
-
Sole constructor
- buffers - Variable in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- buffers - Variable in class org.apache.lucene.util.IntBlockPool
-
array of buffers currently used in the pool.
- bufferSize - Variable in class org.apache.lucene.util.OfflineSorter.SortInfo
-
read buffer size (in bytes)
- 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.
- bufferSkip(int, CompetitiveImpactAccumulator, int, long, long, int, int) - Method in class org.apache.lucene.codecs.lucene99.Lucene99SkipWriter
-
Sets the values for the current skip data.
- bugfix - Variable in class org.apache.lucene.util.Version
-
Bugfix number, incremented on release branches
- build() - Method in class org.apache.lucene.search.BlendedTermQuery.Builder
-
Build the
BlendedTermQuery
. - build() - Method in class org.apache.lucene.search.BooleanQuery.Builder
-
Create a new
BooleanQuery
based on the parameters that have been set on this builder. - build() - Method in class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Builds a
MultiPhraseQuery
. - build() - Method in class org.apache.lucene.search.PhraseQuery.Builder
-
Build a phrase query based on the terms that have been added.
- build() - Method in class org.apache.lucene.search.SynonymQuery.Builder
-
Builds the
SynonymQuery
. - build() - Method in class org.apache.lucene.util.DocIdSetBuilder
-
Build a
DocIdSet
from the accumulated doc IDs. - build() - Method in class org.apache.lucene.util.fst.FSTCompiler.Builder
-
Creates a new
FSTCompiler
. - build() - Method in class org.apache.lucene.util.packed.PackedLongValues.Builder
-
Build a
PackedLongValues
instance that contains values that have been added to this builder. - build() - Method in class org.apache.lucene.util.RoaringDocIdSet.Builder
-
Build an instance.
- build(int) - Method in interface org.apache.lucene.util.hnsw.HnswBuilder
-
Adds all nodes to the graph up to the provided
maxOrd
. - build(int) - Method in class org.apache.lucene.util.hnsw.HnswConcurrentMergeBuilder
- build(int) - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder
- build(Iterable<BytesRef>) - Static method in class org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder
-
Deprecated.Please see
Automata.makeStringUnion(Iterable)
instead - build(IndexReader.CacheKey, SortedDocValues[], float) - Static method in class org.apache.lucene.index.OrdinalMap
-
Create an ordinal map that uses the number of unique values of each
SortedDocValues
instance as a weight. - build(IndexReader.CacheKey, SortedSetDocValues[], float) - Static method in class org.apache.lucene.index.OrdinalMap
-
Create an ordinal map that uses the number of unique values of each
SortedSetDocValues
instance as a weight. - build(IndexReader.CacheKey, TermsEnum[], long[], float) - Static method in class org.apache.lucene.index.OrdinalMap
-
Creates an ordinal map that allows mapping ords to/from a merged space from
subs
. - build(BlendedTermQuery.Builder) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBlendedFreqScoringRewrite
- build(BooleanQuery.Builder) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite
- build(BooleanQuery.Builder) - Method in class org.apache.lucene.search.MultiTermQuery.TopTermsScoringBooleanQueryRewrite
- build(IndexSearcher, Term, boolean) - Static method in class org.apache.lucene.index.TermStates
- builder - Variable in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
May be used by subclasses to convert to different charsets / encodings for implementing
CharTermAttributeImpl.getBytesRef()
. - Builder() - Constructor for class org.apache.lucene.index.PrefixCodedTerms.Builder
-
Sole constructor.
- Builder() - Constructor for class org.apache.lucene.search.BlendedTermQuery.Builder
-
Sole constructor.
- Builder() - Constructor for class org.apache.lucene.search.BooleanQuery.Builder
-
Sole constructor.
- Builder() - Constructor for class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Default constructor.
- Builder() - Constructor for class org.apache.lucene.search.PhraseQuery.Builder
-
Sole constructor.
- Builder() - Constructor for class org.apache.lucene.util.automaton.Automaton.Builder
-
Default constructor, pre-allocating for 16 states and transitions.
- Builder(int) - Constructor for class org.apache.lucene.util.RoaringDocIdSet.Builder
-
Sole constructor.
- Builder(int, int) - Constructor for class org.apache.lucene.util.automaton.Automaton.Builder
-
Constructor which creates a builder with enough space for the given number of states and transitions.
- Builder(String) - Constructor for class org.apache.lucene.search.SynonymQuery.Builder
-
Sole constructor
- Builder(MultiPhraseQuery) - Constructor for class org.apache.lucene.search.MultiPhraseQuery.Builder
-
Copy constructor: this will create a builder that has the same configuration as the provided builder.
- Builder(FST.INPUT_TYPE, Outputs<T>) - Constructor for class org.apache.lucene.util.fst.FSTCompiler.Builder
- buildHistogram(int, int, int, int, int, int[]) - Method in class org.apache.lucene.util.MSBRadixSorter
-
Build an histogram of the k-th characters of values occurring between offsets
from
andto
, usingMSBRadixSorter.getBucket(int, int)
. - buildSlice(String, long, long) - Method in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.Builds the actual sliced IndexInput (may apply extra offset in subclasses).
- BulkAdder() - Constructor for class org.apache.lucene.util.DocIdSetBuilder.BulkAdder
- bulkScorer(LeafReaderContext) - Method in class org.apache.lucene.search.IndriAndWeight
- bulkScorer(LeafReaderContext) - Method in class org.apache.lucene.search.Weight
-
Optional method, to return a
BulkScorer
to score the query and send hits to aCollector
. - BulkScorer - Class in org.apache.lucene.search
-
This class is used to score a range of documents at once, and is returned by
Weight.bulkScorer(org.apache.lucene.index.LeafReaderContext)
. - BulkScorer() - Constructor for class org.apache.lucene.search.BulkScorer
- bX - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
x coordinate, vertex two
- bY - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
y coordinate, vertex two
- byId(int) - Static method in enum org.apache.lucene.util.packed.PackedInts.Format
-
Get a format according to its ID.
- BYTE - org.apache.lucene.index.VectorEncoding
-
Encodes vector using 8 bits of precision per sample.
- BYTE_BLOCK_MASK - Static variable in class org.apache.lucene.util.ByteBlockPool
-
Use this to find the position of a global offset in a particular buffer.
- BYTE_BLOCK_SHIFT - Static variable in class org.apache.lucene.util.ByteBlockPool
-
Use this to find the index of the buffer containing a byte, given an offset to that byte.
- BYTE_BLOCK_SIZE - Static variable in class org.apache.lucene.util.ByteBlockPool
-
The size of each buffer in the pool.
- BYTE1 - org.apache.lucene.util.fst.FST.INPUT_TYPE
- BYTE2 - org.apache.lucene.util.fst.FST.INPUT_TYPE
- byte315ToFloat(byte) - Static method in class org.apache.lucene.util.SmallFloat
-
byteToFloat(b, mantissaBits=3, zeroExponent=15)
- BYTE4 - org.apache.lucene.util.fst.FST.INPUT_TYPE
- byte4ToInt(byte) - Static method in class org.apache.lucene.util.SmallFloat
-
Decode values that have been encoded with
SmallFloat.intToByte4(int)
. - 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() - Constructor for class org.apache.lucene.store.ByteArrayDataInput
- ByteArrayDataInput(byte[]) - Constructor for class org.apache.lucene.store.ByteArrayDataInput
- ByteArrayDataInput(byte[], int, int) - Constructor for class org.apache.lucene.store.ByteArrayDataInput
- ByteArrayDataOutput - Class in org.apache.lucene.store
-
DataOutput backed by a byte array.
- ByteArrayDataOutput() - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
- ByteArrayDataOutput(byte[]) - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
- ByteArrayDataOutput(byte[], int, int) - Constructor for class org.apache.lucene.store.ByteArrayDataOutput
- byteAt(int) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Return the byte at the given offset.
- byteAt(int, int) - Method in class org.apache.lucene.util.MSBRadixSorter
-
Return the k-th byte of the entry at index
i
, or-1
if its length is less than or equal tok
. - byteAt(int, int) - Method in class org.apache.lucene.util.RadixSelector
-
Return the k-th byte of the entry at index
i
, or-1
if its length is less than or equal tok
. - byteAt(int, int) - Method in class org.apache.lucene.util.StringSorter.MSBStringRadixSorter
- byteAt(BytesRef, int) - Method in class org.apache.lucene.util.BytesRefComparator
-
Return the unsigned byte to use for comparison at index
i
, or-1
if all bytes that are useful for comparisons are exhausted. - byteBlockCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
The minimum number of byte blocks to encode in a single iteration, when using byte encoding.
- byteBlockCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
The minimum number of byte blocks to encode in a single iteration, when using byte encoding.
- ByteBlockPool - Class in org.apache.lucene.util
-
This class enables the allocation of fixed-size buffers and their management as part of a buffer array.
- 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.DirectAllocator - Class in org.apache.lucene.util
-
A simple
ByteBlockPool.Allocator
that never recycles. - ByteBlockPool.DirectTrackingAllocator - Class in org.apache.lucene.util
-
A simple
ByteBlockPool.Allocator
that never recycles, but tracks how much total RAM is in use. - byteBuffer - Variable in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues
- byteBuffer - Variable in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- ByteBufferIndexInput - Class in org.apache.lucene.store
-
Deprecated.This class was made public for internal reasons (
instanceof
checks). InMMapDirectory
it was replaced byMemorySegment
basedIndexInput
implementations and will be no longer required in Lucene 10. - ByteBufferRecycler(IntFunction<ByteBuffer>) - Constructor for class org.apache.lucene.store.ByteBuffersDataOutput.ByteBufferRecycler
- ByteBuffersDataInput - Class in org.apache.lucene.store
- ByteBuffersDataInput(List<ByteBuffer>) - Constructor for class org.apache.lucene.store.ByteBuffersDataInput
-
Read data from a set of contiguous buffers.
- ByteBuffersDataOutput - Class in org.apache.lucene.store
-
A
DataOutput
storing data in a list ofByteBuffer
s. - ByteBuffersDataOutput() - Constructor for class org.apache.lucene.store.ByteBuffersDataOutput
-
Creates a new output with all defaults.
- ByteBuffersDataOutput(int, int, IntFunction<ByteBuffer>, Consumer<ByteBuffer>) - Constructor for class org.apache.lucene.store.ByteBuffersDataOutput
-
Expert: Creates a new output with custom parameters.
- ByteBuffersDataOutput(long) - Constructor for class org.apache.lucene.store.ByteBuffersDataOutput
-
Create a new output, suitable for writing a file of around
expectedSize
bytes. - ByteBuffersDataOutput.ByteBufferRecycler - Class in org.apache.lucene.store
-
An implementation of a
ByteBuffer
allocation and recycling policy. - ByteBuffersDirectory - Class in org.apache.lucene.store
-
A
ByteBuffer
-basedDirectory
implementation that can be used to store index files on the heap. - ByteBuffersDirectory() - Constructor for class org.apache.lucene.store.ByteBuffersDirectory
- ByteBuffersDirectory(LockFactory) - Constructor for class org.apache.lucene.store.ByteBuffersDirectory
- ByteBuffersDirectory(LockFactory, Supplier<ByteBuffersDataOutput>, BiFunction<String, ByteBuffersDataOutput, IndexInput>) - Constructor for class org.apache.lucene.store.ByteBuffersDirectory
- ByteBuffersIndexInput - Class in org.apache.lucene.store
- ByteBuffersIndexInput(ByteBuffersDataInput, String) - Constructor for class org.apache.lucene.store.ByteBuffersIndexInput
- ByteBuffersIndexOutput - Class in org.apache.lucene.store
-
An
IndexOutput
writing to aByteBuffersDataOutput
. - ByteBuffersIndexOutput(ByteBuffersDataOutput, String, String) - Constructor for class org.apache.lucene.store.ByteBuffersIndexOutput
- ByteBuffersIndexOutput(ByteBuffersDataOutput, String, String, Checksum, Consumer<ByteBuffersDataOutput>) - Constructor for class org.apache.lucene.store.ByteBuffersIndexOutput
- byteCount(int, int, int) - Method in enum org.apache.lucene.util.packed.PackedInts.Format
-
Computes how many byte blocks are needed to store
values
values of sizebitsPerValue
. - byteOffset - Variable in class org.apache.lucene.util.ByteBlockPool
-
Offset from the start of the first buffer to the start of the current buffer, which is bufferUpto * BYTE_BLOCK_SIZE.
- 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
-
Converts incoming automaton to byte-based (UTF32ToUTF8) first
- ByteRunAutomaton(Automaton, boolean, int) - Constructor for class org.apache.lucene.util.automaton.ByteRunAutomaton
-
expert: if isBinary is true, the input is already byte-based
- bytes - Variable in class org.apache.lucene.util.BytesRef
-
The contents of the BytesRef.
- bytes() - Method in class org.apache.lucene.index.Term
-
Returns the bytes of this term, these should not be modified.
- bytes() - Method in class org.apache.lucene.util.BytesRefBuilder
-
Return a reference to the bytes of this builder.
- BYTES - Static variable in class org.apache.lucene.document.DoubleRange
-
stores double values so number of bytes is 8
- BYTES - Static variable in class org.apache.lucene.document.FloatRange
-
stores float values so number of bytes is 4
- BYTES - Static variable in class org.apache.lucene.document.InetAddressPoint
-
The number of bytes per dimension: 128 bits
- BYTES - Static variable in class org.apache.lucene.document.InetAddressRange
-
The number of bytes per dimension : sync w/
InetAddressPoint
- BYTES - Static variable in class org.apache.lucene.document.IntRange
-
stores integer values so number of bytes is 4
- BYTES - Static variable in class org.apache.lucene.document.LatLonPoint
-
LatLonPoint is encoded as integer values so number of bytes is 4
- BYTES - Static variable in class org.apache.lucene.document.LongRange
-
stores long values so number of bytes is 8
- BYTES - Static variable in class org.apache.lucene.document.XYPointField
-
XYPoint is encoded as integer values so number of bytes is 4
- 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 (from the start of each). - 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. - ByteSequencesReader(ChecksumIndexInput, String) - Constructor for class org.apache.lucene.util.OfflineSorter.ByteSequencesReader
-
Constructs a ByteSequencesReader from the provided IndexInput
- ByteSequencesWriter(IndexOutput) - Constructor for class org.apache.lucene.util.OfflineSorter.ByteSequencesWriter
-
Constructs a ByteSequencesWriter to the provided DataOutput
- byteSize - Variable in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues
- byteSize - Variable in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues
- byteSize - Variable in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- byteSize - Variable in enum org.apache.lucene.index.VectorEncoding
-
The number of bytes required to encode a scalar in this format.
- bytesPerArc() - Method in class org.apache.lucene.util.fst.FST.Arc
-
Non-zero if this arc is part of a node with fixed length arcs, which means all arcs for the node are encoded with a fixed number of bytes so that we binary search or direct address.
- bytesPerDim - Variable in class org.apache.lucene.util.bkd.BKDConfig
-
How many bytes each value in each dimension takes.
- bytesPerDoc - Variable in class org.apache.lucene.util.bkd.BKDConfig
-
packedBytesLength plus docID size
- BytesReader() - Constructor for class org.apache.lucene.util.fst.FST.BytesReader
- BytesRef - Class in org.apache.lucene.util
-
Represents byte[], as a slice (offset + length) into an existing byte[].
- BytesRef() - Constructor for class org.apache.lucene.util.BytesRef
-
Create a BytesRef with
BytesRef.EMPTY_BYTES
- BytesRef(byte[]) - Constructor for class org.apache.lucene.util.BytesRef
-
This instance will directly reference bytes w/o making a copy.
- BytesRef(byte[], int, int) - 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.
- BytesRefArray - Class in org.apache.lucene.util
-
A simple append only random-access
BytesRef
array that stores full copies of the appended bytes in aByteBlockPool
. - BytesRefArray(Counter) - Constructor for class org.apache.lucene.util.BytesRefArray
-
Creates a new
BytesRefArray
with a counter to track allocated bytes - BytesRefArray.IndexedBytesRefIterator - Interface in org.apache.lucene.util
-
An extension of
BytesRefIterator
that allows retrieving the index of the current element - BytesRefArray.SortState - Class in org.apache.lucene.util
-
Used to iterate the elements of an array in a given order.
- BytesRefBlockPool - Class in org.apache.lucene.util
-
Represents a logical list of ByteRef backed by a
ByteBlockPool
. - BytesRefBlockPool() - Constructor for class org.apache.lucene.util.BytesRefBlockPool
- BytesRefBlockPool(ByteBlockPool) - Constructor for class org.apache.lucene.util.BytesRefBlockPool
- BytesRefBuilder - Class in org.apache.lucene.util
-
A builder for
BytesRef
instances. - BytesRefBuilder() - Constructor for class org.apache.lucene.util.BytesRefBuilder
-
Sole constructor.
- BytesRefComparator - Class in org.apache.lucene.util
-
Specialized
BytesRef
comparator thatStringSorter
has optimizations for. - BytesRefComparator(int) - Constructor for class org.apache.lucene.util.BytesRefComparator
-
Sole constructor.
- 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.
- BytesRefHash - Class in org.apache.lucene.util
-
BytesRefHash
is a special purpose hash-map like data-structure optimized forBytesRef
instances. - BytesRefHash() - Constructor for class org.apache.lucene.util.BytesRefHash
- BytesRefHash(ByteBlockPool) - Constructor for class org.apache.lucene.util.BytesRefHash
-
Creates a new
BytesRefHash
- BytesRefHash(ByteBlockPool, int, BytesRefHash.BytesStartArray) - Constructor for class org.apache.lucene.util.BytesRefHash
-
Creates a new
BytesRefHash
- BytesRefHash.BytesStartArray - Class in org.apache.lucene.util
-
Manages allocation of the per-term addresses.
- BytesRefHash.DirectBytesStartArray - Class in org.apache.lucene.util
-
A simple
BytesRefHash.BytesStartArray
that tracks memory allocation using a privateCounter
instance. - BytesRefHash.MaxBytesLengthExceededException - Exception in org.apache.lucene.util
- BytesRefIterator - Interface in org.apache.lucene.util
-
A simple iterator interface for
BytesRef
iteration. - bytesRefToString(byte[]) - Static method in class org.apache.lucene.util.ToStringUtils
- bytesRefToString(BytesRef) - Static method in class org.apache.lucene.util.ToStringUtils
-
Builds a String with both textual representation of the
BytesRef
data and the bytes hex values. - bytesRefToString(BytesRefBuilder) - Static method in class org.apache.lucene.util.ToStringUtils
- BytesStartArray() - Constructor for class org.apache.lucene.util.BytesRefHash.BytesStartArray
- byteStart(int) - Method in class org.apache.lucene.util.BytesRefHash
-
Returns the bytesStart offset into the internally used
ByteBlockPool
for the given bytesID - BytesTermAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
This attribute can be used if you have the raw term bytes to be indexed.
- BytesTermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
Implementation class for
BytesTermAttribute
. - BytesTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.BytesTermAttributeImpl
-
Initialize this attribute with no bytes.
- bytesUsed() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
-
A
Counter
reference holding the number of bytes used by thisBytesRefHash.BytesStartArray
. - bytesUsed() - Method in class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
- bytesUsed() - Method in class org.apache.lucene.util.RecyclingByteBlockAllocator
- bytesUsed() - Method in class org.apache.lucene.util.RecyclingIntBlockAllocator
- 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 the head buffer.
- byteValueCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
The number of values that can be stored in
PackedInts.Decoder.byteBlockCount()
byte blocks. - byteValueCount() - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
The number of values that can be stored in
PackedInts.Encoder.byteBlockCount()
byte blocks. - ByteVectorSimilarityQuery - Class in org.apache.lucene.search
-
Search for all (approximate) byte vectors above a similarity threshold.
- ByteVectorSimilarityQuery(String, byte[], float) - Constructor for class org.apache.lucene.search.ByteVectorSimilarityQuery
-
Search for all (approximate) byte vectors above a similarity threshold using
VectorSimilarityCollector
. - ByteVectorSimilarityQuery(String, byte[], float, float) - Constructor for class org.apache.lucene.search.ByteVectorSimilarityQuery
-
Search for all (approximate) byte vectors above a similarity threshold using
VectorSimilarityCollector
. - ByteVectorSimilarityQuery(String, byte[], float, float, Query) - Constructor for class org.apache.lucene.search.ByteVectorSimilarityQuery
-
Search for all (approximate) byte vectors above a similarity threshold using
VectorSimilarityCollector
. - ByteVectorSimilarityQuery(String, byte[], float, Query) - Constructor for class org.apache.lucene.search.ByteVectorSimilarityQuery
-
Search for all (approximate) byte vectors above a similarity threshold using
VectorSimilarityCollector
. - ByteVectorValues - Class in org.apache.lucene.index
-
This class provides access to per-document floating point vector values indexed as
KnnByteVectorField
. - ByteVectorValues() - Constructor for class org.apache.lucene.index.ByteVectorValues
-
Sole constructor
C
- c - Variable in class org.apache.lucene.util.automaton.RegExp
-
Character expression
- ca - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
represent if edge ca belongs to original shape
- CacheAndCount(DocIdSet, int) - Constructor for class org.apache.lucene.search.LRUQueryCache.CacheAndCount
- cacheImpl(BulkScorer, int) - Method in class org.apache.lucene.search.LRUQueryCache
-
Default cache implementation: uses
RoaringDocIdSet
for sets that have a density < 1% and aBitDocIdSet
over aFixedBitSet
otherwise. - 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
. - calculateDefaultConfidenceInterval(int) - Static method in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsFormat
- calcUTF16toUTF8Length(CharSequence, int, int) - Static method in class org.apache.lucene.util.UnicodeUtil
-
Calculates the number of UTF8 bytes necessary to write a UTF16 string.
- 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.
- CANDIDATE - org.apache.lucene.geo.Component2D.WithinRelation
-
If the shape is a candidate for within.
- canReuse(MultiTermsEnum) - Method in class org.apache.lucene.index.MultiPostingsEnum
-
Returns
true
if this instance can be reused by the providedMultiTermsEnum
. - captureState() - Method in class org.apache.lucene.util.AttributeSource
-
Captures the state of all Attributes.
- cardinality() - Method in class org.apache.lucene.index.DocsWithFieldSet
-
Return the number of documents of this set.
- cardinality() - Method in class org.apache.lucene.util.BitSet
-
Return the number of bits that are set.
- cardinality() - Method in class org.apache.lucene.util.FixedBitSet
-
Returns number of set bits.
- cardinality() - Method in class org.apache.lucene.util.LongBitSet
-
Returns number of set bits.
- cardinality() - Method in class org.apache.lucene.util.RoaringDocIdSet
-
Return the exact number of documents that are contained in this set.
- cardinality() - Method in class org.apache.lucene.util.SparseFixedBitSet
- CCW - org.apache.lucene.geo.GeoUtils.WindingOrder
- CELL_CROSSES_QUERY - org.apache.lucene.index.PointValues.Relation
-
Return this if the cell partially overlaps the query
- CELL_INSIDE_QUERY - org.apache.lucene.index.PointValues.Relation
-
Return this if the cell is fully contained by the query
- CELL_OUTSIDE_QUERY - org.apache.lucene.index.PointValues.Relation
-
Return this if the cell and query do not overlap
- changed() - Method in class org.apache.lucene.index.SegmentInfos
-
Call this before committing if changes have been made to the segments.
- changeToken(BytesRef) - Method in class org.apache.lucene.analysis.TokenStreamToAutomaton
-
Subclass and implement this if you need to change the token (such as escaping certain bytes) before it's turned into a graph.
- CharacterRunAutomaton - Class in org.apache.lucene.util.automaton
-
Automaton representation for matching char[].
- CharacterRunAutomaton(Automaton) - Constructor for class org.apache.lucene.util.automaton.CharacterRunAutomaton
-
Construct with a default number of determinizeWorkLimit.
- CharacterRunAutomaton(Automaton, int) - Constructor for class org.apache.lucene.util.automaton.CharacterRunAutomaton
-
Constructor specifying determinizeWorkLimit.
- CharacterUtils - Class in org.apache.lucene.analysis
-
Utility class to write tokenizers or token filters.
- CharacterUtils.CharacterBuffer - Class in org.apache.lucene.analysis
-
A simple IO buffer to use with
CharacterUtils.fill(CharacterBuffer, Reader)
. - CharArrayMap<V> - Class in org.apache.lucene.analysis
-
A simple class that stores key Strings as char[]'s in a hash table.
- CharArrayMap(int, boolean) - Constructor for class org.apache.lucene.analysis.CharArrayMap
-
Create map with enough capacity to hold startSize terms
- CharArrayMap(Map<?, ? extends V>, boolean) - Constructor for class org.apache.lucene.analysis.CharArrayMap
-
Creates a map from the mappings in another map.
- CharArrayMap.EntryIterator - Class in org.apache.lucene.analysis
-
public iterator class so efficient methods are exposed to users
- CharArrayMap.EntrySet - Class in org.apache.lucene.analysis
-
public EntrySet class so efficient methods are exposed to users
- CharArraySet - Class in org.apache.lucene.analysis
-
A simple class that stores Strings as char[]'s in a hash table.
- CharArraySet(int, boolean) - Constructor for class org.apache.lucene.analysis.CharArraySet
-
Create set with enough capacity to hold startSize terms
- CharArraySet(Collection<?>, boolean) - Constructor for class org.apache.lucene.analysis.CharArraySet
-
Creates a set from a Collection of objects.
- charAt(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- charAt(int) - Method in class org.apache.lucene.util.CharsRef
- charAt(int) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Return the char at the given offset.
- CharCursor - Class in org.apache.lucene.internal.hppc
-
Forked from HPPC, holding int index and char value.
- CharCursor() - Constructor for class org.apache.lucene.internal.hppc.CharCursor
- 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.
- CharFilterFactory - Class in org.apache.lucene.analysis
-
Abstract parent class for analysis factories that create
CharFilter
instances. - CharFilterFactory() - Constructor for class org.apache.lucene.analysis.CharFilterFactory
-
Default ctor for compatibility with SPI
- CharFilterFactory(Map<String, String>) - Constructor for class org.apache.lucene.analysis.CharFilterFactory
-
Initialize this factory via a set of key-value pairs.
- CharHashSet - Class in org.apache.lucene.internal.hppc
-
A hash set of
char
s, implemented using open addressing with linear probing for collision resolution. - CharHashSet() - Constructor for class org.apache.lucene.internal.hppc.CharHashSet
-
New instance with sane defaults.
- CharHashSet(int) - Constructor for class org.apache.lucene.internal.hppc.CharHashSet
-
New instance with sane defaults.
- CharHashSet(int, double) - Constructor for class org.apache.lucene.internal.hppc.CharHashSet
-
New instance with the provided defaults.
- CharHashSet(CharHashSet) - Constructor for class org.apache.lucene.internal.hppc.CharHashSet
-
New instance copying elements from another set.
- CharHashSet.EntryIterator - Class in org.apache.lucene.internal.hppc
-
An iterator implementation for
CharHashSet.iterator()
. - CharObjectCursor() - Constructor for class org.apache.lucene.internal.hppc.CharObjectHashMap.CharObjectCursor
- CharObjectHashMap<VType> - Class in org.apache.lucene.internal.hppc
-
A hash map of
char
toObject
, implemented using open addressing with linear probing for collision resolution. - CharObjectHashMap() - Constructor for class org.apache.lucene.internal.hppc.CharObjectHashMap
-
New instance with sane defaults.
- CharObjectHashMap(int) - Constructor for class org.apache.lucene.internal.hppc.CharObjectHashMap
-
New instance with sane defaults.
- CharObjectHashMap(int, double) - Constructor for class org.apache.lucene.internal.hppc.CharObjectHashMap
-
New instance with the provided defaults.
- CharObjectHashMap(CharObjectHashMap<VType>) - Constructor for class org.apache.lucene.internal.hppc.CharObjectHashMap
-
Create a hash map from all key-value pairs of another map.
- CharObjectHashMap.CharObjectCursor<VType> - Class in org.apache.lucene.internal.hppc
-
Forked from HPPC, holding int index,key and value
- CharObjectHashMap.KeysContainer - Class in org.apache.lucene.internal.hppc
-
A view of the keys inside this hash map.
- CharObjectHashMap.ValuesContainer - Class in org.apache.lucene.internal.hppc
-
A view over the set of values of this map.
- chars - Variable in class org.apache.lucene.util.CharsRef
-
The contents of the CharsRef.
- chars() - Method in class org.apache.lucene.util.CharsRefBuilder
-
Return a reference to the chars of this builder.
- 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. - 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(char[], int, int) - Constructor for class org.apache.lucene.util.CharsRef
-
Creates a new
CharsRef
initialized with the given array, offset and length - CharsRef(int) - Constructor for class org.apache.lucene.util.CharsRef
-
Creates a new
CharsRef
initialized with an array of the given capacity - CharsRef(String) - Constructor for class org.apache.lucene.util.CharsRef
-
Creates a new
CharsRef
initialized with the given Strings character array - CharsRefBuilder - Class in org.apache.lucene.util
-
A builder for
CharsRef
instances. - CharsRefBuilder() - Constructor for class org.apache.lucene.util.CharsRefBuilder
-
Sole constructor.
- CharTermAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
The term text of a Token.
- CharTermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
Default implementation of
CharTermAttribute
. - CharTermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Initialize this attribute with empty term text
- checkAborted() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Checks if merge has been aborted and throws a merge exception if so.
- checkArgs(String, Object, Object) - Static method in class org.apache.lucene.search.PointRangeQuery
-
Check preconditions for all factory methods
- checkConsistency() - Method in class org.apache.lucene.index.FieldInfo
-
Check correctness of the FieldInfo options
- CheckedIntConsumer<T extends Exception> - Interface in org.apache.lucene.search
-
Like
IntConsumer
, but may throw checked exceptions. - checkField(LeafReader, String) - Static method in class org.apache.lucene.index.ByteVectorValues
-
Checks the Vector Encoding of a field
- checkField(LeafReader, String) - Static method in class org.apache.lucene.index.FloatVectorValues
-
Checks the Vector Encoding of a field
- checkFinite(float[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Checks if a float vector only has finite components.
- checkFooter(ChecksumIndexInput) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Validates the codec footer previously written by
CodecUtil.writeFooter(org.apache.lucene.store.IndexOutput)
. - checkFooter(ChecksumIndexInput, Throwable) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Validates the codec footer previously written by
CodecUtil.writeFooter(org.apache.lucene.store.IndexOutput)
, optionally passing an unexpected exception that has already occurred. - checkHeader(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Reads and validates a header previously written with
CodecUtil.writeHeader(DataOutput, String, int)
. - checkHeaderNoMagic(DataInput, String, int, int) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Like
CodecUtil.checkHeader(DataInput,String,int,int)
except this version assumes the first int has already been read and validated from the input. - checkIfFrozen() - Method in class org.apache.lucene.document.FieldType
-
Throws an exception if this FieldType is frozen.
- checkImpacts(Impacts, int) - Method in interface org.apache.lucene.internal.tests.IndexPackageAccess
- checkIndex() - Method in class org.apache.lucene.index.CheckIndex
-
Returns a
CheckIndex.Status
instance detailing the state of the index. - checkIndex(List<String>) - Method in class org.apache.lucene.index.CheckIndex
-
Returns a
CheckIndex.Status
instance detailing the state of the index. - checkIndex(List<String>, ExecutorService) - Method in class org.apache.lucene.index.CheckIndex
-
Returns a
CheckIndex.Status
instance detailing the state of the index. - 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(Directory, Lock) - Constructor for class org.apache.lucene.index.CheckIndex
-
Expert: create a directory with the specified lock.
- CheckIndex.CheckIndexException - Exception in org.apache.lucene.index
-
The marker RuntimeException used by CheckIndex APIs when index integrity failure is detected.
- CheckIndex.Options - Class in org.apache.lucene.index
-
Run-time configuration options for CheckIndex commands.
- CheckIndex.Status - Class in org.apache.lucene.index
-
Returned from
CheckIndex.checkIndex()
detailing the health and status of the index. - CheckIndex.Status.DocValuesStatus - Class in org.apache.lucene.index
-
Status from testing DocValues
- CheckIndex.Status.FieldInfoStatus - Class in org.apache.lucene.index
-
Status from testing field infos.
- CheckIndex.Status.FieldNormStatus - Class in org.apache.lucene.index
-
Status from testing field norms.
- CheckIndex.Status.IndexSortStatus - Class in org.apache.lucene.index
-
Status from testing index sort
- CheckIndex.Status.LiveDocStatus - Class in org.apache.lucene.index
-
Status from testing livedocs
- CheckIndex.Status.PointsStatus - Class in org.apache.lucene.index
-
Status from testing PointValues
- CheckIndex.Status.SegmentInfoStatus - Class in org.apache.lucene.index
-
Holds the status of each segment in the index.
- CheckIndex.Status.SoftDeletsStatus - Class in org.apache.lucene.index
-
Status from testing soft deletes
- 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.
- CheckIndex.Status.VectorValuesStatus - Class in org.apache.lucene.index
-
Status from testing vector values
- CheckIndex.VerifyPointsVisitor - Class in org.apache.lucene.index
-
Walks the entire N-dimensional points space, verifying that all points fall within the last cell's boundaries.
- CheckIndexException(String) - Constructor for exception org.apache.lucene.index.CheckIndex.CheckIndexException
-
Constructs a new CheckIndexException with the error message
- CheckIndexException(String, Throwable) - Constructor for exception org.apache.lucene.index.CheckIndex.CheckIndexException
-
Constructs a new CheckIndexException with the error message, and the root cause
- checkIndexHeader(DataInput, String, int, int, byte[], String) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Reads and validates a header previously written with
CodecUtil.writeIndexHeader(DataOutput, String, int, byte[], String)
. - checkIndexHeaderID(DataInput, byte[]) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Expert: just reads and verifies the object ID of an index header
- checkIndexHeaderSuffix(DataInput, String) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Expert: just reads and verifies the suffix of an index header
- checkIntegrity() - Method in class org.apache.lucene.codecs.CompoundDirectory
-
Checks consistency of this directory.
- checkIntegrity() - Method in class org.apache.lucene.codecs.DocValuesProducer
-
Checks consistency of this producer
- checkIntegrity() - Method in class org.apache.lucene.codecs.FieldsProducer
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.hnsw.FlatVectorsReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.KnnVectorsReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene90.Lucene90PointsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene99.Lucene99FlatVectorsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.NormsProducer
-
Checks consistency of this producer
- checkIntegrity() - Method in class org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat.FieldsReader
- checkIntegrity() - Method in class org.apache.lucene.codecs.PointsReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.StoredFieldsReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.codecs.TermVectorsReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.index.CodecReader
- checkIntegrity() - Method in class org.apache.lucene.index.EmptyDocValuesProducer
- checkIntegrity() - Method in class org.apache.lucene.index.FilterCodecReader
- checkIntegrity() - Method in class org.apache.lucene.index.FilterLeafReader
- checkIntegrity() - Method in class org.apache.lucene.index.LeafReader
-
Checks consistency of this reader.
- checkIntegrity() - Method in class org.apache.lucene.index.ParallelLeafReader
- checkIntegrity() - Method in class org.apache.lucene.index.SegmentReader
- checkLatitude(double) - Static method in class org.apache.lucene.geo.GeoUtils
-
validates latitude value is within standard +/-90 coordinate bounds
- checkLongitude(double) - Static method in class org.apache.lucene.geo.GeoUtils
-
validates longitude value is within standard +/-180 coordinate bounds
- 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.
- checkPendingFlushOnUpdate - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
if an indexing thread should check for pending flushes on update in order to help out on a full flush
- checkServiceName(String) - Static method in class org.apache.lucene.util.NamedSPILoader
-
Validates that a service name meets the requirements of
NamedSPILoader.NamedSPI
- checksumEntireFile(IndexInput) - Static method in class org.apache.lucene.codecs.CodecUtil
-
Clones the provided input, reads all bytes from the file, and calls
CodecUtil.checkFooter(org.apache.lucene.store.ChecksumIndexInput)
- ChecksumIndexInput - Class in org.apache.lucene.store
-
Extension of IndexInput, computing checksum as it goes.
- ChecksumIndexInput(String) - Constructor for class org.apache.lucene.store.ChecksumIndexInput
-
resourceDescription should be a non-null, opaque string describing this resource; it's returned from
IndexInput.toString()
. - checkUnpositioned(DocIdSetIterator) - Method in class org.apache.lucene.util.BitSet
-
Assert that the current doc is -1.
- checkVersion(int) - Static method in class org.apache.lucene.util.packed.PackedInts
-
Check the validity of a version number.
- child - Variable in class org.apache.lucene.search.Scorable.ChildScorable
-
Child Scorer.
- 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
. - children() - Method in class org.apache.lucene.index.LeafReaderContext
- ChildScorable(Scorable, String) - Constructor for class org.apache.lucene.search.Scorable.ChildScorable
-
Creates a new ChildScorer node with the specified relationship.
- chunkSizeMask - Variable in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- chunkSizePower - Variable in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- Circle - Class in org.apache.lucene.geo
-
Represents a circle on the earth's surface.
- Circle(double, double, double) - Constructor for class org.apache.lucene.geo.Circle
-
Creates a new circle from the supplied latitude/longitude center and a radius in meters..
- classHash() - Method in class org.apache.lucene.search.Query
-
Provides a constant integer for a given class, derived from the name of the class.
- ClassicSimilarity - Class in org.apache.lucene.search.similarities
-
Expert: Historical scoring implementation.
- ClassicSimilarity() - Constructor for class org.apache.lucene.search.similarities.ClassicSimilarity
-
Sole constructor: parameter-free
- ClassLoaderUtils - Interface in org.apache.lucene.util
-
Helper class used by ServiceLoader to investigate parent/child relationships of
ClassLoader
s. - ClasspathResourceLoader - Class in org.apache.lucene.util
-
Simple
ResourceLoader
that usesClassLoader.getResourceAsStream(String)
andClass.forName(String,boolean,ClassLoader)
to open resources and classes, respectively. - ClasspathResourceLoader(Class<?>) - Constructor for class org.apache.lucene.util.ClasspathResourceLoader
-
Creates an instance using the context classloader to load Resources and classes Resources are resolved relative to the given class, if path is not absolute.
- ClasspathResourceLoader(ClassLoader) - Constructor for class org.apache.lucene.util.ClasspathResourceLoader
-
Creates an instance using the given classloader to load Resources and classes.
- clauses() - Method in class org.apache.lucene.search.BooleanQuery
-
Return a list of the clauses of this
BooleanQuery
. - 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.CharArrayMap
-
Clears all entries in this map.
- clear() - Method in class org.apache.lucene.analysis.CharArrayMap.EntrySet
- clear() - Method in class org.apache.lucene.analysis.CharArraySet
-
Clears all entries in this set.
- clear() - Method in class org.apache.lucene.analysis.tokenattributes.BytesTermAttributeImpl
- 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.PackedTokenAttributeImpl
-
Resets the attributes
- 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.SentenceAttributeImpl
- clear() - Method in class org.apache.lucene.analysis.tokenattributes.TermFrequencyAttributeImpl
- clear() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
- clear() - Method in class org.apache.lucene.codecs.CompetitiveImpactAccumulator
-
Reset to the same state it was in after creation.
- clear() - Method in class org.apache.lucene.document.Document
-
Removes all the fields from document.
- clear() - Method in class org.apache.lucene.index.SegmentInfos
-
Clear all
SegmentCommitInfo
s. - clear() - Method in class org.apache.lucene.index.TermStates
-
Clears the
TermStates
internal state and removes all registeredTermState
s - clear() - Method in class org.apache.lucene.internal.hppc.CharHashSet
- clear() - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Sets the number of stored elements to zero.
- clear() - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Sets the number of stored elements to zero.
- clear() - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.IntHashSet
- clear() - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Sets the number of stored elements to zero.
- clear() - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.LongHashSet
- clear() - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
- clear() - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
- clear() - Method in class org.apache.lucene.search.BoostAttributeImpl
- clear() - Method in class org.apache.lucene.search.DisiPriorityQueue
-
Clear the heap.
- clear() - Method in class org.apache.lucene.search.LRUQueryCache
-
Clear the content of this cache.
- clear() - Method in class org.apache.lucene.search.MaxNonCompetitiveBoostAttributeImpl
- clear() - Method in class org.apache.lucene.search.Multiset
- 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.BitSet
-
Clear all the bits of the set.
- clear() - Method in class org.apache.lucene.util.BytesRefArray
-
Clears this
BytesRefArray
- clear() - Method in class org.apache.lucene.util.BytesRefBuilder
-
Reset this builder to the empty state.
- clear() - Method in class org.apache.lucene.util.BytesRefHash.BytesStartArray
-
clears the
BytesRefHash.BytesStartArray
and returns the cleared instance. - 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.CharsRefBuilder
-
Reset this builder to the empty state.
- clear() - Method in class org.apache.lucene.util.FixedBitSet
- clear() - Method in class org.apache.lucene.util.hnsw.FloatHeap
- clear() - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder.GraphBuilderKnnCollector
- clear() - Method in class org.apache.lucene.util.hnsw.NeighborArray
- clear() - Method in class org.apache.lucene.util.hnsw.NeighborQueue
- clear() - Method in class org.apache.lucene.util.IntsRefBuilder
-
Empty this builder.
- clear() - Method in class org.apache.lucene.util.LongHeap
-
Removes all entries from the PriorityQueue.
- clear() - Method in class org.apache.lucene.util.packed.GrowableWriter
- clear() - Method in class 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.SparseFixedBitSet
- clear() - Method in class org.apache.lucene.util.WeakIdentityMap
-
Removes all of the mappings from this map.
- clear(boolean) - Method in class org.apache.lucene.util.BytesRefHash
- clear(int) - Method in class org.apache.lucene.util.BitSet
-
Clear the bit at
i
. - clear(int) - Method in class org.apache.lucene.util.FixedBitSet
- clear(int) - Method in class org.apache.lucene.util.SparseFixedBitSet
-
Clear the bit at index
i
. - clear(int, int) - Method in class org.apache.lucene.util.BitSet
-
Clears a range of bits.
- clear(int, int) - Method in class org.apache.lucene.util.FixedBitSet
- clear(int, int) - Method in class org.apache.lucene.util.SparseFixedBitSet
- clear(long) - Method in class org.apache.lucene.util.LongBitSet
- clear(long, long) - Method in class org.apache.lucene.util.LongBitSet
-
Clears a range of bits.
- clearAttributes() - Method in class org.apache.lucene.util.AttributeSource
-
Resets all Attributes in this AttributeSource by calling
AttributeImpl.clear()
on each Attribute implementation. - clearCoreCacheKey(Object) - Method in class org.apache.lucene.search.LRUQueryCache
-
Remove all cache entries for the given core cache key.
- clearCreatedFiles() - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
- clearQuery(Query) - Method in class org.apache.lucene.search.LRUQueryCache
-
Remove all cache entries for the given query.
- clone() - Method in class org.apache.lucene.analysis.tokenattributes.BytesTermAttributeImpl
- clone() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- clone() - Method in class org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl
- clone() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
- clone() - Method in class org.apache.lucene.codecs.compressing.Decompressor
- clone() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader
- clone() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsReader
- clone() - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsFormat.IntBlockTermState
- clone() - Method in class org.apache.lucene.codecs.MutablePointTree
- 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.NoMergeScheduler
- clone() - Method in interface org.apache.lucene.index.PointValues.PointTree
-
Clone, the current node becomes the root of the new tree.
- clone() - Method in class org.apache.lucene.index.SegmentCommitInfo
- 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.internal.hppc.CharHashSet
- clone() - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Clone this object.
- clone() - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Clone this object.
- clone() - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.IntHashSet
- clone() - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Clone this object.
- clone() - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.LongHashSet
- clone() - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
- clone() - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
- clone() - Method in class org.apache.lucene.store.BufferedChecksumIndexInput
- clone() - Method in class org.apache.lucene.store.BufferedIndexInput
- clone() - Method in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- clone() - Method in class org.apache.lucene.store.ByteBuffersIndexInput
- clone() - Method in class org.apache.lucene.store.DataInput
-
Returns a clone of this stream.
- clone() - Method in class org.apache.lucene.store.IndexInput
-
Returns a clone of this stream.
- clone() - Method in class org.apache.lucene.util.AttributeImpl
-
In most cases the clone is, and should be, deep in order to be able to properly capture the state of all attributes.
- clone() - Method in class org.apache.lucene.util.AttributeSource.State
- clone() - Method in class org.apache.lucene.util.BytesRef
-
Returns a shallow clone of this instance (the underlying bytes are not copied and will be shared by both the returned object and this object.
- clone() - Method in class org.apache.lucene.util.CharsRef
-
Returns a shallow clone of this instance (the underlying characters are not copied and will be shared by both the returned object and this object.
- clone() - Method in class org.apache.lucene.util.FixedBitSet
- clone() - Method in class org.apache.lucene.util.IntsRef
-
Returns a shallow clone of this instance (the underlying ints are not copied and will be shared by both the returned object and this object.
- clone() - Method in class org.apache.lucene.util.LongBitSet
- clone() - Method in class org.apache.lucene.util.LongsRef
-
Returns a shallow clone of this instance (the underlying longs are not copied and will be shared by both the returned object and this object.
- 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 newAttributeSource
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.CharFilter
-
Closes the underlying input stream.
- close() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- 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.FieldsConsumer
- close() - Method in class org.apache.lucene.codecs.FieldsProducer
- close() - Method in class org.apache.lucene.codecs.lucene90.blocktree.Lucene90BlockTreeTermsReader
- close() - Method in class org.apache.lucene.codecs.lucene90.blocktree.Lucene90BlockTreeTermsWriter
- close() - Method in class org.apache.lucene.codecs.lucene90.compressing.FieldsIndexWriter
- close() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader
-
Close the underlying
IndexInput
s. - close() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsWriter
- close() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsReader
- close() - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingTermVectorsWriter
- close() - Method in class org.apache.lucene.codecs.lucene90.Lucene90PointsReader
- close() - Method in class org.apache.lucene.codecs.lucene90.Lucene90PointsWriter
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99FlatVectorsReader
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99FlatVectorsWriter
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsReader
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsWriter
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsReader
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsWriter
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsReader
- close() - Method in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsWriter
- close() - Method in class org.apache.lucene.codecs.MultiLevelSkipListReader
- close() - Method in class org.apache.lucene.codecs.perfield.PerFieldKnnVectorsFormat.FieldsReader
- 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.CheckIndex
- close() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
- close() - Method in class org.apache.lucene.index.EmptyDocValuesProducer
-
Closes this doc values producer.
- close() - Method in class org.apache.lucene.index.IndexReader
-
Closes files associated with this index.
- close() - Method in class org.apache.lucene.index.IndexWriter
-
Closes all open resources and releases the write lock.
- close() - Method in class org.apache.lucene.index.MergeScheduler
-
Close this MergeScheduler.
- close() - Method in class org.apache.lucene.index.NoMergeScheduler
- close() - Method in class org.apache.lucene.index.SerialMergeScheduler
- close() - Method in class org.apache.lucene.search.ControlledRealTimeReopenThread
- close() - Method in class org.apache.lucene.search.LiveFieldValues
- close() - Method in class org.apache.lucene.search.ReferenceManager
-
Closes this ReferenceManager to prevent future
acquiring
. - close() - Method in class org.apache.lucene.search.SearcherLifetimeManager
-
Close this to future searching; any searches still in process in other threads won't be affected, and they should still call
SearcherLifetimeManager.release(org.apache.lucene.search.IndexSearcher)
after they are done. - close() - Method in class org.apache.lucene.store.BufferedChecksumIndexInput
- close() - Method in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- close() - Method in class org.apache.lucene.store.ByteBuffersDirectory
- close() - Method in class org.apache.lucene.store.ByteBuffersIndexInput
- close() - Method in class org.apache.lucene.store.ByteBuffersIndexOutput
- close() - Method in class org.apache.lucene.store.Directory
-
Closes the directory.
- close() - Method in class org.apache.lucene.store.FileSwitchDirectory
- close() - Method in class org.apache.lucene.store.FilterDirectory
- close() - Method in class org.apache.lucene.store.FilterIndexInput
- close() - Method in class org.apache.lucene.store.FilterIndexOutput
- close() - Method in class org.apache.lucene.store.FSDirectory
- 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.Lock
-
Releases exclusive access.
- 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.OutputStreamIndexOutput
- close() - Method in class org.apache.lucene.util.bkd.BKDWriter
- close() - Method in class org.apache.lucene.util.bkd.HeapPointReader
- close() - Method in class org.apache.lucene.util.bkd.HeapPointWriter
- close() - Method in class org.apache.lucene.util.bkd.OfflinePointReader
- close() - Method in class org.apache.lucene.util.bkd.OfflinePointWriter
- 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() - Method in class org.apache.lucene.util.JavaLoggingInfoStream
- close() - Method in class org.apache.lucene.util.OfflineSorter.ByteSequencesReader
-
Closes the provided
IndexInput
. - close() - Method in class org.apache.lucene.util.OfflineSorter.ByteSequencesWriter
-
Closes the provided
IndexOutput
. - close() - Method in class org.apache.lucene.util.PrintStreamInfoStream
- close(Closeable...) - Static method in class org.apache.lucene.util.IOUtils
-
Closes all given
Closeable
s. - close(Iterable<? extends Closeable>) - Static method in class org.apache.lucene.util.IOUtils
-
Closes all given
Closeable
s. - CloseableRandomVectorScorerSupplier - Interface in org.apache.lucene.util.hnsw
-
A supplier that creates
RandomVectorScorer
from an ordinal. - 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
- closeWhileHandlingException(Closeable...) - Static method in class org.apache.lucene.util.IOUtils
-
Closes all given
Closeable
s, suppressing all thrown exceptions. - closeWhileHandlingException(Iterable<? extends Closeable>) - Static method in class org.apache.lucene.util.IOUtils
-
Closes all given
Closeable
s, suppressing all thrown nonVirtualMachineError
exceptions. - CLOSING - org.apache.lucene.index.MergeTrigger
-
Merge was triggered by a closing IndexWriter.
- 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 - 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_FILE_PATTERN - Static variable in class org.apache.lucene.index.IndexFileNames
-
All files created by codecs much match this pattern (checked in SegmentInfo).
- 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.util.bkd.BKDWriter
- CODEC_NAME - Static variable in class org.apache.lucene.util.packed.PackedInts
- CodecReader - Class in org.apache.lucene.index
-
LeafReader implemented by codec APIs.
- CodecReader() - Constructor for class org.apache.lucene.index.CodecReader
-
Sole constructor.
- CodecUtil - Class in org.apache.lucene.codecs
-
Utility class for reading and writing versioned headers.
- codePoint - Variable in class org.apache.lucene.util.UnicodeUtil.UTF8CodePoint
- codePointAt(byte[], int, UnicodeUtil.UTF8CodePoint) - Static method in class org.apache.lucene.util.UnicodeUtil
-
Computes the codepoint and codepoint length (in bytes) of the specified
offset
in the providedutf8
byte array, assuming UTF8 encoding. - codePointCount(BytesRef) - Static method in class org.apache.lucene.util.UnicodeUtil
-
Returns the number of code points in this UTF8 sequence.
- COLINEAR - org.apache.lucene.geo.GeoUtils.WindingOrder
- collect(int) - Method in class org.apache.lucene.search.FilterLeafCollector
- collect(int) - Method in interface org.apache.lucene.search.LeafCollector
-
Called once for every document matching a query, with the unbased document number.
- collect(int) - Method in class org.apache.lucene.search.SimpleCollector
- collect(int, float) - Method in class org.apache.lucene.search.AbstractKnnCollector
- collect(int, float) - Method in class org.apache.lucene.search.knn.MultiLeafKnnCollector
- collect(int, float) - Method in interface org.apache.lucene.search.KnnCollector
-
Collect the provided docId and include in the result set.
- collect(int, float) - Method in class org.apache.lucene.search.TopKnnCollector
- collect(int, float) - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder.GraphBuilderKnnCollector
- collect(int, float) - Method in class org.apache.lucene.util.hnsw.OrdinalTranslatedKnnCollector
- collect(DocIdStream) - Method in interface org.apache.lucene.search.LeafCollector
-
Bulk-collect doc IDs.
- collectionModel - Variable in class org.apache.lucene.search.similarities.LMSimilarity
-
The collection model.
- CollectionNodesIterator(IntArrayList) - Constructor for class org.apache.lucene.util.hnsw.HnswGraph.CollectionNodesIterator
-
Constructor for iterator based on collection representing nodes
- collectionStatistics(String) - Method in class org.apache.lucene.search.IndexSearcher
-
Returns
CollectionStatistics
for a field, ornull
if the field does not exist (has no indexed terms) - 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
-
Creates statistics instance for a collection (field).
- CollectionTerminatedException - Exception in org.apache.lucene.search
-
Throw this exception in
LeafCollector.collect(int)
to prematurely terminate collection of the current leaf. - CollectionTerminatedException() - Constructor for exception org.apache.lucene.search.CollectionTerminatedException
-
Sole constructor.
- CollectionUtil - Class in org.apache.lucene.util
-
Methods for manipulating (sorting) and creating collections.
- Collector - Interface 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.
- CollectorManager<C extends Collector,T> - Interface in org.apache.lucene.search
-
A manager of collectors.
- combine(float, boolean, float) - Method in class org.apache.lucene.search.QueryRescorer
-
Implement this in a subclass to combine the first pass and second pass scores.
- COMMA - Static variable in class org.apache.lucene.geo.SimpleWKTShapeParser
- CommandLineUtil - Class in org.apache.lucene.util
-
Class containing some useful methods used by command line tools
- commit - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
IndexCommit
thatIndexWriter
is opened on. - commit() - Method in class org.apache.lucene.index.IndexWriter
-
Commits all pending changes (added and 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() - Method in interface org.apache.lucene.index.TwoPhaseCommit
-
The second phase of a 2-phase commit.
- commit(Directory) - Method in class org.apache.lucene.index.SegmentInfos
-
Writes and syncs to the Directory dir, taking care to remove the segments file on exception
- COMMIT - org.apache.lucene.index.MergeTrigger
-
Merge was triggered on commit.
- CommitFailException(Throwable, TwoPhaseCommit) - Constructor for exception org.apache.lucene.index.TwoPhaseCommitTool.CommitFailException
-
Sole constructor.
- commitOnClose - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
True if calls to
IndexWriter.close()
should first do a commit. - common(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
- common(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
- 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(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
- common(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
- common(T, T) - Method in class org.apache.lucene.util.fst.Outputs
-
Eg common("foobar", "food") -> "foo"
- 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 ids 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(byte[], byte[]) - Method in class org.apache.lucene.index.CheckIndex.VerifyPointsVisitor
- compare(byte[], byte[]) - Method in interface org.apache.lucene.index.PointValues.IntersectVisitor
-
Called for non-leaf cells to test how the cell relates to the query, to determine how to further recurse down the tree.
- compare(byte[], byte[]) - Method in enum org.apache.lucene.index.VectorSimilarityFunction
-
Calculates a similarity score between the two vectors with a specified function.
- compare(byte[], byte[]) - Method in interface org.apache.lucene.util.quantization.ScalarQuantizedVectorSimilarity.ByteVectorComparator
- compare(byte[], int, byte[], int) - Method in interface org.apache.lucene.util.ArrayUtil.ByteArrayComparator
-
Compare bytes starting from the given offsets.
- compare(float[], float[]) - Method in enum org.apache.lucene.index.VectorSimilarityFunction
-
Calculates a similarity score between the two vectors with a specified function.
- compare(int, int) - Method in interface org.apache.lucene.index.IndexSorter.DocComparator
-
Compare docID1 against docID2.
- compare(int, int) - Method in class org.apache.lucene.search.comparators.DocComparator
- compare(int, int) - Method in class org.apache.lucene.search.comparators.DoubleComparator
- compare(int, int) - Method in class org.apache.lucene.search.comparators.FloatComparator
- compare(int, int) - Method in class org.apache.lucene.search.comparators.IntComparator
- compare(int, int) - Method in class org.apache.lucene.search.comparators.LongComparator
- compare(int, int) - Method in class org.apache.lucene.search.comparators.TermOrdValComparator
- 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.RelevanceComparator
- compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
- compare(int, int) - Method in class org.apache.lucene.util.IntroSelector
-
Compare entries found in slots
i
andj
. - compare(int, int) - Method in class org.apache.lucene.util.IntroSorter
- compare(int, int) - Method in class org.apache.lucene.util.MSBRadixSorter
- compare(int, int) - Method in class org.apache.lucene.util.Sorter
-
Compare entries found in slots
i
andj
. - compare(int, int) - Method in class org.apache.lucene.util.StringSorter
- compare(BytesRef, BytesRef) - Method in class org.apache.lucene.util.BytesRefComparator
- compare(BytesRef, BytesRef, int) - Method in class org.apache.lucene.util.BytesRefComparator
-
Compare two bytes refs that first k bytes are already guaranteed to be equal.
- compareBottom(int) - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- compareBottom(int) - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- compareBottom(int) - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- compareBottom(int) - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
- compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
- compareBottom(int) - Method in interface org.apache.lucene.search.LeafFieldComparator
-
Compare the bottom of the queue with this doc.
- 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.
- compareMissingValueWithBottomValue() - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- compareMissingValueWithBottomValue() - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- compareMissingValueWithBottomValue() - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- compareMissingValueWithBottomValue() - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- compareMissingValueWithBottomValue() - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- compareMissingValueWithTopValue() - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- compareMissingValueWithTopValue() - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- compareMissingValueWithTopValue() - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- compareMissingValueWithTopValue() - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- compareMissingValueWithTopValue() - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
-
in ascending sort, missing value is competitive when it is less or equal(maybe there are two or more comparators) than bottom value.
- comparePivot(int) - Method in class org.apache.lucene.util.IntroSelector
-
Compare the pivot with the slot at
j
, similarly tocompare(i, j)
. - comparePivot(int) - Method in class org.apache.lucene.util.IntroSorter
- comparePivot(int) - Method in class org.apache.lucene.util.Sorter
-
Compare the pivot with the slot at
j
, similarly tocompare(i, j)
. - 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
- compareSaved(int, int) - Method in class org.apache.lucene.util.TimSorter
-
Compare element
i
from the temporary storage with elementj
from the slice to sort, similarly toSorter.compare(int, int)
. - compareTo(ConcurrentMergeScheduler.MergeThread) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
- 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(PhraseQuery.PostingsAndFreq) - Method in class org.apache.lucene.search.PhraseQuery.PostingsAndFreq
- 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(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
- compareTop(int) - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- compareTop(int) - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- compareTop(int) - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- compareTop(int) - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- compareTop(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
- compareTop(int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
- compareTop(int) - Method in interface org.apache.lucene.search.LeafFieldComparator
-
Compare the top value with this doc.
- compareUnsigned4(byte[], int, byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Compare exactly 4 unsigned bytes from the provided arrays.
- compareUnsigned8(byte[], int, byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Compare exactly 8 unsigned bytes from the provided arrays.
- compareValues(Float, Float) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
- compareValues(BytesRef, BytesRef) - Method in class org.apache.lucene.search.comparators.TermOrdValComparator
- compareValues(BytesRef, BytesRef) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
- compareValues(T, T) - Method in class org.apache.lucene.search.FieldComparator
-
Returns a negative integer if first is less than second, 0 if they are equal and a positive integer otherwise.
- CompetitiveImpactAccumulator - Class in org.apache.lucene.codecs
-
This class accumulates the (freq, norm) pairs that may produce competitive scores.
- CompetitiveImpactAccumulator() - Constructor for class org.apache.lucene.codecs.CompetitiveImpactAccumulator
-
Sole constructor.
- competitiveIterator() - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- competitiveIterator() - Method in interface org.apache.lucene.search.LeafCollector
-
Optionally returns an iterator over competitive documents.
- competitiveIterator() - Method in interface org.apache.lucene.search.LeafFieldComparator
-
Returns a competitive iterator
- compile() - Method in class org.apache.lucene.util.fst.FSTCompiler
-
Returns the metadata of the final FST.
- 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
-
Create this, passing simplify=true and finite=null, so that we try to simplify the automaton and determine if it is finite.
- CompiledAutomaton(Automaton, Boolean, boolean) - Constructor for class org.apache.lucene.util.automaton.CompiledAutomaton
-
Create this.
- CompiledAutomaton(Automaton, Boolean, boolean, int, boolean) - Constructor for class org.apache.lucene.util.automaton.CompiledAutomaton
-
Create this.
- 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(Automaton, int) - Static method in class org.apache.lucene.util.automaton.Operations
-
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 (
~
). - COMPLETE - org.apache.lucene.search.ScoreMode
-
Produced scorers will allow visiting all matches and get their score.
- COMPLETE_NO_SCORES - org.apache.lucene.search.ScoreMode
-
Produced scorers will allow visiting all matches but scores won't be available.
- COMPLETED - Static variable in interface org.apache.lucene.geo.Tessellator.Monitor
- Component2D - Interface in org.apache.lucene.geo
-
2D Geometry object that supports spatial relationships with bounding boxes, triangles and points.
- Component2D.WithinRelation - Enum in org.apache.lucene.geo
-
Used by withinTriangle to check the within relationship between a triangle and the query shape (e.g.
- CompositeReader - Class in org.apache.lucene.index
-
Instances of this reader type can only be used to get stored fields from the underlying LeafReaders, 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
-
IndexReaderContext
forCompositeReader
instance. - compound - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
True if segment is compound file format.
- CompoundDirectory - Class in org.apache.lucene.codecs
-
A read-only
Directory
that consists of a view over a compound file. - CompoundDirectory() - Constructor for class org.apache.lucene.codecs.CompoundDirectory
-
Sole constructor.
- compoundFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes compound files
- compoundFormat() - Method in class org.apache.lucene.codecs.FilterCodec
- compoundFormat() - Method in class org.apache.lucene.codecs.lucene99.Lucene99Codec
- CompoundFormat - Class in org.apache.lucene.codecs
-
Encodes/decodes compound files
- CompoundFormat() - Constructor for class org.apache.lucene.codecs.CompoundFormat
-
Sole constructor.
- compress - Variable in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- compress(byte[], int, byte[], DataOutput) - Static method in class org.apache.lucene.util.compress.LowercaseAsciiCompression
-
Compress
in[0:len]
intoout
. - compress(byte[], int, int, DataOutput, LZ4.HashTable) - Static method in class org.apache.lucene.util.compress.LZ4
-
Compress
bytes[off:off+len]
intoout
using at most 16kB of memory. - compress(ByteBuffersDataInput, DataOutput) - Method in class org.apache.lucene.codecs.compressing.Compressor
-
Compress bytes into
out
. - COMPRESSED_REFS_ENABLED - Static variable in class org.apache.lucene.util.RamUsageEstimator
-
True, iff compressed references (oops) are enabled by this JVM
- compressionAlgorithms - Variable in class org.apache.lucene.codecs.lucene90.blocktree.Stats
-
Number of times each compression method has been used.
- CompressionMode - Class in org.apache.lucene.codecs.compressing
-
A compression mode.
- CompressionMode() - Constructor for class org.apache.lucene.codecs.compressing.CompressionMode
-
Sole constructor.
- Compressor - Class in org.apache.lucene.codecs.compressing
-
A data compressor.
- Compressor() - Constructor for class org.apache.lucene.codecs.compressing.Compressor
-
Sole constructor, typically called from sub-classes.
- compressWithDictionary(byte[], int, int, int, DataOutput, LZ4.HashTable) - Static method in class org.apache.lucene.util.compress.LZ4
-
Compress
bytes[dictOff+dictLen:dictOff+dictLen+len]
intoout
using at most 16kB of memory. - computeBoundingBox() - Method in class org.apache.lucene.document.LatLonShapeDocValues
- computeBoundingBox() - Method in class org.apache.lucene.document.XYShapeDocValues
- computeCardinality(int, int, int[]) - Method in class org.apache.lucene.util.bkd.HeapPointWriter
-
Computes the cardinality of the points between
from
tpto
- computeCentroid() - Method in class org.apache.lucene.document.LatLonShapeDocValues
- computeCentroid() - Method in class org.apache.lucene.document.XYShapeDocValues
- computeNorm(FieldInvertState) - Method in class org.apache.lucene.search.similarities.BM25Similarity
- computeNorm(FieldInvertState) - Method in class org.apache.lucene.search.similarities.BooleanSimilarity
- computeNorm(FieldInvertState) - Method in class org.apache.lucene.search.similarities.MultiSimilarity
- computeNorm(FieldInvertState) - Method in class org.apache.lucene.search.similarities.PerFieldSimilarityWrapper
- computeNorm(FieldInvertState) - 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) - Method in class org.apache.lucene.search.similarities.SimilarityBase
-
Encodes the document length in the same way as
BM25Similarity
. - computeNorm(FieldInvertState) - Method in class org.apache.lucene.search.similarities.TFIDFSimilarity
- computeProbability(BasicStats) - Method in class org.apache.lucene.search.similarities.IndriDirichletSimilarity.IndriCollectionModel
- 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
- concatenate(List<Automaton>) - Static method in class org.apache.lucene.util.automaton.Operations
-
Returns an automaton that accepts the concatenation of the languages of the given automata.
- concatenate(Automaton, Automaton) - Static method in class org.apache.lucene.util.automaton.Operations
-
Returns an automaton that accepts the concatenation of the languages of the given automata.
- ConcurrentHnswMerger - Class in org.apache.lucene.util.hnsw
-
This merger merges graph in a concurrent manner, by using
HnswConcurrentMergeBuilder
- ConcurrentHnswMerger(FieldInfo, RandomVectorScorerSupplier, int, int, TaskExecutor, int) - Constructor for class org.apache.lucene.util.hnsw.ConcurrentHnswMerger
- ConcurrentMergeScheduler - Class in org.apache.lucene.index
-
A
MergeScheduler
that runs each merge using a separate thread. - ConcurrentMergeScheduler() - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sole constructor, with all settings set to default values.
- ConcurrentMergeScheduler.MergeThread - Class in org.apache.lucene.index
-
Runs a merge thread to execute a single merge, then exits.
- ConcurrentMergeSchedulerAccess - Interface in org.apache.lucene.internal.tests
-
Access to
ConcurrentMergeScheduler
internals exposed to the test framework. - config - Variable in class org.apache.lucene.util.bkd.BKDWriter
-
BKD tree configuration
- ConjunctionUtils - Class in org.apache.lucene.search
-
Helper methods for building conjunction iterators
- ConjunctionUtils() - Constructor for class org.apache.lucene.search.ConjunctionUtils
- constant(double) - Static method in class org.apache.lucene.search.DoubleValuesSource
-
Creates a DoubleValuesSource that always returns a constant value
- constant(long) - Static method in class org.apache.lucene.search.LongValuesSource
-
Creates a LongValuesSource that always returns a constant value
- CONSTANT_SCORE_BLENDED_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
A rewrite method where documents are assigned a constant score equal to the query's boost.
- CONSTANT_SCORE_BOOLEAN_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
Like
MultiTermQuery.SCORING_BOOLEAN_REWRITE
except scores are not computed. - CONSTANT_SCORE_BOOLEAN_REWRITE - Static variable in class org.apache.lucene.search.ScoringRewrite
-
Like
ScoringRewrite.SCORING_BOOLEAN_REWRITE
except scores are not computed. - CONSTANT_SCORE_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.
- ConstantBulkScorer(BulkScorer, Weight, float) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantBulkScorer
- Constants - Class in org.apache.lucene.util
-
Some useful constants.
- ConstantScoreQuery - Class in org.apache.lucene.search
-
A query that wraps another query and simply returns a constant score equal to 1 for every document that matches the query.
- ConstantScoreQuery(Query) - Constructor for class org.apache.lucene.search.ConstantScoreQuery
-
Strips off scores from the passed in Query.
- ConstantScoreQuery.ConstantBulkScorer - Class in org.apache.lucene.search
-
We return this as our
BulkScorer
so that if the CSQ wraps a query with its own optimized top-level scorer (e.g. - ConstantScoreScorer - Class in org.apache.lucene.search
-
A constant-scoring
Scorer
. - ConstantScoreScorer(Weight, float, ScoreMode, DocIdSetIterator) - Constructor for class org.apache.lucene.search.ConstantScoreScorer
-
Constructor based on a
DocIdSetIterator
which will be used to drive iteration. - ConstantScoreScorer(Weight, float, ScoreMode, TwoPhaseIterator) - Constructor for class org.apache.lucene.search.ConstantScoreScorer
-
Constructor based on a
TwoPhaseIterator
. - ConstantScoreWeight - Class in org.apache.lucene.search
-
A Weight that has a constant score equal to the boost of the wrapped query.
- ConstantScoreWeight(Query, float) - Constructor for class org.apache.lucene.search.ConstantScoreWeight
- consume(int[]) - Method in class org.apache.lucene.util.hnsw.HnswGraph.ArrayNodesIterator
- consume(int[]) - Method in class org.apache.lucene.util.hnsw.HnswGraph.CollectionNodesIterator
- consume(int[]) - Method in class org.apache.lucene.util.hnsw.HnswGraph.NodesIterator
-
Consume integers from the iterator and place them into the `dest` array.
- consumeTerms(Query, Term...) - Method in class org.apache.lucene.search.QueryVisitor
-
Called by leaf queries that match on specific terms
- consumeTermsMatching(Query, String, Supplier<ByteRunAutomaton>) - Method in class org.apache.lucene.search.QueryVisitor
-
Called by leaf queries that match on a class of terms
- contains(char) - Method in class org.apache.lucene.internal.hppc.CharHashSet
- contains(char[], int, int) - Method in class org.apache.lucene.analysis.CharArraySet
-
true if the
len
chars oftext
starting atoff
are in the set - contains(double, double) - Method in interface org.apache.lucene.geo.Component2D
-
relates this component2D with a point *
- contains(float) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
- contains(int) - Method in class org.apache.lucene.internal.hppc.IntArrayList
- contains(int) - Method in class org.apache.lucene.internal.hppc.IntHashSet
- contains(long) - Method in class org.apache.lucene.internal.hppc.LongArrayList
- contains(long) - Method in class org.apache.lucene.internal.hppc.LongHashSet
- contains(CharSequence) - Method in class org.apache.lucene.analysis.CharArraySet
-
true if the
CharSequence
is in the set - contains(Object) - Method in class org.apache.lucene.analysis.CharArrayMap.EntrySet
- contains(Object) - Method in class org.apache.lucene.analysis.CharArraySet
- contains(Object) - Method in class org.apache.lucene.search.Multiset
- CONTAINS - org.apache.lucene.document.RangeFieldQuery.QueryType
-
Use this for contains
- CONTAINS - org.apache.lucene.document.ShapeField.QueryRelation
-
used for CONTAINS Queries
- containsKey(char) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
- containsKey(char[], int, int) - Method in class org.apache.lucene.analysis.CharArrayMap
- containsKey(int) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
- containsKey(int) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
- containsKey(int) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
- containsKey(int) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
- containsKey(long) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
- containsKey(long) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
- containsKey(long) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
- containsKey(CharSequence) - Method in class org.apache.lucene.analysis.CharArrayMap
-
true if the
CharSequence
is in theCharArrayMap.keySet()
- containsKey(Object) - Method in class org.apache.lucene.analysis.CharArrayMap
- containsKey(Object) - Method in class org.apache.lucene.util.WeakIdentityMap
-
Returns
true
if this map contains a mapping for the specified key. - containsLine(double, double, double, double) - Method in interface org.apache.lucene.geo.Component2D
-
return true if this component2D contains the provided line *
- containsLine(double, double, double, double, double, double, double, double) - Method in interface org.apache.lucene.geo.Component2D
-
return true if this component2D contains the provided line *
- containsPoint(double, double) - Method in class org.apache.lucene.geo.Tessellator.Triangle
-
utility method to compute whether the point is in the triangle
- containsPoint(double, double, double, double, double, double) - Static method in interface org.apache.lucene.geo.Component2D
-
returns true if rectangle (defined by minX, maxX, minY, maxY) contains the X Y point
- containsPoint(double, double, double, double, double, double) - Static method in class org.apache.lucene.geo.Rectangle
-
returns true if rectangle (defined by minLat, maxLat, minLon, maxLon) contains the lat lon point
- containsTriangle(double, double, double, double, double, double) - Method in interface org.apache.lucene.geo.Component2D
-
return true if this component2D contains the provided triangle *
- containsTriangle(double, double, double, double, double, double, double, double, double, double) - Method in interface org.apache.lucene.geo.Component2D
-
return true if this component2D contains the provided triangle *
- context - Variable in class org.apache.lucene.index.SegmentReadState
-
IOContext
to pass toDirectory.openInput(String,IOContext)
. - context - Variable in class org.apache.lucene.index.SegmentWriteState
-
IOContext
for all writes; you should pass this toDirectory.createOutput(String,IOContext)
. - context - Variable in class org.apache.lucene.store.IOContext
-
An object of a enumerator Context type
- context - Variable in class org.apache.lucene.util.fst.Util.FSTPath
- ControlledRealTimeReopenThread<T> - Class in org.apache.lucene.search
-
Utility class that runs a thread to manage periodicc reopens of a
ReferenceManager
, with methods to wait for a specific index changes to become visible. - ControlledRealTimeReopenThread(IndexWriter, ReferenceManager<T>, double, double) - Constructor for class org.apache.lucene.search.ControlledRealTimeReopenThread
-
Create ControlledRealTimeReopenThread, to periodically reopen the
ReferenceManager
. - convert(Automaton) - Method in class org.apache.lucene.util.automaton.UTF32ToUTF8
-
Converts an incoming utf32 automaton to an equivalent utf8 one.
- copy() - Method in class org.apache.lucene.codecs.hnsw.ScalarQuantizedVectorScorer.ScalarQuantizedRandomVectorScorerSupplier
- copy() - Method in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues.DenseOffHeapVectorValues
- copy() - Method in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues.DenseOffHeapVectorValues
- copy() - Method in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues
- copy() - Method in interface org.apache.lucene.util.hnsw.RandomAccessVectorValues.Bytes
- copy() - Method in interface org.apache.lucene.util.hnsw.RandomAccessVectorValues
-
Creates a new copy of this
RandomAccessVectorValues
. - copy() - Method in interface org.apache.lucene.util.hnsw.RandomAccessVectorValues.Floats
- copy() - Method in interface org.apache.lucene.util.hnsw.RandomVectorScorerSupplier
-
Make a copy of the supplier, which will copy the underlying vectorValues so the copy is safe to be used in other threads.
- copy() - Method in interface org.apache.lucene.util.quantization.RandomAccessQuantizedByteVectorValues
- copy(int, int) - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- copy(int, int) - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- copy(int, int) - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- copy(int, int) - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- copy(int, int) - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
- copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.TermValComparator
- copy(int, int) - Method in interface org.apache.lucene.search.LeafFieldComparator
-
This method is called when a new hit is competitive.
- copy(int, int) - Method in class org.apache.lucene.util.TimSorter
-
Copy data from slot
src
to slotdest
. - copy(Map<?, ? extends V>) - Static method in class org.apache.lucene.analysis.CharArrayMap
-
Returns a copy of the given map as a
CharArrayMap
. - copy(Set<?>) - Static method in class org.apache.lucene.analysis.CharArraySet
-
Returns a copy of the given set as a
CharArraySet
. - copy(CompetitiveImpactAccumulator) - Method in class org.apache.lucene.codecs.CompetitiveImpactAccumulator
-
Replace the content of this
acc
with the providedacc
. - copy(IndexInput, long) - Method in class org.apache.lucene.util.PagedBytes
-
Read this many bytes from in
- copy(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Copies over all states/transitions from other.
- copy(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton
-
Copies over all states/transitions from other.
- copy(BytesRef, BytesRef) - Method in class org.apache.lucene.util.PagedBytes
-
Copy BytesRef in, setting BytesRef out to the result.
- 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]
intodest[destPos:destPos+len]
using at mostmem
bytes. - copyArray(byte[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(char[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(double[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(float[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(int[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(long[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(short[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- copyArray(T[]) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies an array into a new array.
- 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(byte[], int, int) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Replace the content of this builder with the provided bytes.
- copyBytes(DataInput, long) - Method in class org.apache.lucene.store.ByteBuffersDataOutput
- copyBytes(DataInput, long) - Method in class org.apache.lucene.store.ByteBuffersIndexOutput
- 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.BytesRefBuilder
-
Replace the content of this builder with the provided bytes.
- copyBytes(BytesRefBuilder) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Replace the content of this builder with the provided bytes.
- copyChars(char[], int, int) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Replace the content of this buffer with UTF-8 encoded bytes that would represent the provided text.
- copyChars(char[], int, int) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Copies the given array into this instance.
- copyChars(CharSequence) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Replace the content of this buffer with UTF-8 encoded bytes that would represent the provided text.
- copyChars(CharSequence, int, int) - Method in class org.apache.lucene.util.BytesRefBuilder
-
Replace the content of this buffer with UTF-8 encoded bytes that would represent the provided text.
- copyChars(CharsRef) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Copies the given
CharsRef
referenced content into this instance. - copyFrom(TermState) - Method in class org.apache.lucene.codecs.BlockTermState
- copyFrom(TermState) - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsFormat.IntBlockTermState
- 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(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.Directory
-
Copies an existing
src
file from directoryfrom
to a non-existent filedest
in this directory. - copyFrom(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.LockValidatingDirectoryWrapper
- copyFrom(Directory, String, String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
- copyFrom(FST.Arc<T>) - Method in class org.apache.lucene.util.fst.FST.Arc
-
Returns this
- copyInts(int[], int, int) - Method in class org.apache.lucene.util.IntsRefBuilder
-
Copies the given array into this instance.
- copyInts(IntsRef) - Method in class org.apache.lucene.util.IntsRefBuilder
-
Copies the given array into this instance.
- copyOf(Bits) - Static method in class org.apache.lucene.util.FixedBitSet
-
Make a copy of the given bits.
- copyOfSubArray(byte[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(char[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(double[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(float[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(int[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(long[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(short[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyOfSubArray(T[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
-
Copies the specified range of the given array into a new sub array.
- copyStates(Automaton) - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Copies over all states from other.
- copyTo(DataOutput) - Method in class org.apache.lucene.store.ByteBuffersDataOutput
-
Copy the current content of this object into another
DataOutput
. - copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.BytesTermAttributeImpl
- 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.PackedTokenAttributeImpl
- 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.SentenceAttributeImpl
- copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.TermFrequencyAttributeImpl
- 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.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 targetAttributeSource
. - copyUsingLengthPrefix(BytesRef) - Method in class org.apache.lucene.util.PagedBytes
-
Copy bytes in, writing the length as a 1 or 2 byte vInt prefix.
- copyUTF8Bytes(byte[], int, int) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Copy the provided bytes, interpreted as UTF-8 bytes.
- copyUTF8Bytes(BytesRef) - Method in class org.apache.lucene.util.CharsRefBuilder
-
Copy the provided bytes, interpreted as UTF-8 bytes.
- copyUTF8Bytes(BytesRef) - Method in class org.apache.lucene.util.IntsRefBuilder
-
Copy the given UTF-8 bytes into this builder.
- copyValue(T) - Method in class org.apache.lucene.codecs.KnnFieldVectorsWriter
-
Used to copy values being indexed to internal storage.
- 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, String) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with a message only
- CorruptIndexException(String, String, Throwable) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with message and root cause.
- CorruptIndexException(String, DataInput) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with a message only
- CorruptIndexException(String, DataInput, Throwable) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with message and root cause.
- CorruptIndexException(String, DataOutput) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with a message only
- CorruptIndexException(String, DataOutput, Throwable) - Constructor for exception org.apache.lucene.index.CorruptIndexException
-
Create exception with message and root cause.
- cos(double) - Static method in class org.apache.lucene.util.SloppyMath
-
Returns the trigonometric cosine of an angle.
- cosine(byte[], byte[]) - Method in interface org.apache.lucene.internal.vectorization.VectorUtilSupport
-
Returns the cosine similarity between the two byte vectors.
- cosine(byte[], byte[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Returns the cosine similarity between the two vectors.
- cosine(float[], float[]) - Method in interface org.apache.lucene.internal.vectorization.VectorUtilSupport
-
Returns the cosine similarity between the two vectors.
- cosine(float[], float[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Returns the cosine similarity between the two vectors.
- COSINE - org.apache.lucene.index.VectorSimilarityFunction
-
Cosine similarity.
- cost - Variable in class org.apache.lucene.search.DisiWrapper
- cost() - Method in class org.apache.lucene.codecs.lucene90.IndexedDISI
- cost() - Method in class org.apache.lucene.document.BinaryRangeDocValues
- cost() - Method in class org.apache.lucene.index.ByteVectorValues
- cost() - Method in class org.apache.lucene.index.FilterBinaryDocValues
- cost() - Method in class org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum
- cost() - Method in class org.apache.lucene.index.FilterNumericDocValues
- cost() - Method in class org.apache.lucene.index.FilterSortedDocValues
- cost() - Method in class org.apache.lucene.index.FilterSortedNumericDocValues
- cost() - Method in class org.apache.lucene.index.FilterSortedSetDocValues
- cost() - Method in class org.apache.lucene.index.FloatVectorValues
- cost() - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
- cost() - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
- cost() - Method in class org.apache.lucene.index.MultiPostingsEnum
- cost() - Method in class org.apache.lucene.index.SlowImpactsEnum
- cost() - Method in class org.apache.lucene.search.BulkScorer
-
Same as
DocIdSetIterator.cost()
for bulk scorers. - cost() - Method in class org.apache.lucene.search.comparators.MinDocIterator
- cost() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantBulkScorer
- cost() - Method in class org.apache.lucene.search.DisjunctionDISIApproximation
- cost() - Method in class org.apache.lucene.search.DocIdSetIterator
-
Returns the estimated cost of this
DocIdSetIterator
. - cost() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
- cost() - Method in class org.apache.lucene.search.ImpactsDISI
- cost() - Method in class org.apache.lucene.search.MultiPhraseQuery.UnionPostingsEnum
- cost() - Method in class org.apache.lucene.search.ScorerSupplier
-
Get an estimate of the
Scorer
that would be returned byScorerSupplier.get(long)
. - cost() - Method in class org.apache.lucene.search.Weight.DefaultBulkScorer
- cost() - Method in class org.apache.lucene.util.BitSetIterator
- cost() - Method in class org.apache.lucene.util.DocBaseBitSetIterator
- cost() - Method in class org.apache.lucene.util.quantization.QuantizedByteVectorValues
- count - Variable in class org.apache.lucene.util.bkd.BKDRadixSelector.PathSlice
- count - Variable in class org.apache.lucene.util.SentinelIntSet
- count() - Method in class org.apache.lucene.search.DocIdStream
-
Count the number of entries in this stream.
- count() - Method in class org.apache.lucene.search.LRUQueryCache.CacheAndCount
- count() - Method in class org.apache.lucene.util.bkd.HeapPointWriter
- count() - Method in class org.apache.lucene.util.bkd.OfflinePointWriter
- count() - Method in interface org.apache.lucene.util.bkd.PointWriter
-
Return the number of points in this writer
- count(LeafReaderContext) - Method in class org.apache.lucene.search.Weight
-
Counts the number of live documents that match a given
Weight.parentQuery
in a leaf. - count(Query) - Method in class org.apache.lucene.search.IndexSearcher
-
Count how many documents match the given query.
- 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
- create() - Method in class org.apache.lucene.analysis.TokenizerFactory
-
Creates a TokenStream of the specified input using the default attribute factory.
- create(boolean, double) - Static method in class org.apache.lucene.search.CachingCollector
-
Creates a
CachingCollector
which does not wrap another collector. - create(int, int) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopScoreDocCollectorManager
due to its support for concurrency in IndexSearcher - create(int, ScoreDoc, int) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopScoreDocCollectorManager
due to its support for concurrency in IndexSearcher - create(Reader) - Method in class org.apache.lucene.analysis.CharFilterFactory
-
Wraps the given Reader with a CharFilter.
- create(TokenStream) - Method in class org.apache.lucene.analysis.TokenFilterFactory
-
Transform the specified input TokenStream
- create(LatLonGeometry...) - Static method in class org.apache.lucene.geo.LatLonGeometry
-
Creates a Component2D from the provided LatLonGeometry array
- create(XYGeometry...) - Static method in class org.apache.lucene.geo.XYGeometry
-
Creates a Component2D from the provided XYGeometries array
- 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, int) - Static method in class org.apache.lucene.search.TopFieldCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopFieldCollectorManager
due to its support for concurrency in IndexSearcher - create(Sort, int, FieldDoc, int) - Static method in class org.apache.lucene.search.TopFieldCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopFieldCollectorManager
due to its support for concurrency in IndexSearcher - create(AttributeFactory) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerFactory
- create(AttributeFactory) - Method in class org.apache.lucene.analysis.TokenizerFactory
-
Creates a TokenStream of the specified input using the given AttributeFactory
- create(RandomVectorScorerSupplier, int, int, long) - Static method in class org.apache.lucene.util.hnsw.HnswGraphBuilder
- create(RandomVectorScorerSupplier, int, int, long, int) - Static method in class org.apache.lucene.util.hnsw.HnswGraphBuilder
- CREATE - org.apache.lucene.index.IndexWriterConfig.OpenMode
-
Creates a new index or overwrites an existing one.
- CREATE_OR_APPEND - org.apache.lucene.index.IndexWriterConfig.OpenMode
-
Creates a new index if one does not exist, otherwise it opens the index and documents will be appended.
- createAttributeInstance(Class<? extends Attribute>) - Method in class org.apache.lucene.util.AttributeFactory
-
Returns an
AttributeImpl
for the suppliedAttribute
interface class. - createAttributeInstance(Class<? extends Attribute>) - Method in class org.apache.lucene.util.AttributeFactory.StaticImplementationAttributeFactory
- createBlockSlice(IndexInput, String, long, long, int) - Static method in class org.apache.lucene.codecs.lucene90.IndexedDISI
-
Helper method for using
IndexedDISI(IndexInput, RandomAccessInput, int, byte, long)
. - createBooleanQuery(String, String) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a boolean query from the query text.
- createBooleanQuery(String, String, BooleanClause.Occur) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a boolean query from the query text.
- createBuilder(DocIdSetIterator, int) - Method in class org.apache.lucene.util.hnsw.ConcurrentHnswMerger
- createBuilder(DocIdSetIterator, int) - Method in class org.apache.lucene.util.hnsw.IncrementalHnswGraphMerger
-
Builds a new HnswGraphBuilder using the biggest graph from the merge state as a starting point.
- createComponentPredicate(Component2D) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Create a predicate that checks whether points are within a geometry.
- createComponents(String) - Method in class org.apache.lucene.analysis.Analyzer
-
Creates a new
Analyzer.TokenStreamComponents
instance for this analyzer. - createComponents(String) - Method in class org.apache.lucene.analysis.AnalyzerWrapper
- createComponents(String) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
- createConjunction(List<DocIdSetIterator>, List<TwoPhaseIterator>) - Static method in class org.apache.lucene.search.ConjunctionUtils
-
Create a conjunction over the provided set of DocIdSetIterators and TwoPhaseIterators, using two-phase iterator where possible.
- createDistancePredicate(double, double, double) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Create a predicate that checks whether points are within a distance of a given point.
- createDocValueField(String, double, double) - Static method in class org.apache.lucene.document.LatLonShape
-
create doc value field for lat lon line geometry without creating indexable fields.
- createDocValueField(String, float, float) - Static method in class org.apache.lucene.document.XYShape
-
create a
XYShapeDocValuesField
for cartesian points without creating indexable fields. - createDocValueField(String, List<ShapeField.DecodedTriangle>) - Static method in class org.apache.lucene.document.LatLonShape
-
create a
LatLonShapeDocValuesField
from an existing tessellation - createDocValueField(String, List<ShapeField.DecodedTriangle>) - Static method in class org.apache.lucene.document.XYShape
-
create a
XYShapeDocValuesField
from a precomputed tessellation - createDocValueField(String, Field[]) - Static method in class org.apache.lucene.document.LatLonShape
-
create a shape docvalue field from indexable fields
- createDocValueField(String, Line) - Static method in class org.apache.lucene.document.LatLonShape
-
create doc value field for lat lon line geometry without creating indexable fields.
- createDocValueField(String, Polygon) - Static method in class org.apache.lucene.document.LatLonShape
-
create doc value field for lat lon polygon geometry without creating indexable fields
- createDocValueField(String, Polygon, boolean) - Static method in class org.apache.lucene.document.LatLonShape
-
create doc value field for lat lon polygon geometry without creating indexable fields.
- createDocValueField(String, XYLine) - Static method in class org.apache.lucene.document.XYShape
-
create doc value field for x, y line geometry without creating indexable fields.
- createDocValueField(String, XYPolygon) - Static method in class org.apache.lucene.document.XYShape
-
create doc value field for X,Y polygon geometry without creating indexable fields
- createDocValueField(String, XYPolygon, boolean) - Static method in class org.apache.lucene.document.XYShape
-
create doc value field for lat lon polygon geometry without creating indexable fields.
- createDocValueField(String, BytesRef) - Static method in class org.apache.lucene.document.LatLonShape
-
create a
LatLonShapeDocValuesField
from an existing encoded representation - createDocValueField(String, BytesRef) - Static method in class org.apache.lucene.document.XYShape
-
create a
XYShapeDocValuesField
from an existing encoded representation - createdVersionMajor - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
Compatibility version to use for this index.
- createFieldQuery(Analyzer, BooleanClause.Occur, String, String, boolean, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a query from the analysis chain.
- createFieldQuery(TokenStream, BooleanClause.Occur, String, boolean, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a query from a token stream.
- createFieldType(int, VectorSimilarityFunction) - Static method in class org.apache.lucene.document.KnnByteVectorField
-
A convenience method for creating a vector field type.
- createFieldType(int, VectorSimilarityFunction) - Static method in class org.apache.lucene.document.KnnFloatVectorField
-
A convenience method for creating a vector field type.
- createIndexableFields(String, double, double) - Static method in class org.apache.lucene.document.LatLonShape
-
create indexable fields for point geometry
- createIndexableFields(String, float, float) - Static method in class org.apache.lucene.document.XYShape
-
create indexable fields for cartesian point geometry
- createIndexableFields(String, Line) - Static method in class org.apache.lucene.document.LatLonShape
-
create indexable fields for line geometry
- createIndexableFields(String, Polygon) - Static method in class org.apache.lucene.document.LatLonShape
-
create indexable fields for polygon geometry.
- createIndexableFields(String, Polygon, boolean) - Static method in class org.apache.lucene.document.LatLonShape
-
create indexable fields for polygon geometry.
- createIndexableFields(String, XYLine) - Static method in class org.apache.lucene.document.XYShape
-
create indexable fields for cartesian line geometry
- createIndexableFields(String, XYPolygon) - Static method in class org.apache.lucene.document.XYShape
-
create indexable fields for cartesian polygon geometry
- createIndexableFields(String, XYPolygon, boolean) - Static method in class org.apache.lucene.document.XYShape
-
create indexable fields for cartesian polygon geometry.
- createInstance() - Method in class org.apache.lucene.util.AttributeFactory.StaticImplementationAttributeFactory
-
Creates an instance of
A
. - createJumpTable(IndexInput, long, long, int) - Static method in class org.apache.lucene.codecs.lucene90.IndexedDISI
-
Helper method for using
IndexedDISI(IndexInput, RandomAccessInput, int, byte, long)
. - createLatLonShapeDocValues(BytesRef) - Static method in class org.apache.lucene.document.LatLonShape
-
Factory method for creating the
LatLonShapeDocValues
- createMinShouldMatchQuery(String, String, float) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a minimum-should-match query from the query text.
- createOutput(String, IOContext) - Method in class org.apache.lucene.codecs.CompoundDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.ByteBuffersDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.Directory
-
Creates a new, empty file in the directory and returns an
IndexOutput
instance for appending data to this file. - createOutput(String, IOContext) - Method in class org.apache.lucene.store.FileSwitchDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.FilterDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.FSDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.LockValidatingDirectoryWrapper
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.NRTCachingDirectory
- createOutput(String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
- createPhraseQuery(String, String) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a phrase query from the query text.
- createPhraseQuery(String, String, int) - Method in class org.apache.lucene.util.QueryBuilder
-
Creates a phrase query from the query text.
- createSharedManager(int, ScoreDoc, int) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopScoreDocCollectorManager
due to its support for concurrency in IndexSearcher - createSharedManager(Sort, int, FieldDoc, int) - Static method in class org.apache.lucene.search.TopFieldCollector
-
Deprecated.This method is deprecated in favor of the constructor of
TopFieldCollectorManager
due to its support for concurrency in IndexSearcher - createState() - Method in class org.apache.lucene.util.automaton.Automaton.Builder
-
Create a new state.
- createState() - Method in class org.apache.lucene.util.automaton.Automaton
-
Create a new state.
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.codecs.CompoundDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.ByteBuffersDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.Directory
-
Creates a new, empty, temporary file in the directory and returns an
IndexOutput
instance for appending data to this file. - createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.FileSwitchDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.FilterDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.FSDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.NRTCachingDirectory
- createTempOutput(String, String, IOContext) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.document.RangeFieldQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.document.XYDocValuesPointInGeometryQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.BooleanQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.BoostQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.ConstantScoreQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Create the Weight used to score us
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.FieldExistsQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.IndexOrDocValuesQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.IndexSortSortedNumericDocValuesRangeQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.IndriAndQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.IndriQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.MatchAllDocsQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.MatchNoDocsQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.MultiPhraseQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.PhraseQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.PointInSetQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.PointRangeQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.Query
-
Expert: Constructs an appropriate Weight implementation for this query.
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.SynonymQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.TermQuery
- createWeight(Query, ScoreMode, float) - Method in class org.apache.lucene.search.IndexSearcher
-
Creates a
Weight
for the given query, potentially adding caching if possible and configured. - createXYShapeDocValues(BytesRef) - Static method in class org.apache.lucene.document.XYShape
-
Factory method for creating the
XYShapeDocValues
- CROSSES - org.apache.lucene.document.RangeFieldQuery.QueryType
-
Use this for crosses queries
- crossesDateline() - Method in class org.apache.lucene.geo.Rectangle
-
Returns true if this bounding box crosses the dateline
- curBuf - Variable in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- curBufIndex - Variable in class org.apache.lucene.store.ByteBufferIndexInput
-
Deprecated.
- 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
- currentState(String, List<Point>, List<Tessellator.Triangle>) - Method in interface org.apache.lucene.geo.Tessellator.Monitor
-
Each loop of the main earclip algorithm will call this with the current state
- currentValue() - Method in class org.apache.lucene.analysis.CharArrayMap.EntryIterator
-
returns the value associated with the last key returned
- CUSTOM - org.apache.lucene.search.SortField.Type
-
Sort using a custom Comparator.
- CW - org.apache.lucene.geo.GeoUtils.WindingOrder
- cX - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
x coordinate, vertex three
- cY - Variable in class org.apache.lucene.document.ShapeField.DecodedTriangle
-
y coordinate, vertex three
D
- DaciukMihovAutomatonBuilder - Class in org.apache.lucene.util.automaton
-
Deprecated.Visibility of this class will be reduced in a future release. Users can access this functionality directly through
Automata.makeStringUnion(Iterable)
- DATA_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene90.Lucene90PointsFormat
-
Filename extension for the leaf blocks
- 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
- dataOut - Variable in class org.apache.lucene.codecs.lucene90.Lucene90PointsWriter
-
Outputs used to write the BKD tree data files.
- dataOutput(DataOutput) - Method in class org.apache.lucene.util.fst.FSTCompiler.Builder
-
Set the
DataOutput
which is used for low-level writing of FST. - 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.
- DAY - org.apache.lucene.document.DateTools.Resolution
-
Limit a date's resolution to day granularity.
- decode(byte[]) - Static method in class org.apache.lucene.document.InetAddressPoint
-
Decodes InetAddress value from binary encoding
- decode(byte[], int) - Static method in class org.apache.lucene.geo.XYEncodingUtils
-
Turns quantized value from byte array back into a double.
- decode(byte[], int, int[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read
8 * iterations * blockCount()
blocks fromblocks
, decode them and writeiterations * valueCount()
values intovalues
. - decode(byte[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read
8 * iterations * blockCount()
blocks fromblocks
, decode them and writeiterations * valueCount()
values intovalues
. - decode(int) - Static method in class org.apache.lucene.geo.XYEncodingUtils
-
Turns quantized value from
XYEncodingUtils.encode(float)
back into a double. - decode(long[], int, int[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read
iterations * blockCount()
blocks fromblocks
, decode them and writeiterations * valueCount()
values intovalues
. - decode(long[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Decoder
-
Read
iterations * blockCount()
blocks fromblocks
, decode them and writeiterations * valueCount()
values intovalues
. - decodeDimension(byte[], int) - Static method in class org.apache.lucene.document.DoublePoint
-
Decode single double dimension
- decodeDimension(byte[], int) - Static method in class org.apache.lucene.document.FloatPoint
-
Decode single float dimension
- decodeDimension(byte[], int) - Static method in class org.apache.lucene.document.IntPoint
-
Decode single integer dimension
- decodeDimension(byte[], int) - Static method in class org.apache.lucene.document.LongPoint
-
Decode single long dimension
- DecodedTriangle() - Constructor for class org.apache.lucene.document.ShapeField.DecodedTriangle
-
default xtor
- decodeLatitude(byte[], int) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Turns quantized value from byte array back into a double.
- decodeLatitude(int) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Turns quantized value from
GeoEncodingUtils.encodeLatitude(double)
back into a double. - decodeLongitude(byte[], int) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Turns quantized value from byte array back into a double.
- decodeLongitude(int) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Turns quantized value from
GeoEncodingUtils.encodeLongitude(double)
back into a double. - decodeTerm(DataInput, FieldInfo, BlockTermState, boolean) - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsReader
- decodeTerm(DataInput, FieldInfo, BlockTermState, boolean) - Method in class org.apache.lucene.codecs.PostingsReaderBase
-
Actually decode metadata for next term
- decodeTriangle(byte[], ShapeField.DecodedTriangle) - Static method in class org.apache.lucene.document.ShapeField
-
Decode a triangle encoded by
ShapeField.encodeTriangle(byte[], int, int, boolean, int, int, boolean, int, int, boolean)
. - decodeX(int) - Method in class org.apache.lucene.document.LatLonShapeDocValuesField
- decodeX(int) - Method in class org.apache.lucene.document.ShapeDocValuesField
-
decodes x coordinates from encoded space
- decodeX(int) - Method in class org.apache.lucene.document.XYShapeDocValuesField
- decodeY(int) - Method in class org.apache.lucene.document.LatLonShapeDocValuesField
- decodeY(int) - Method in class org.apache.lucene.document.ShapeDocValuesField
-
decodes y coordinates from encoded space
- decodeY(int) - Method in class org.apache.lucene.document.XYShapeDocValuesField
- decompress(DataInput, byte[], int) - Static method in class org.apache.lucene.util.compress.LowercaseAsciiCompression
-
Decompress data that has been compressed with
LowercaseAsciiCompression.compress(byte[], int, byte[], DataOutput)
. - decompress(DataInput, int, byte[], int) - Static method in class org.apache.lucene.util.compress.LZ4
-
Decompress at least
decompressedLen
bytes intodest[dOff:]
. - decompress(DataInput, int, int, int, BytesRef) - Method in class org.apache.lucene.codecs.compressing.Decompressor
-
Decompress bytes that were stored between offsets
offset
andoffset+length
in the original stream from the compressed streamin
tobytes
. - Decompressor - Class in org.apache.lucene.codecs.compressing
-
A decompressor.
- Decompressor() - Constructor for class org.apache.lucene.codecs.compressing.Decompressor
-
Sole constructor, typically called from sub-classes.
- decRef() - Method in class org.apache.lucene.index.IndexReader
-
Expert: decreases the refCount of this IndexReader instance.
- decRef() - Method in class org.apache.lucene.util.FileDeleter.RefCount
- decRef() - Method in class org.apache.lucene.util.RefCount
-
Decrements the reference counting of this object.
- decRef(G) - Method in class org.apache.lucene.search.ReferenceManager
-
Decrement reference counting on the given reference.
- decRef(Collection<String>) - Method in class org.apache.lucene.util.FileDeleter
-
Decrease ref counts for all provided files, delete them if ref counts down to 0, even on exception.
- decRef(DirectoryReader) - Method in class org.apache.lucene.index.ReaderManager
- decRef(IndexSearcher) - Method in class org.apache.lucene.search.SearcherManager
- decRefDeleter(SegmentInfos) - Method in class org.apache.lucene.index.IndexWriter
-
Record that the files referenced by this
SegmentInfos
are no longer in use. - 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 LongsRef that points to a copy of the longs from
other
- DEFAULT - org.apache.lucene.store.IOContext.Context
- DEFAULT - Static variable in class org.apache.lucene.store.IOContext
- DEFAULT - Static variable in class org.apache.lucene.util.packed.PackedInts
-
At most 25% memory overhead.
- DEFAULT_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.util.AttributeFactory
-
This is the default factory that creates
AttributeImpl
s using the class name of the suppliedAttribute
interface class by appendingImpl
to it. - DEFAULT_BEAM_WIDTH - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat
-
Default number of the size of the queue maintained while searching during a graph construction.
- DEFAULT_BEAM_WIDTH - Static variable in class org.apache.lucene.util.hnsw.HnswGraphBuilder
-
Default number of the size of the queue maintained while searching during a graph construction.
- DEFAULT_BOOST - Static variable in interface org.apache.lucene.search.BoostAttribute
- 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_BUFFERED_BLOCKS - Static variable in class org.apache.lucene.util.RecyclingIntBlockAllocator
- DEFAULT_BUFFERSIZE - Static variable in class org.apache.lucene.store.BufferedChecksum
-
Default buffer size: 1024
- DEFAULT_CAPACITY - Static variable in class org.apache.lucene.util.BytesRefHash
- DEFAULT_COMMIT_ON_CLOSE - Static variable in class org.apache.lucene.index.IndexWriterConfig
-
Default value for whether calls to
IndexWriter.close()
include a commit. - DEFAULT_COMPARATOR - Static variable in class org.apache.lucene.util.OfflineSorter
-
Default comparator: sorts in binary (codepoint) order
- DEFAULT_CPU_CORE_COUNT_PROPERTY - Static variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Used for testing.
- DEFAULT_DENSE_RANK_POWER - Static variable in class org.apache.lucene.codecs.lucene90.IndexedDISI
- DEFAULT_DETERMINIZE_WORK_LIMIT - Static variable in class org.apache.lucene.util.automaton.Operations
-
Default maximum effort that
Operations.determinize(org.apache.lucene.util.automaton.Automaton, int)
should spend before giving up and throwingTooComplexToDeterminizeException
. - DEFAULT_MAX_BITS_PER_BLOCK - Static variable in class org.apache.lucene.store.ByteBuffersDataOutput
-
Default
maxBitsPerBlock
- DEFAULT_MAX_BLOCK_SIZE - Static variable in class org.apache.lucene.codecs.lucene90.blocktree.Lucene90BlockTreeTermsWriter
-
Suggested default value for the
maxItemsInBlock
parameter toLucene90BlockTreeTermsWriter(SegmentWriteState,PostingsWriterBase,int,int)
. - 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.MergePolicy
-
Default max segment size in order to use compound file system.
- DEFAULT_MAX_CHUNK_SIZE - Static variable in class org.apache.lucene.store.MMapDirectory
-
Default max chunk size: 16 GiBytes for 64 bit Java 19 / 20 / 21 JVMs 1 GiBytes for other 64 bit JVMs 256 MiBytes for 32 bit JVMs
- DEFAULT_MAX_CONN - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat
-
Default number of maximum connections per node
- DEFAULT_MAX_CONN - Static variable in class org.apache.lucene.util.hnsw.HnswGraphBuilder
-
Default number of maximum connections per node
- DEFAULT_MAX_DIMENSIONS - Static variable in class org.apache.lucene.codecs.KnnVectorsFormat
-
The maximum number of vector dimensions
- DEFAULT_MAX_FULL_FLUSH_MERGE_WAIT_MILLIS - Static variable in class org.apache.lucene.index.IndexWriterConfig
-
Default value for time to wait for merges on commit or getReader (when using a
MergePolicy
that implementsMergePolicy.findFullFlushMerges(org.apache.lucene.index.MergeTrigger, org.apache.lucene.index.SegmentInfos, org.apache.lucene.index.MergePolicy.MergeContext)
). - DEFAULT_MAX_MB_SORT_IN_HEAP - Static variable in class org.apache.lucene.util.bkd.BKDWriter
-
Default maximum heap to use, before spilling to (slower) disk
- 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_POINTS_IN_LEAF_NODE - Static variable in class org.apache.lucene.util.bkd.BKDConfig
-
Default maximum number of point in each leaf block
- DEFAULT_MAX_TOKEN_LENGTH - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Default maximum allowed token length
- 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_BITS_PER_BLOCK - Static variable in class org.apache.lucene.store.ByteBuffersDataOutput
-
Default
minBitsPerBlock
- DEFAULT_MIN_BLOCK_SIZE - Static variable in class org.apache.lucene.codecs.lucene90.blocktree.Lucene90BlockTreeTermsWriter
-
Suggested default value for the
minItemsInBlock
parameter toLucene90BlockTreeTermsWriter(SegmentWriteState,PostingsWriterBase,int,int)
. - 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_NO_CFS_RATIO - Static variable in class org.apache.lucene.index.MergePolicy
-
Default ratio for compound file system usage.
- DEFAULT_NO_CFS_RATIO - Static variable in class org.apache.lucene.index.TieredMergePolicy
-
Default noCFSRatio.
- DEFAULT_NUM_MERGE_WORKER - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat
-
Default to use single thread merge
- DEFAULT_PAGE_SIZE - Static variable in class org.apache.lucene.util.packed.PackedLongValues
- DEFAULT_POLL_INTERVAL - Static variable in class org.apache.lucene.store.SleepingLockWrapper
-
How long
SleepingLockWrapper.obtainLock(java.lang.String)
waits, in milliseconds, in between attempts to acquire the lock. - DEFAULT_PROVIDER - Static variable in class org.apache.lucene.search.RegexpQuery
-
A provider that provides no named automata
- 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_READER_POOLING - Static variable in class org.apache.lucene.index.IndexWriterConfig
-
Default setting (true) for
IndexWriterConfig.setReaderPooling(boolean)
. - DEFAULT_RESOLUTION - Static variable in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Deprecated.
- DEFAULT_TOKEN_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.analysis.TokenStream
-
Default
AttributeFactory
instance that should be used for TokenStreams. - DEFAULT_TYPE - Static variable in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
the default type
- DEFAULT_USE_COMPOUND_FILE_SYSTEM - Static variable in class org.apache.lucene.index.IndexWriterConfig
-
Default value for compound file system for newly written segments (set to
true
). - DefaultBulkScorer(Scorer) - Constructor for class org.apache.lucene.search.Weight.DefaultBulkScorer
-
Sole constructor.
- DefaultCollectionModel() - Constructor for class org.apache.lucene.search.similarities.LMSimilarity.DefaultCollectionModel
-
Sole constructor: parameter-free
- defaultCtorException() - Static method in class org.apache.lucene.analysis.AbstractAnalysisFactory
-
Helper method to be called from mandatory default constructor of all subclasses to make
ServiceLoader
happy. - DefaultFlatVectorScorer - Class in org.apache.lucene.codecs.hnsw
-
Default implementation of
FlatVectorsScorer
. - DefaultFlatVectorScorer() - Constructor for class org.apache.lucene.codecs.hnsw.DefaultFlatVectorScorer
- defaultMaxEdits - Static variable in class org.apache.lucene.search.FuzzyQuery
- defaultMaxExpansions - Static variable in class org.apache.lucene.search.FuzzyQuery
- defaultPrefixLength - Static variable in class org.apache.lucene.search.FuzzyQuery
- defaultRewriteMethod(int) - Static method in class org.apache.lucene.search.FuzzyQuery
-
Creates a default top-terms blended frequency scoring rewrite with the given max expansions
- defaultTranspositions - Static variable in class org.apache.lucene.search.FuzzyQuery
- DeflateWithPresetDictCompressionMode - Class in org.apache.lucene.codecs.lucene90
-
A compression mode that trades speed for compression ratio.
- DeflateWithPresetDictCompressionMode() - Constructor for class org.apache.lucene.codecs.lucene90.DeflateWithPresetDictCompressionMode
-
Sole constructor.
- deinterleave(long) - Static method in class org.apache.lucene.util.BitUtil
-
Extract just the even-bits value as a long from the bit-interleaved value
- 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.
- DelegatingAnalyzerWrapper - Class in org.apache.lucene.analysis
-
An analyzer wrapper, that doesn't allow to wrap components or readers.
- DelegatingAnalyzerWrapper(Analyzer.ReuseStrategy) - Constructor for class org.apache.lucene.analysis.DelegatingAnalyzerWrapper
-
Constructor.
- DelegatingCacheHelper(IndexReader.CacheHelper) - Constructor for class org.apache.lucene.index.FilterDirectoryReader.DelegatingCacheHelper
-
Create a new DelegatingCacheHelper that delegates the cache onClose listener to another CacheHelper, but with its own unique CacheKey.
- delete() - Method in class org.apache.lucene.index.IndexCommit
-
Delete this commit point.
- delete(String) - Method in class org.apache.lucene.search.LiveFieldValues
-
Call this after you've successfully deleted a document from the index.
- deleteAll() - Method in class org.apache.lucene.index.IndexWriter
-
Delete all documents in the index.
- 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 any of the provided queries.
- deleteFile(String) - Method in class org.apache.lucene.codecs.CompoundDirectory
-
Not implemented
- deleteFile(String) - Method in class org.apache.lucene.store.ByteBuffersDirectory
- 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.FilterDirectory
- deleteFile(String) - Method in class org.apache.lucene.store.FSDirectory
- deleteFile(String) - Method in class org.apache.lucene.store.LockValidatingDirectoryWrapper
- deleteFile(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
- deleteFile(String) - Method in class org.apache.lucene.store.TrackingDirectoryWrapper
- deleteFileIfNoRef(String) - Method in class org.apache.lucene.util.FileDeleter
- deleteFiles(Directory, Collection<String>) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given file names.
- deleteFilesIfExist(Path...) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given
Path
s, if they exist. - deleteFilesIfExist(Collection<? extends Path>) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given
Path
s, if they exist. - deleteFilesIfNoRef(Collection<String>) - Method in class org.apache.lucene.util.FileDeleter
-
delete only files that are unref'ed
- deleteFilesIgnoringExceptions(Path...) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given files, suppressing all thrown IOExceptions.
- deleteFilesIgnoringExceptions(Collection<? extends Path>) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given files, suppressing all thrown IOExceptions.
- deleteFilesIgnoringExceptions(Directory, String...) - Static method in class org.apache.lucene.util.IOUtils
- deleteFilesIgnoringExceptions(Directory, Collection<String>) - Static method in class org.apache.lucene.util.IOUtils
-
Deletes all given files, suppressing all thrown IOExceptions.
- deletePendingFiles() - Method in class org.apache.lucene.store.FSDirectory
-
Try to delete any pending files that we had previously tried to delete but failed because we are on Windows and the files were still held open.
- 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.
- delGen() - Method in class org.apache.lucene.index.PrefixCodedTerms.TermIterator
-
Del gen of the current term.
- delPolicy - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
IndexDeletionPolicy
controlling when commit points are deleted. - deltaPackedBuilder(float) - Static method in class org.apache.lucene.util.packed.PackedLongValues
- deltaPackedBuilder(int, float) - Static method in class org.apache.lucene.util.packed.PackedLongValues
-
Return a new
PackedLongValues.Builder
that will compress efficiently integers that are close to each other. - delTermCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Number of terms with zero live docs docs.
- DenseOffHeapVectorValues(int, int, IndexInput, int, FlatVectorsScorer, VectorSimilarityFunction) - Constructor for class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues.DenseOffHeapVectorValues
- DenseOffHeapVectorValues(int, int, IndexInput, int, FlatVectorsScorer, VectorSimilarityFunction) - Constructor for class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues.DenseOffHeapVectorValues
- DenseOffHeapVectorValues(int, int, ScalarQuantizer, boolean, VectorSimilarityFunction, FlatVectorsScorer, IndexInput) - Constructor for class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues
- dest - Variable in class org.apache.lucene.util.automaton.Transition
-
Destination state.
- destroy() - Method in class org.apache.lucene.util.bkd.HeapPointWriter
- destroy() - Method in class org.apache.lucene.util.bkd.OfflinePointWriter
- destroy() - Method in interface org.apache.lucene.util.bkd.PointWriter
-
Removes any temp files behind this writer
- determinize(Automaton, int) - Static method in class org.apache.lucene.util.automaton.Operations
-
Determinizes the given automaton.
- DFISimilarity - Class in org.apache.lucene.search.similarities
-
Implements the Divergence from Independence (DFI) model based on Chi-square statistics (i.e., standardized Chi-squared distance from independence in term frequency tf).
- DFISimilarity(Independence) - Constructor for class org.apache.lucene.search.similarities.DFISimilarity
-
Create DFI with the specified divergence from independence measure
- 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
- digits - Variable in class org.apache.lucene.util.automaton.RegExp
-
Limits for repeatable type expressions
- dimension - Variable in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues
- dimension - Variable in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues
- dimension - Variable in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- dimension() - Method in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues
- dimension() - Method in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues
- dimension() - Method in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues
- dimension() - Method in class org.apache.lucene.index.ByteVectorValues
-
Return the dimension of the vectors
- dimension() - Method in class org.apache.lucene.index.FilterVectorValues
- dimension() - Method in class org.apache.lucene.index.FloatVectorValues
-
Return the dimension of the vectors
- dimension() - Method in interface org.apache.lucene.util.hnsw.RandomAccessVectorValues
-
Return the dimension of the returned vector values
- dimension() - Method in class org.apache.lucene.util.quantization.QuantizedByteVectorValues
-
Return the dimension of the vectors
- dir - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Directory index is in.
- dir - Variable in class org.apache.lucene.index.SegmentInfo
-
Where this segment resides.
- directAddressingMaxOversizingFactor(float) - Method in class org.apache.lucene.util.fst.FSTCompiler.Builder
-
Overrides the default the maximum oversizing of fixed array allowed to enable direct addressing of arcs instead of binary search.
- DirectAllocator() - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectAllocator
- DirectAllocator() - Constructor for class org.apache.lucene.util.IntBlockPool.DirectAllocator
-
Creates a new
IntBlockPool.DirectAllocator
with a default block size - DirectBytesStartArray(int) - Constructor for class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
- DirectBytesStartArray(int, Counter) - Constructor for class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
- DirectMonotonicReader - Class in org.apache.lucene.util.packed
-
Retrieves an instance previously written by
DirectMonotonicWriter
. - DirectMonotonicReader.Meta - Class in org.apache.lucene.util.packed
-
In-memory metadata that needs to be kept around for
DirectMonotonicReader
to read data from disk. - DirectMonotonicWriter - Class in org.apache.lucene.util.packed
-
Write monotonically-increasing sequences of integers.
- directory - Variable in class org.apache.lucene.index.DirectoryReader
-
The index directory.
- directory - Variable in class org.apache.lucene.index.SegmentReadState
-
Directory
where this segment is read from. - directory - Variable in class org.apache.lucene.index.SegmentWriteState
-
Directory
where this segment will be written to. - directory - Variable in class org.apache.lucene.store.FSDirectory
- directory() - Method in class org.apache.lucene.index.DirectoryReader
-
Returns the directory this index resides in.
- directory() - Method in class org.apache.lucene.index.SegmentReader
-
Returns the directory this index resides in.
- Directory - Class in org.apache.lucene.store
-
A
Directory
provides an abstraction layer for storing a list of files. - Directory() - Constructor for class org.apache.lucene.store.Directory
- DirectoryReader - Class in org.apache.lucene.index
-
DirectoryReader is an implementation of
CompositeReader
that can read indexes in aDirectory
. - DirectoryReader(Directory, LeafReader[], Comparator<LeafReader>) - Constructor for class org.apache.lucene.index.DirectoryReader
-
Expert: Constructs a
DirectoryReader
on the given subReaders. - DirectReader - Class in org.apache.lucene.util.packed
-
Retrieves an instance previously written by
DirectWriter
- DirectReader() - Constructor for class org.apache.lucene.util.packed.DirectReader
- DirectTrackingAllocator(Counter) - Constructor for class org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
- DirectWriter - Class in org.apache.lucene.util.packed
-
Class for writing packed integers to be directly read from Directory.
- DISABLE_AUTO_FLUSH - Static variable in class org.apache.lucene.index.IndexWriterConfig
-
Denotes a flush trigger is disabled.
- disableAutoIOThrottle() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Turn off auto IO throttling.
- disableSkipping() - Method in class org.apache.lucene.search.comparators.NumericComparator
- disableSkipping() - Method in class org.apache.lucene.search.comparators.TermOrdValComparator
- disableSkipping() - Method in class org.apache.lucene.search.FieldComparator
-
Informs the comparator that the skipping of documents should be disabled.
- 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.
- discountOverlaps - Variable in class org.apache.lucene.search.similarities.TFIDFSimilarity
-
True if overlap tokens (tokens with a position of increment of zero) are discounted from the document's length.
- DisiPriorityQueue - Class in org.apache.lucene.search
-
A priority queue of DocIdSetIterators that orders by current doc ID.
- DisiPriorityQueue(int) - Constructor for class org.apache.lucene.search.DisiPriorityQueue
- DisiWrapper - Class in org.apache.lucene.search
-
Wrapper used in
DisiPriorityQueue
. - DisiWrapper(Scorer) - Constructor for class org.apache.lucene.search.DisiWrapper
- disjoint(double, double, double, double, double, double, double, double) - Static method in interface org.apache.lucene.geo.Component2D
-
Compute whether the bounding boxes are disjoint *
- DISJOINT - org.apache.lucene.document.ShapeField.QueryRelation
-
used for DISJOINT Queries
- DISJOINT - org.apache.lucene.geo.Component2D.WithinRelation
-
The query shape is disjoint with the triangle.
- disjunction(List<MatchesIterator>) - Static method in class org.apache.lucene.search.MatchesUtils
-
Create a MatchesIterator that iterates in order over all matches in a set of subiterators
- disjunction(LeafReaderContext, int, Query, String, BytesRefIterator) - Static method in class org.apache.lucene.search.MatchesUtils
-
Create a MatchesIterator that is a disjunction over a list of terms extracted from a
BytesRefIterator
. - DISJUNCTION_MAX_REWRITE - Static variable in class org.apache.lucene.search.BlendedTermQuery
-
BlendedTermQuery.DisjunctionMaxRewrite
instance with a tie-breaker of0.01
. - DisjunctionDISIApproximation - Class in org.apache.lucene.search
-
A
DocIdSetIterator
which is a disjunction of the approximations of the provided iterators. - DisjunctionDISIApproximation(DisiPriorityQueue) - Constructor for class org.apache.lucene.search.DisjunctionDISIApproximation
- 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(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.
- DisjunctionMaxRewrite(float) - Constructor for class org.apache.lucene.search.BlendedTermQuery.DisjunctionMaxRewrite
-
This
BlendedTermQuery.RewriteMethod
will createDisjunctionMaxQuery
instances that have the provided tie breaker. - DisjunctionMaxWeight(IndexSearcher, ScoreMode, float) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Construct the Weight for this Query searched by searcher.
- distanceQuerySortKey(double) - Static method in class org.apache.lucene.geo.GeoUtils
-
binary search to find the exact sortKey needed to match the specified radius any sort key lte this is a query match.
- distribution - Variable in class org.apache.lucene.search.similarities.IBSimilarity
-
The probabilistic distribution used to model term occurrence.
- 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.
- 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.
- doc - Variable in class org.apache.lucene.search.DisiWrapper
- doc - Variable in class org.apache.lucene.search.ScoreDoc
-
A hit document's number.
- doc(int) - Method in class org.apache.lucene.search.IndexSearcher
-
Deprecated.Use
IndexSearcher.storedFields()
to access fields for one or more documents - doc(int, Set<String>) - Method in class org.apache.lucene.search.IndexSearcher
-
Deprecated.Use
IndexSearcher.storedFields()
to access fields for one or more documents - doc(int, StoredFieldVisitor) - Method in class org.apache.lucene.search.IndexSearcher
-
Deprecated.Use
IndexSearcher.storedFields()
to access fields for one or more documents - DOC - org.apache.lucene.search.SortField.Type
-
Sort by document number (index order).
- DOC_EXTENSION - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99PostingsFormat
-
Filename extension for document number, frequencies, and skip data.
- DOC_VALUES_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
A rewrite method that uses
DocValuesType.SORTED
/DocValuesType.SORTED_SET
doc values to find matching docs through a post-filtering type approach. - doCache(Weight, QueryCachingPolicy) - Method in class org.apache.lucene.search.LRUQueryCache
- doCache(Weight, QueryCachingPolicy) - Method in interface org.apache.lucene.search.QueryCache
-
Return a wrapper around the provided
weight
that will cache matching docs per-segment accordingly to the givenpolicy
. - 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 RAM-based cache first.
- docBase - Variable in class org.apache.lucene.index.LeafReaderContext
-
The reader's absolute doc base
- DocBaseBitSetIterator - Class in org.apache.lucene.util
-
A
DocIdSetIterator
likeBitSetIterator
but has a doc base in onder to avoid storing previous 0s. - DocBaseBitSetIterator(FixedBitSet, long, int) - Constructor for class org.apache.lucene.util.DocBaseBitSetIterator
- docBaseInParent - Variable in class org.apache.lucene.index.IndexReaderContext
-
the doc base for this reader in the parent,
0
if parent is null - DocComparator - Class in org.apache.lucene.search.comparators
-
Comparator that sorts by asc _doc
- DocComparator(int, boolean, Pruning) - Constructor for class org.apache.lucene.search.comparators.DocComparator
-
Creates a new comparator based on document ids for
numHits
- 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
-
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 - Variable in class org.apache.lucene.search.similarities.BasicStats
-
The document frequency.
- docFreq() - Method in class org.apache.lucene.index.FilteredTermsEnum
- docFreq() - Method in class org.apache.lucene.index.FilterLeafReader.FilterTermsEnum
- docFreq() - Method in class org.apache.lucene.index.MultiTermsEnum
- 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.index.TermStates
-
Returns the accumulated document frequency of all
TermState
instances passed toTermStates.register(TermState, int, int, long)
. - docFreq() - Method in class org.apache.lucene.search.FuzzyTermsEnum
- docFreq() - Method in class org.apache.lucene.search.TermStatistics
-
The number of documents this term occurs in.
- docFreq(Term) - Method in class org.apache.lucene.index.BaseCompositeReader
- docFreq(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of documents containing the
term
. - docFreq(Term) - Method in class org.apache.lucene.index.LeafReader
- doCheck(CheckIndex.Options) - Method in class org.apache.lucene.index.CheckIndex
-
Actually perform the index check
- docID() - Method in class org.apache.lucene.codecs.lucene90.IndexedDISI
- docID() - Method in class org.apache.lucene.codecs.lucene95.OffHeapByteVectorValues.DenseOffHeapVectorValues
- docID() - Method in class org.apache.lucene.codecs.lucene95.OffHeapFloatVectorValues.DenseOffHeapVectorValues
- docID() - Method in class org.apache.lucene.codecs.lucene99.OffHeapQuantizedByteVectorValues.DenseOffHeapVectorValues
- docID() - Method in class org.apache.lucene.document.BinaryRangeDocValues
- docID() - Method in class org.apache.lucene.index.FilterBinaryDocValues
- docID() - Method in class org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum
- docID() - Method in class org.apache.lucene.index.FilterNumericDocValues
- docID() - Method in class org.apache.lucene.index.FilterSortedDocValues
- docID() - Method in class org.apache.lucene.index.FilterSortedNumericDocValues
- docID() - Method in class org.apache.lucene.index.FilterSortedSetDocValues
- docID() - Method in class org.apache.lucene.index.FilterVectorValues
- docID() - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
- docID() - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
- docID() - Method in class org.apache.lucene.index.MultiPostingsEnum
- docID() - Method in class org.apache.lucene.index.SlowImpactsEnum
- docID() - Method in class org.apache.lucene.search.comparators.MinDocIterator
- docID() - Method in class org.apache.lucene.search.ConstantScoreScorer
- docID() - Method in class org.apache.lucene.search.DisjunctionDISIApproximation
- docID() - Method in class org.apache.lucene.search.DocIdSetIterator
-
Returns the following:
-1
ifDocIdSetIterator.nextDoc()
orDocIdSetIterator.advance(int)
were not called yet. - docID() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
- docID() - Method in class org.apache.lucene.search.FilterScorable
- docID() - Method in class org.apache.lucene.search.FilterScorer
- docID() - Method in class org.apache.lucene.search.ImpactsDISI
- docID() - Method in class org.apache.lucene.search.IndriDisjunctionScorer
- docID() - Method in class org.apache.lucene.search.IndriScorer
- docID() - Method in class org.apache.lucene.search.MultiPhraseQuery.UnionPostingsEnum
- docID() - Method in class org.apache.lucene.search.Scorable
-
Returns the doc ID that is currently being scored.
- docID() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
- docID() - Method in class org.apache.lucene.search.TermScorer
- docID() - Method in class org.apache.lucene.util.BitSetIterator
- docID() - Method in interface org.apache.lucene.util.bkd.PointValue
-
Returns the docID
- docID() - Method in class org.apache.lucene.util.DocBaseBitSetIterator
- DocIDMerger<T extends DocIDMerger.Sub> - Class in org.apache.lucene.index
-
Utility class to help merging documents from sub-readers according to either simple concatenated (unsorted) order, or by a specified index-time sort, skipping deleted documents and remapping non-deleted documents.
- DocIDMerger.Sub - Class in org.apache.lucene.index
-
Represents one sub-reader being merged
- DocIdSet - Class in org.apache.lucene.search
-
A DocIdSet contains a set of doc ids.
- DocIdSet() - Constructor for class org.apache.lucene.search.DocIdSet
- DocIdSetBuilder - Class in org.apache.lucene.util
-
A builder of
DocIdSet
s. - DocIdSetBuilder(int) - Constructor for class org.apache.lucene.util.DocIdSetBuilder
-
Create a builder that can contain doc IDs between
0
andmaxDoc
. - DocIdSetBuilder(int, PointValues, String) - Constructor for class org.apache.lucene.util.DocIdSetBuilder
-
Create a
DocIdSetBuilder
instance that is optimized for accumulating docs that match the givenPointValues
. - DocIdSetBuilder(int, Terms) - Constructor for class org.apache.lucene.util.DocIdSetBuilder
-
Create a
DocIdSetBuilder
instance that is optimized for accumulating docs that match the givenTerms
. - DocIdSetBuilder.BulkAdder - Class in org.apache.lucene.util
-
Utility class to efficiently add many docs in one go.
- 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
- DocIdStream - Class in org.apache.lucene.search
-
A stream of doc IDs.
- DocIdStream() - Constructor for class org.apache.lucene.search.DocIdStream
-
Sole constructor, for invocation by sub classes.
- doClose() - Method in class org.apache.lucene.index.CodecReader
- doClose() - Method in class org.apache.lucene.index.FilterCodecReader
- doClose() - Method in class org.apache.lucene.index.FilterDirectoryReader
- doClose() - Method in class org.apache.lucene.index.FilterLeafReader
- 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.ParallelCompositeReader
- doClose() - Method in class org.apache.lucene.index.ParallelLeafReader
- doClose() - Method in class org.apache.lucene.index.SegmentReader
- doClose() - Method in class org.apache.lucene.index.StandardDirectoryReader
- docMap - Variable in class org.apache.lucene.index.DocIDMerger.Sub
-
Map from old to new doc IDs
- DocMap() - Constructor for class org.apache.lucene.index.Sorter.DocMap
-
Sole constructor.
- docMaps - Variable in class org.apache.lucene.index.MergeState
-
Maps document IDs from old segments to document IDs in the new segment
- DOCS - org.apache.lucene.index.IndexOptions
-
Only documents are indexed: term frequencies and positions are omitted.
- DOCS_AND_FREQS - org.apache.lucene.index.IndexOptions
-
Only documents and term frequencies are indexed: positions are omitted.
- DOCS_AND_FREQS_AND_POSITIONS - org.apache.lucene.index.IndexOptions
-
Indexes documents, frequencies and positions.
- DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS - org.apache.lucene.index.IndexOptions
-
Indexes documents, frequencies, positions and offsets.
- docsSeen - Variable in class org.apache.lucene.util.bkd.BKDWriter
- docStartFP - Variable in class org.apache.lucene.codecs.lucene99.Lucene99PostingsFormat.IntBlockTermState
-
file pointer to the start of the doc ids enumeration, in
Lucene99PostingsFormat.DOC_EXTENSION
file - docStarts - Variable in class org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
-
docbase for each leaf: parallel with
MultiDocValues.MultiSortedDocValues.values
- docStarts - Variable in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
-
docbase for each leaf: parallel with
MultiDocValues.MultiSortedSetDocValues.values
- DocsWithFieldSet - Class in org.apache.lucene.index
-
Accumulator for documents that have a value for a field.
- DocsWithFieldSet() - Constructor for class org.apache.lucene.index.DocsWithFieldSet
-
Creates an empty DocsWithFieldSet.
- document(int) - Method in class org.apache.lucene.index.IndexReader
-
Deprecated.use
IndexReader.storedFields()
to retrieve one or more documents - document(int) - Method in class org.apache.lucene.index.StoredFields
-
Returns the stored fields of the
n
thDocument
in this index. - document(int, Set<String>) - Method in class org.apache.lucene.index.IndexReader
-
Deprecated.use
IndexReader.storedFields()
to retrieve one or more documents - document(int, Set<String>) - Method in class org.apache.lucene.index.StoredFields
-
Like
StoredFields.document(int)
but only loads the specified fields. - document(int, StoredFieldVisitor) - Method in class org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.BaseCompositeReader
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.CodecReader
-
Deprecated.
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.FilterCodecReader
-
Deprecated.
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.FilterLeafReader
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.IndexReader
-
Deprecated.use
IndexReader.storedFields()
to retrieve one or more documents - document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.ParallelLeafReader
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.SegmentReader
- document(int, StoredFieldVisitor) - Method in class org.apache.lucene.index.StoredFields
-
Expert: visits the fields of a stored document, for custom processing/loading of each field.
- 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.
- DocumentStoredFieldVisitor - Class in org.apache.lucene.document
-
A
StoredFieldVisitor
that creates aDocument
from stored fields. - DocumentStoredFieldVisitor() - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
-
Load all stored fields.
- DocumentStoredFieldVisitor(String...) - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
-
Load only fields named in the provided fields.
- DocumentStoredFieldVisitor(Set<String>) - Constructor for class org.apache.lucene.document.DocumentStoredFieldVisitor
-
Load only fields named in the provided
Set<String>
. - docValueCount() - Method in class org.apache.lucene.index.FilterSortedNumericDocValues
- docValueCount() - Method in class org.apache.lucene.index.FilterSortedSetDocValues
- docValueCount() - Method in class org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
- docValueCount() - Method in class org.apache.lucene.index.SortedNumericDocValues
-
Retrieves the number of values for the current document.
- docValueCount() - Method in class org.apache.lucene.index.SortedSetDocValues
-
Retrieves the number of unique ords for the current document.
- docValues - Variable in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- DocValues - Class in org.apache.lucene.index
-
This class contains utility methods and constants for DocValues
- DocValuesConsumer - Class in org.apache.lucene.codecs
-
Abstract API that consumes numeric, binary and sorted docvalues.
- DocValuesConsumer() - Constructor for class org.apache.lucene.codecs.DocValuesConsumer
-
Sole constructor.
- DocValuesFieldExistsQuery - Class in org.apache.lucene.search
-
Deprecated.Use
FieldExistsQuery
instead. - DocValuesFieldExistsQuery(String) - Constructor for class org.apache.lucene.search.DocValuesFieldExistsQuery
-
Deprecated.Create a query that will match documents which have a value for the given
field
. - docValuesFormat() - Method in class org.apache.lucene.codecs.Codec
-
Encodes/decodes docvalues
- docValuesFormat() - Method in class org.apache.lucene.codecs.FilterCodec
- docValuesFormat() - Method in class org.apache.lucene.codecs.lucene99.Lucene99Codec
- DocValuesFormat - Class in org.apache.lucene.codecs
-
Encodes/decodes per-document values.
- DocValuesFormat(String) - Constructor for class org.apache.lucene.codecs.DocValuesFormat
-
Creates a new docvalues format.
- DocValuesProducer - Class in org.apache.lucene.codecs
-
Abstract API that produces numeric, binary, sorted, sortedset, and sortednumeric docvalues.
- DocValuesProducer() - Constructor for class org.apache.lucene.codecs.DocValuesProducer
-
Sole constructor.
- docValuesProducers - Variable in class org.apache.lucene.index.MergeState
-
DocValues producers being merged
- DocValuesRewriteMethod - Class in org.apache.lucene.search
-
Rewrites MultiTermQueries into a filter, using DocValues for term enumeration.
- DocValuesRewriteMethod() - Constructor for class org.apache.lucene.search.DocValuesRewriteMethod
- docValuesStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of DocValues (null if DocValues could not be tested).
- docValuesType() - Method in class org.apache.lucene.document.FieldType
-
DocValues
DocValuesType
: how the field's value will be indexed into docValues. - docValuesType() - Method in interface org.apache.lucene.index.IndexableFieldType
-
DocValues
DocValuesType
: how the field's value will be indexed into docValues. - DocValuesType - Enum in org.apache.lucene.index
-
DocValues types.
- doMerge(MergeScheduler.MergeSource, MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Does the actual merge, by calling
MergeScheduler.MergeSource.merge(org.apache.lucene.index.MergePolicy.OneMerge)
- done() - Method in class org.apache.lucene.internal.hppc.AbstractIterator
-
Call when done.
- doOpenIfChanged() - Method in class org.apache.lucene.index.DirectoryReader
-
Implement this method to support
DirectoryReader.openIfChanged(DirectoryReader)
. - doOpenIfChanged() - Method in class org.apache.lucene.index.FilterDirectoryReader
- doOpenIfChanged() - Method in class org.apache.lucene.index.StandardDirectoryReader
- doOpenIfChanged(IndexCommit) - Method in class org.apache.lucene.index.DirectoryReader
-
Implement this method to support
DirectoryReader.openIfChanged(DirectoryReader,IndexCommit)
. - doOpenIfChanged(IndexCommit) - Method in class org.apache.lucene.index.FilterDirectoryReader
- doOpenIfChanged(IndexCommit) - Method in class org.apache.lucene.index.StandardDirectoryReader
- doOpenIfChanged(IndexWriter, boolean) - Method in class org.apache.lucene.index.DirectoryReader
-
Implement this method to support
DirectoryReader.openIfChanged(DirectoryReader,IndexWriter,boolean)
. - doOpenIfChanged(IndexWriter, boolean) - Method in class org.apache.lucene.index.FilterDirectoryReader
- doOpenIfChanged(IndexWriter, boolean) - Method in class org.apache.lucene.index.StandardDirectoryReader
- 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.
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.SimpleCollector
-
This method is called before collecting
context
. - doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.SimpleFieldComparator
-
This method is called before collecting
context
. - doSlowChecks() - Method in class org.apache.lucene.index.CheckIndex
- doStall() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Called from
ConcurrentMergeScheduler.maybeStall(org.apache.lucene.index.MergeScheduler.MergeSource)
to pause the calling thread for a bit. - DOT_PRODUCT - org.apache.lucene.index.VectorSimilarityFunction
-
Dot product.
- dotProduct(byte[], byte[]) - Method in interface org.apache.lucene.internal.vectorization.VectorUtilSupport
-
Returns the dot product computed over signed bytes.
- dotProduct(byte[], byte[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Dot product computed over signed bytes.
- dotProduct(float[], float[]) - Method in interface org.apache.lucene.internal.vectorization.VectorUtilSupport
-
Calculates the dot product of the given float arrays.
- dotProduct(float[], float[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Returns the vector dot product of the two vectors.
- DotProduct(float, ScalarQuantizedVectorSimilarity.ByteVectorComparator) - Constructor for class org.apache.lucene.util.quantization.ScalarQuantizedVectorSimilarity.DotProduct
- dotProductScore(byte[], byte[]) - Static method in class org.apache.lucene.util.VectorUtil
-
Dot product score computed over signed bytes, scaled to be in [0, 1].
- DOUBLE - org.apache.lucene.document.StoredValue.Type
-
Type of double values.
- DOUBLE - org.apache.lucene.search.SortField.Type
-
Sort using term values as encoded Doubles.
- DoubleComparator - Class in org.apache.lucene.search.comparators
-
Comparator based on
Double.compare(double, double)
fornumHits
. - DoubleComparator(int, String, Double, boolean, Pruning) - Constructor for class org.apache.lucene.search.comparators.DoubleComparator
- DoubleComparator.DoubleLeafComparator - Class in org.apache.lucene.search.comparators
-
Leaf comparator for
DoubleComparator
that provides skipping functionality - DoubleCursor - Class in org.apache.lucene.internal.hppc
-
Forked from HPPC, holding int index and double value.
- DoubleCursor() - Constructor for class org.apache.lucene.internal.hppc.DoubleCursor
- DoubleDocValuesField - Class in org.apache.lucene.document
-
Syntactic sugar for encoding doubles as NumericDocValues via
Double.doubleToRawLongBits(double)
. - 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.codecs.StoredFieldsWriter.MergeVisitor
- doubleField(FieldInfo, double) - Method in class org.apache.lucene.document.DocumentStoredFieldVisitor
- doubleField(FieldInfo, double) - Method in class org.apache.lucene.index.StoredFieldVisitor
-
Process a double numeric field.
- DoubleField - Class in org.apache.lucene.document
-
Field that stores a per-document
double
value for scoring, sorting or value retrieval and index the field for fast range filters. - DoubleField(String, double) - Constructor for class org.apache.lucene.document.DoubleField
-
Deprecated.Use
DoubleField(String, double, Field.Store)
withField.Store.NO
instead. - DoubleField(String, double, Field.Store) - Constructor for class org.apache.lucene.document.DoubleField
-
Creates a new DoubleField, indexing the provided point, storing it as a DocValue, and optionally storing it as a stored field.
- DoubleLeafComparator(LeafReaderContext) - Constructor for class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- DoublePoint - Class in org.apache.lucene.document
-
An indexed
double
field for fast range filters. - DoublePoint(String, double...) - Constructor for class org.apache.lucene.document.DoublePoint
-
Creates a new DoublePoint, indexing the provided N-dimensional double point.
- DoubleRange - Class in org.apache.lucene.document
-
An indexed Double Range field.
- DoubleRange(String, double[], double[]) - Constructor for class org.apache.lucene.document.DoubleRange
-
Create a new DoubleRange type, from min/max parallel arrays
- DoubleRangeDocValuesField - Class in org.apache.lucene.document
-
DocValues field for DoubleRange.
- DoubleRangeDocValuesField(String, double[], double[]) - Constructor for class org.apache.lucene.document.DoubleRangeDocValuesField
-
Sole constructor.
- DoubleSorter(String, Double, boolean, IndexSorter.NumericDocValuesProvider) - Constructor for class org.apache.lucene.index.IndexSorter.DoubleSorter
-
Creates a new DoubleSorter
- doubleToSortableLong(double) - Static method in class org.apache.lucene.util.NumericUtils
-
Converts a
double
value to a sortable signedlong
. - doubleValue() - Method in class org.apache.lucene.search.DoubleValues
-
Get the double value for the current document
- DoubleValues - Class in org.apache.lucene.search
-
Per-segment, per-document double values, which can be calculated at search-time
- DoubleValues() - Constructor for class org.apache.lucene.search.DoubleValues
- DoubleValuesSource - Class in org.apache.lucene.search
-
Base class for producing
DoubleValues
- DoubleValuesSource() - Constructor for class org.apache.lucene.search.DoubleValuesSource
- doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.index.ExitableDirectoryReader
- doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.index.FilterDirectoryReader
-
Called by the doOpenIfChanged() methods to return a new wrapped DirectoryReader.
- doWrapDirectoryReader(DirectoryReader) - Method in class org.apache.lucene.index.SoftDeletesDirectoryReaderWrapper
- 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
- DYNAMIC_CONFIDENCE_INTERVAL - Static variable in class org.apache.lucene.codecs.lucene99.Lucene99ScalarQuantizedVectorsFormat
-
Dynamic confidence interval
E
- earlyTerminated() - Method in class org.apache.lucene.search.AbstractKnnCollector
- earlyTerminated() - Method in class org.apache.lucene.search.knn.MultiLeafKnnCollector
- earlyTerminated() - Method in interface org.apache.lucene.search.KnnCollector
-
If search visits too many documents, the results collector will terminate early.
- earlyTerminated() - Method in class org.apache.lucene.util.hnsw.HnswGraphBuilder.GraphBuilderKnnCollector
- earlyTerminated() - Method in class org.apache.lucene.util.hnsw.OrdinalTranslatedKnnCollector
- EARTH_MEAN_RADIUS_METERS - Static variable in class org.apache.lucene.geo.GeoUtils
-
mean earth axis in meters
- elementsCount - Variable in class org.apache.lucene.internal.hppc.FloatArrayList
-
Current number of elements stored in
FloatArrayList.buffer
. - elementsCount - Variable in class org.apache.lucene.internal.hppc.IntArrayList
-
Current number of elements stored in
IntArrayList.buffer
. - elementsCount - Variable in class org.apache.lucene.internal.hppc.LongArrayList
-
Current number of elements stored in
LongArrayList.buffer
. - EMOJI - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
Emoji token type.
- EMOJI_TYPE - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizerImpl
-
Emoji token type
- empty() - Static method in class org.apache.lucene.search.DocIdSetIterator
-
An empty
DocIdSetIterator
instance - EMPTY - Static variable in class org.apache.lucene.codecs.KnnVectorsFormat
-
EMPTY throws an exception when written.
- EMPTY - Static variable in class org.apache.lucene.codecs.PointsFormat
-
A
PointsFormat
that has nothing indexed - EMPTY - Static variable in class org.apache.lucene.codecs.PostingsFormat
-
Zero-length
PostingsFormat
array. - EMPTY - Static variable in class org.apache.lucene.geo.SimpleWKTShapeParser
- EMPTY - Static variable in class org.apache.lucene.index.FieldInfos
-
An instance without any fields.
- EMPTY - Static variable in class org.apache.lucene.index.TermsEnum
-
An empty TermsEnum for quickly returning an empty instance e.g.
- EMPTY - Static variable in class org.apache.lucene.index.TermVectors
-
Instance that never returns term vectors
- EMPTY - Static variable in class org.apache.lucene.search.DocIdSet
-
An empty
DocIdSet
instance - EMPTY - Static variable in class org.apache.lucene.search.DoubleValues
-
An empty DoubleValues instance that always returns
false
fromDoubleValues.advanceExact(int)
- EMPTY - Static variable in class org.apache.lucene.search.LRUQueryCache.CacheAndCount
- EMPTY - Static variable in class org.apache.lucene.util.automaton.RegExp
-
Syntax flag, enables empty language (
#
). - EMPTY - Static variable in interface org.apache.lucene.util.BytesRefIterator
-
Singleton BytesRefIterator that iterates over 0 BytesRefs.
- EMPTY - Static variable in class org.apache.lucene.util.hnsw.HnswGraph
-
Empty graph value
- EMPTY_ARRAY - Static variable in class org.apache.lucene.index.Fields
-
Zero-length
Fields
array. - EMPTY_ARRAY - Static variable in class org.apache.lucene.index.ReaderSlice
-
Zero-length
ReaderSlice
array. - EMPTY_ARRAY - Static variable in class org.apache.lucene.index.Terms
-
Zero-length array of
Terms
. - EMPTY_ARRAY - Static variable in class org.apache.lucene.internal.hppc.FloatArrayList
-
An immutable empty buffer (array).
- EMPTY_ARRAY - Static variable in class org.apache.lucene.internal.hppc.IntArrayList
-
An immutable empty buffer (array).
- EMPTY_ARRAY - Static variable in class org.apache.lucene.internal.hppc.LongArrayList
-
An immutable empty buffer (array).
- EMPTY_ARRAY - Static variable in interface org.apache.lucene.util.Bits
- EMPTY_BYTES - Static variable in class org.apache.lucene.util.BytesRef
-
An empty byte array for convenience
- EMPTY_CHARS - Static variable in class org.apache.lucene.util.CharsRef
-
An empty character array for convenience
- EMPTY_INTS - Static variable in class org.apache.lucene.util.IntsRef
-
An empty integer array for convenience
- EMPTY_LONGS - Static variable in class org.apache.lucene.util.LongsRef
-
An empty long array for convenience
- EMPTY_SET - Static variable in class org.apache.lucene.analysis.CharArraySet
-
An empty
CharArraySet
. - EMPTY_TOPDOCS - Static variable in class org.apache.lucene.search.TopDocsCollector
-
This is used in case topDocs() is called with illegal parameters, or there simply aren't (enough) results.
- EMPTY_VISITOR - Static variable in class org.apache.lucene.search.QueryVisitor
-
A QueryVisitor implementation that does nothing
- emptyBinary() - Static method in class org.apache.lucene.index.DocValues
-
An empty
BinaryDocValues
which returns no documents - EmptyDocValuesProducer - Class in org.apache.lucene.index
-
Abstract base class implementing a
DocValuesProducer
that has no doc values. - EmptyDocValuesProducer() - Constructor for class org.apache.lucene.index.EmptyDocValuesProducer
-
Sole constructor
- emptyMap() - Static method in class org.apache.lucene.analysis.CharArrayMap
-
Returns an empty, unmodifiable map.
- emptyNumeric() - Static method in class org.apache.lucene.index.DocValues
-
An empty NumericDocValues which returns no documents
- emptySorted() - Static method in class org.apache.lucene.index.DocValues
-
An empty SortedDocValues which returns
BytesRef.EMPTY_BYTES
for every document - emptySortedNumeric() - Static method in class org.apache.lucene.index.DocValues
-
An empty SortedNumericDocValues which returns zero values for every document
- emptySortedSet() - Static method in class org.apache.lucene.index.DocValues
-
An empty SortedDocValues which returns
BytesRef.EMPTY_BYTES
for every document - emptyVal - Variable in class org.apache.lucene.util.SentinelIntSet
- ENABLE_MEMORY_SEGMENTS_SYSPROP - Static variable in class org.apache.lucene.store.MMapDirectory
-
This sysprop allows to control if
MemorySegment
API should be used on supported Java versions. - ENABLE_UNMAP_HACK_SYSPROP - Static variable in class org.apache.lucene.store.MMapDirectory
-
This sysprop allows to control the workaround/hack for unmapping the buffers from address space after closing
IndexInput
. - enableAutoIOThrottle() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Turn on dynamic IO throttling, to adaptively rate limit writes bytes/sec to the minimal rate necessary so merges do not fall behind.
- enableGraphQueries - Variable in class org.apache.lucene.util.QueryBuilder
- enablePositionIncrements - Variable in class org.apache.lucene.util.QueryBuilder
- encode(float) - Static method in class org.apache.lucene.geo.XYEncodingUtils
-
Quantizes double (64 bit) values into 32 bits
- encode(int[], int, byte[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
Read
iterations * valueCount()
values fromvalues
, encode them and write8 * iterations * blockCount()
blocks intoblocks
. - encode(int[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
Read
iterations * valueCount()
values fromvalues
, encode them and writeiterations * blockCount()
blocks intoblocks
. - encode(long[], int, byte[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
Read
iterations * valueCount()
values fromvalues
, encode them and write8 * iterations * blockCount()
blocks intoblocks
. - encode(long[], int, long[], int, int) - Method in interface org.apache.lucene.util.packed.PackedInts.Encoder
-
Read
iterations * valueCount()
values fromvalues
, encode them and writeiterations * blockCount()
blocks intoblocks
. - encode(InetAddress) - Static method in class org.apache.lucene.document.InetAddressPoint
-
Encode InetAddress value into binary encoding
- encodeBottom(byte[]) - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- encodeBottom(byte[]) - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- encodeBottom(byte[]) - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- encodeBottom(byte[]) - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- encodeBottom(byte[]) - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- encodeDimension(double, byte[], int) - Static method in class org.apache.lucene.document.DoublePoint
-
Encode single double dimension
- encodeDimension(float, byte[], int) - Static method in class org.apache.lucene.document.FloatPoint
-
Encode single float dimension
- encodeDimension(int, byte[], int) - Static method in class org.apache.lucene.document.IntPoint
-
Encode single integer dimension
- encodeDimension(long, byte[], int) - Static method in class org.apache.lucene.document.LongPoint
-
Encode single long dimension
- encodeLatitude(double) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Quantizes double (64 bit) latitude into 32 bits (rounding down: in the direction of -90)
- encodeLatitudeCeil(double) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Quantizes double (64 bit) latitude into 32 bits (rounding up: in the direction of +90)
- encodeLongitude(double) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Quantizes double (64 bit) longitude into 32 bits (rounding down: in the direction of -180)
- encodeLongitudeCeil(double) - Static method in class org.apache.lucene.geo.GeoEncodingUtils
-
Quantizes double (64 bit) longitude into 32 bits (rounding up: in the direction of +180)
- encodeTerm(DataOutput, FieldInfo, BlockTermState, boolean) - Method in class org.apache.lucene.codecs.lucene99.Lucene99PostingsWriter
- encodeTerm(DataOutput, FieldInfo, BlockTermState, boolean) - Method in class org.apache.lucene.codecs.PostingsWriterBase
-
Encode metadata as long[] and byte[].
- encodeTop(byte[]) - Method in class org.apache.lucene.search.comparators.DoubleComparator.DoubleLeafComparator
- encodeTop(byte[]) - Method in class org.apache.lucene.search.comparators.FloatComparator.FloatLeafComparator
- encodeTop(byte[]) - Method in class org.apache.lucene.search.comparators.IntComparator.IntLeafComparator
- encodeTop(byte[]) - Method in class org.apache.lucene.search.comparators.LongComparator.LongLeafComparator
- encodeTop(byte[]) - Method in class org.apache.lucene.search.comparators.NumericComparator.NumericLeafComparator
- encodeTriangle(byte[], int, int, boolean, int, int, boolean, int, int, boolean) - Static method in class org.apache.lucene.document.ShapeField
-
A triangle is encoded using 6 points and an extra point with encoded information in three bits of how to reconstruct it.
- end - Variable in class org.apache.lucene.util.OfflineSorter.ByteSequencesReader
- end() - Method in class org.apache.lucene.analysis.CachingTokenFilter
- end() - Method in class org.apache.lucene.analysis.FilteringTokenFilter
- end() - Method in class org.apache.lucene.analysis.GraphTokenFilter
- end() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- end() - Method in class org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl
-
Resets the attributes at end
- end() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
- end() - Method in class org.apache.lucene.analysis.tokenattributes.TermFrequencyAttributeImpl
- end() - Method in class org.apache.lucene.analysis.TokenFilter
-
This method is called by the consumer after the last token has been consumed, after
TokenStream.incrementToken()
returnedfalse
(using the newTokenStream
API). - end() - Method in class org.apache.lucene.analysis.TokenStream
-
This method is called by the consumer after the last token has been consumed, after
TokenStream.incrementToken()
returnedfalse
(using the newTokenStream
API). - end() - Method in class org.apache.lucene.util.AttributeImpl
-
Clears the values in this AttributeImpl and resets it to its value at the end of the field.
- END - org.apache.lucene.index.FilteredTermsEnum.AcceptStatus
-
Reject the term and stop enumerating.
- END - org.apache.lucene.index.TermsEnum.SeekStatus
-
The term was not found, and the end of iteration was hit.
- END_LABEL - Static variable in class org.apache.lucene.util.fst.FST
-
If arc has this label then that arc is final/accepted
- endAttributes() - Method in class org.apache.lucene.util.AttributeSource
-
Resets all Attributes in this AttributeSource by calling
AttributeImpl.end()
on each Attribute implementation. - endMergeOnFullFlush(MergePolicy.MergeSpecification) - Method in interface org.apache.lucene.index.IndexWriterEventListener
-
Invoked at the end of merge on commit, due to either merge completed, or merge timed out according to
IndexWriterConfig.setMaxFullFlushMergeWaitMillis(long)
- endOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
-
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
- endOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
- endOffset() - Method in class org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl
-
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
- endOffset() - Method in class org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum
- endOffset() - Method in class org.apache.lucene.index.MultiPostingsEnum
- endOffset() - Method in class org.apache.lucene.index.PostingsEnum
-
Returns end offset for the current position, or -1 if offsets were not indexed.
- endOffset() - Method in class org.apache.lucene.index.SlowImpactsEnum
- endOffset() - Method in class org.apache.lucene.search.ExactPhraseMatcher
- endOffset() - Method in class org.apache.lucene.search.FilterMatchesIterator
- endOffset() - Method in interface org.apache.lucene.search.MatchesIterator
-
The ending offset of the current match, or
-1
if offsets are not available - endOffset() - Method in class org.apache.lucene.search.MultiPhraseQuery.UnionFullPostingsEnum
- endOffset() - Method in class org.apache.lucene.search.MultiPhraseQuery.UnionPostingsEnum
- endOffset() - Method in class org.apache.lucene.search.SloppyPhraseMatcher
- endPosition() - Method in class org.apache.lucene.search.ExactPhraseMatcher
- endPosition() - Method in class org.apache.lucene.search.FilterMatchesIterator
- endPosition() - Method in interface org.apache.lucene.search.MatchesIterator
-
The end position of the current match, or
-1
if positions are not available - endPosition() - Method in class org.apache.lucene.search.SloppyPhraseMatcher
- endSplit(String) - Method in interface org.apache.lucene.geo.Tessellator.Monitor
-
When a polygon split is completed, this is called.
- endsWith(BytesRef, BytesRef) - Static method in class org.apache.lucene.util.StringHelper
-
Returns
true
iff the ref ends with the given suffix. - ensureBufferSpace(int) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Ensures the internal buffer has enough free slots to store
expectedAdditions
. - ensureBufferSpace(int) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Ensures the internal buffer has enough free slots to store
expectedAdditions
. - ensureBufferSpace(int) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Ensures the internal buffer has enough free slots to store
expectedAdditions
. - ensureCanRead(String) - Method in class org.apache.lucene.store.FSDirectory
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.CharHashSet
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntHashSet
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.LongHashSet
-
Ensure this container can hold at least the given number of elements without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(int) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
-
Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.
- ensureCapacity(FixedBitSet, int) - Static method in class org.apache.lucene.util.FixedBitSet
-
If the given
FixedBitSet
is large enough to holdnumBits+1
, returns the given bits, otherwise returns a newFixedBitSet
which can hold the requested number of bits. - ensureCapacity(LongBitSet, long) - Static method in class org.apache.lucene.util.LongBitSet
-
If the given
LongBitSet
is large enough to holdnumBits+1
, returns the given bits, otherwise returns a newLongBitSet
which can hold the requested number of bits. - ensureOpen() - Method in class org.apache.lucene.index.IndexReader
-
Throws AlreadyClosedException if this IndexReader or any of its child readers is closed, otherwise returns.
- ensureOpen() - Method in class org.apache.lucene.index.IndexWriter
-
Used internally to throw an
AlreadyClosedException
if this IndexWriter has been closed (closed=true
) or is in the process of closing (closing=true
). - ensureOpen() - Method in class org.apache.lucene.store.BaseDirectory
- ensureOpen() - Method in class org.apache.lucene.store.Directory
-
Ensures this directory is still open.
- ensureOpen() - Method in class org.apache.lucene.store.FilterDirectory
- ensureOpen(boolean) - Method in class org.apache.lucene.index.IndexWriter
-
Used internally to throw an
AlreadyClosedException
if this IndexWriter has been closed or is in the process of closing. - ensureValid() - Method in class org.apache.lucene.store.Lock
-
Best effort check that this lock is still valid.
- Entry(int, int) - Constructor for class org.apache.lucene.search.FieldValueHitQueue.Entry
- EntryIterator() - Constructor for class org.apache.lucene.internal.hppc.CharHashSet.EntryIterator
- EntryIterator() - Constructor for class org.apache.lucene.internal.hppc.IntHashSet.EntryIterator
- EntryIterator() - Constructor for class org.apache.lucene.internal.hppc.LongHashSet.EntryIterator
- entryNode() - Method in class org.apache.lucene.util.hnsw.HnswGraph
-
Returns graph's entry point on the top level *
- entryNode() - Method in class org.apache.lucene.util.hnsw.OnHeapHnswGraph
-
Returns the graph's current entry node on the top level shown as ordinals of the nodes on 0th level
- entrySet() - Method in class org.apache.lucene.analysis.CharArrayMap
- ENVELOPE - org.apache.lucene.geo.SimpleWKTShapeParser.ShapeType
- eof() - Method in class org.apache.lucene.store.ByteArrayDataInput
- EQUAL_TO - org.apache.lucene.search.TotalHits.Relation
-
The total hit count is equal to
TotalHits.value
. - equalElements(CharObjectHashMap<?>) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(FloatArrayList) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Compare index-aligned elements against another
FloatArrayList
. - equalElements(IntArrayList) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Compare index-aligned elements against another
IntArrayList
. - equalElements(IntDoubleHashMap) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(IntFloatHashMap) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(IntIntHashMap) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(IntObjectHashMap<?>) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(LongArrayList) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Compare index-aligned elements against another
LongArrayList
. - equalElements(LongFloatHashMap) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(LongIntHashMap) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
-
Return true if all keys of some other container exist in this container.
- equalElements(LongObjectHashMap<?>) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
-
Return true if all keys of some other container exist in this container.
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.BytesTermAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.SentenceAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.TermFrequencyAttributeImpl
- equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
- equals(Object) - Method in class org.apache.lucene.document.FieldType
- equals(Object) - Method in class org.apache.lucene.document.RangeFieldQuery
- equals(Object) - Method in class org.apache.lucene.document.ShapeField.DecodedTriangle
- equals(Object) - Method in class org.apache.lucene.document.XYDocValuesPointInGeometryQuery
- equals(Object) - Method in class org.apache.lucene.geo.Circle
- equals(Object) - Method in class org.apache.lucene.geo.Line
- equals(Object) - Method in class org.apache.lucene.geo.Point
- equals(Object) - Method in class org.apache.lucene.geo.Polygon
- equals(Object) - Method in class org.apache.lucene.geo.Rectangle
- equals(Object) - Method in class org.apache.lucene.geo.XYCircle
- equals(Object) - Method in class org.apache.lucene.geo.XYLine
- equals(Object) - Method in class org.apache.lucene.geo.XYPoint
- equals(Object) - Method in class org.apache.lucene.geo.XYPolygon
- equals(Object) - Method in class org.apache.lucene.geo.XYRectangle
- equals(Object) - Method in class org.apache.lucene.index.Impact
- equals(Object) - Method in class org.apache.lucene.index.IndexCommit
-
Two IndexCommits are equal if both their Directory and versions are equal.
- equals(Object) - Method in class org.apache.lucene.index.IndexReader
- equals(Object) - Method in class org.apache.lucene.index.PrefixCodedTerms
- equals(Object) - Method in class org.apache.lucene.index.SegmentInfo
-
We consider another SegmentInfo instance equal if it has the same dir and same name.
- equals(Object) - Method in class org.apache.lucene.index.Term
- equals(Object) - Method in class org.apache.lucene.internal.hppc.CharHashSet
- equals(Object) - Method in class org.apache.lucene.internal.hppc.CharObjectHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.FloatArrayList
-
Returns
true
only if the other object is an instance of the same class and with the same elements. - equals(Object) - Method in class org.apache.lucene.internal.hppc.IntArrayList
-
Returns
true
only if the other object is an instance of the same class and with the same elements. - equals(Object) - Method in class org.apache.lucene.internal.hppc.IntDoubleHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.IntFloatHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.IntHashSet
- equals(Object) - Method in class org.apache.lucene.internal.hppc.IntIntHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.IntObjectHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.LongArrayList
-
Returns
true
only if the other object is an instance of the same class and with the same elements. - equals(Object) - Method in class org.apache.lucene.internal.hppc.LongFloatHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.LongHashSet
- equals(Object) - Method in class org.apache.lucene.internal.hppc.LongIntHashMap
- equals(Object) - Method in class org.apache.lucene.internal.hppc.LongObjectHashMap
- equals(Object) - Method in class org.apache.lucene.search.AutomatonQuery
- equals(Object) - Method in class org.apache.lucene.search.BlendedTermQuery.DisjunctionMaxRewrite
- equals(Object) - Method in class org.apache.lucene.search.BlendedTermQuery
- equals(Object) - Method in class org.apache.lucene.search.BooleanClause
-
Returns true if
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.search.BooleanQuery
-
Compares the specified object with this boolean query for equality.
- equals(Object) - Method in class org.apache.lucene.search.BoostQuery
- equals(Object) - Method in class org.apache.lucene.search.ByteVectorSimilarityQuery
- equals(Object) - Method in class org.apache.lucene.search.ConstantScoreQuery
- equals(Object) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Return true if we represent the same query as other
- equals(Object) - Method in class org.apache.lucene.search.DocValuesRewriteMethod
- equals(Object) - Method in class org.apache.lucene.search.DoubleValuesSource
- equals(Object) - Method in class org.apache.lucene.search.Explanation
- equals(Object) - Method in class org.apache.lucene.search.FieldExistsQuery
- equals(Object) - Method in class org.apache.lucene.search.FloatVectorSimilarityQuery
- equals(Object) - Method in class org.apache.lucene.search.FuzzyQuery
- equals(Object) - Method in class org.apache.lucene.search.IndexOrDocValuesQuery
- equals(Object) - Method in class org.apache.lucene.search.IndexSortSortedNumericDocValuesRangeQuery
- equals(Object) - Method in class org.apache.lucene.search.IndriQuery
- equals(Object) - Method in class org.apache.lucene.search.KnnByteVectorQuery
- equals(Object) - Method in class org.apache.lucene.search.KnnFloatVectorQuery
- equals(Object) - Method in class org.apache.lucene.search.LongValuesSource.ConstantLongValuesSource
- equals(Object) - Method in class org.apache.lucene.search.LongValuesSource
- equals(Object) - Method in class org.apache.lucene.search.MatchAllDocsQuery
- equals(Object) - Method in class org.apache.lucene.search.MatchNoDocsQuery
- equals(Object) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Returns true if
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.search.Multiset
- equals(Object) - Method in class org.apache.lucene.search.MultiTermQuery
- equals(Object) - Method in class org.apache.lucene.search.NGramPhraseQuery
- equals(Object) - Method in class org.apache.lucene.search.PhraseQuery
-
Returns true iff
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.search.PhraseQuery.PostingsAndFreq
- equals(Object) - Method in class org.apache.lucene.search.PointInSetQuery
- equals(Object) - Method in class org.apache.lucene.search.PointRangeQuery
- equals(Object) - Method in class org.apache.lucene.search.PrefixQuery
- equals(Object) - Method in class org.apache.lucene.search.Query
-
Override and implement query instance equivalence properly in a subclass.
- equals(Object) - Method in class org.apache.lucene.search.Sort
-
Returns true if
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.search.SortedNumericSortField
- equals(Object) - Method in class org.apache.lucene.search.SortedSetSortField
- equals(Object) - Method in class org.apache.lucene.search.SortField
-
Returns true if
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.search.SynonymQuery
- equals(Object) - Method in class org.apache.lucene.search.TermInSetQuery
- equals(Object) - Method in class org.apache.lucene.search.TermQuery
-
Returns true iff
other
is equal tothis
. - equals(Object) - Method in class org.apache.lucene.search.TermRangeQuery
- equals(Object) - Method in class org.apache.lucene.search.TopTermsRewrite
- equals(Object) - Method in class org.apache.lucene.search.TotalHits
- equals(Object) - Method in class org.apache.lucene.store.FlushInfo
- equals(Object) - Method in class org.apache.lucene.store.IOContext
- equals(Object) - Method in class org.apache.lucene.store.MergeInfo
- equals(Object) - Method in class org.apache.lucene.util.AttributeFactory.StaticImplementationAttributeFactory
- equals(Object) - Method in class org.apache.lucene.util.AttributeSource
- equals(Object) - Method in class org.apache.lucene.util.automaton.CompiledAutomaton
- equals(Object) - Method in class org.apache.lucene.util.automaton.RunAutomaton
- equals(Object) - Method in class org.apache.lucene.util.automaton.StatePair
-
Checks for equality.
- equals(Object) - Method in class org.apache.lucene.util.BytesRef
- equals(Object) - Method in class org.apache.lucene.util.BytesRefBuilder
- equals(Object) - Method in class org.apache.lucene.util.CharsRef
- equals(Object) - Method in class org.apache.lucene.util.CharsRefBuilder
- equals(Object) - Method in class org.apache.lucene.util.FixedBitSet
- equals(Object) - Method in class org.apache.lucene.util.fst.PairOutputs.Pair
- equals(Object) - Method in class org.apache.lucene.util.IntsRef
- equals(Object) - Method in class org.apache.lucene.util.IntsRefBuilder
- equals(Object) - Method in class org.apache.lucene.util.LongBitSet
-
returns true if both sets have the same bits set
- equals(Object) - Method in class org.apache.lucene.util.LongsRef
- equals(Object) - Method in class org.apache.lucene.util.mutable.MutableValue
- equals(Object) - Method in class org.apache.lucene.util.Version
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValue
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueBool
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueDouble
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueFloat
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueInt
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueLong
- equalsSameType(Object) - Method in class org.apache.lucene.util.mutable.MutableValueStr
- equalsTo(RangeFieldQuery) - Method in class org.apache.lucene.document.RangeFieldQuery
-
Check equality of two RangeFieldQuery objects
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.DocValuesStatus
-
Exception thrown during doc values test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldInfoStatus
-
Exception thrown during term index test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
-
Exception thrown during term index test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.IndexSortStatus
-
Exception thrown during term index test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.LiveDocStatus
-
Exception thrown during term index test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.PointsStatus
-
Exception thrown during point values test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Exception thrown during segment test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.SoftDeletsStatus
-
Exception thrown during soft deletes test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
-
Exception thrown during stored fields test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Exception thrown during term index test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
-
Exception thrown during term vector test (null on success)
- error - Variable in class org.apache.lucene.index.CheckIndex.Status.VectorValuesStatus
-
Exception thrown during vector values test (null on success)
- estimatedMergeBytes - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
-
Estimated size in bytes of the merged segment.
- estimatedMergeBytes - Variable in class org.apache.lucene.store.MergeInfo
- estimateDocCount(PointValues.IntersectVisitor) - Method in class org.apache.lucene.index.PointValues
-
Estimate the number of documents that would be matched by
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
with the givenPointValues.IntersectVisitor
. - estimatedSegmentSize - Variable in class org.apache.lucene.store.FlushInfo
- estimatePointCount(PointValues.IntersectVisitor) - Method in class org.apache.lucene.index.PointValues
-
Estimate the number of points that would be visited by
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
with the givenPointValues.IntersectVisitor
. - Euclidean(float) - Constructor for class org.apache.lucene.util.quantization.ScalarQuantizedVectorSimilarity.Euclidean
- EUCLIDEAN - org.apache.lucene.index.VectorSimilarityFunction
-
Euclidean distance
- eventListener - Variable in class org.apache.lucene.index.LiveIndexWriterConfig
-
The IndexWriter event listener to record key events *
- ExactPhraseMatcher - Class in org.apache.lucene.search
-
Expert: Find exact phrases
- ExactPhraseMatcher(PhraseQuery.PostingsAndFreq[], ScoreMode, Similarity.SimScorer, float) - Constructor for class org.apache.lucene.search.ExactPhraseMatcher
-
Expert: Creates ExactPhraseMatcher instance
- execute(Runnable) - Method in class org.apache.lucene.util.SameThreadExecutorService
- execute(TwoPhaseCommit...) - Static method in class org.apache.lucene.index.TwoPhaseCommitTool
-
Executes a 2-phase commit algorithm by first
TwoPhaseCommit.prepareCommit()
all objects and only if all succeed, it proceeds withTwoPhaseCommit.commit()
. - exists - Variable in class org.apache.lucene.util.mutable.MutableValue
- exists() - Method in class org.apache.lucene.util.mutable.MutableValue
- exists(int) - Method in class org.apache.lucene.util.SentinelIntSet
-
Does this set contain the specified integer?
- exists(String) - Method in class org.apache.lucene.util.FileDeleter
-
return true only if file is touched and also has larger than 0 ref count
- ExitableDirectoryReader - Class in org.apache.lucene.index
-
The
ExitableDirectoryReader
wraps a real indexDirectoryReader
and allows for aQueryTimeout
implementation object to be checked periodically to see if the thread should exit or not. - ExitableDirectoryReader(DirectoryReader, QueryTimeout) - Constructor for class org.apache.lucene.index.ExitableDirectoryReader
-
Constructor
- Ex