Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- a - Variable in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- accept() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- accept(IntervalIterator) - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- accept(Spans) - Method in class org.apache.lucene.queries.spans.FilterSpans
-
Returns YES if the candidate should be an accepted match, NO if it should not, and NO_MORE_IN_CURRENT_DOC if iteration should move on to the next document.
- acceptPosition(Spans) - Method in class org.apache.lucene.queries.spans.SpanFirstQuery
- acceptPosition(Spans) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
-
Implementing classes are required to return whether the current position is a match for the passed in "match"
SpanQuery
. - acceptPosition(Spans) - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- add(Term) - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Adds a term to the
CommonTermsQuery
- addClause(SpanQuery) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.Builder
-
Add a new clause
- addGap(int) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.Builder
-
Add a gap after the previous clause of a defined width
- advance(int) - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- advance(int) - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- advance(int) - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- advance(int) - Method in class org.apache.lucene.queries.spans.FilterSpans
- advance(int) - Method in class org.apache.lucene.queries.spans.TermSpans
- after(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals from the source that appear after intervals from the reference
- allExists(int, FunctionValues[]) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
-
Helper utility for
FunctionValues
- allExists(int, FunctionValues, FunctionValues) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
-
Equivalent to the
FunctionValues[]
method with the same name, but optimized for dealing with exactly 2 arguments. - AllScorer(LeafReaderContext, FunctionQuery.FunctionWeight, float) - Constructor for class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- analyzedText(String, Analyzer, String, int, boolean) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals that correspond to tokens from a
TokenStream
returned fortext
by applying the providedAnalyzer
as iftext
was the content of the givenfield
. - analyzedText(TokenStream, int, boolean) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals that correspond to tokens from the provided
TokenStream
. - anyExists(int, FunctionValues[]) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
-
Helper utility for
FunctionValues
- anyExists(int, FunctionValues, FunctionValues) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
-
Equivalent to the
FunctionValues[]
method with the same name, but optimized for dealing with exactly 2 arguments. - approximation - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- asDoubleValuesSource() - Method in class org.apache.lucene.queries.function.ValueSource
-
Expose this ValueSource as a DoubleValuesSource
- asLongValuesSource() - Method in class org.apache.lucene.queries.function.ValueSource
-
Expose this ValueSource as a LongValuesSource
- asTwoPhaseIterator() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
-
Return a
TwoPhaseIterator
view of this ConjunctionSpans. - asTwoPhaseIterator() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
-
Return a
TwoPhaseIterator
view of this ConjunctionSpans. - asTwoPhaseIterator() - Method in class org.apache.lucene.queries.spans.FilterSpans
- asTwoPhaseIterator() - Method in class org.apache.lucene.queries.spans.Spans
-
Optional method: Return a
TwoPhaseIterator
view of thisScorer
. - atLeast(int, IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return intervals that span combinations of intervals from
minShouldMatch
of the sources - atLeast(SpanWeight.Postings) - Method in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
- AveragePayloadFunction - Class in org.apache.lucene.queries.payloads
-
Calculate the final score as the average score of all payloads seen.
- AveragePayloadFunction() - Constructor for class org.apache.lucene.queries.payloads.AveragePayloadFunction
B
- b - Variable in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- b - Variable in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- Basic intervals - Search tag in package org.apache.lucene.queries.intervals
- Section
- before(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals from the source that appear before intervals from the reference
- BoolDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving boolean values. - BoolDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.BoolDocValues
- BoolFunction - Class in org.apache.lucene.queries.function.valuesource
-
Abstract parent class for those
ValueSource
implementations which apply boolean logic to their values - BoolFunction() - Constructor for class org.apache.lucene.queries.function.valuesource.BoolFunction
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.docvalues.StrDocValues
- boolVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- boost - Variable in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- boostByQuery(Query, Query, float) - Static method in class org.apache.lucene.queries.function.FunctionScoreQuery
-
Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by a boost factor if the document being scored also matches a separate boosting query.
- boostByValue(Query, DoubleValuesSource) - Static method in class org.apache.lucene.queries.function.FunctionScoreQuery
-
Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by the value of a DoubleValuesSource.
- build() - Method in class org.apache.lucene.queries.spans.SpanNearQuery.Builder
-
Build the query
- Builder(String, boolean) - Constructor for class org.apache.lucene.queries.spans.SpanNearQuery.Builder
-
Construct a new builder
- buildQuery(int, TermStates[], Term[]) - Method in class org.apache.lucene.queries.CommonTermsQuery
- ByteKnnVectorFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
An implementation for retrieving
FunctionValues
instances for byte knn vectors fields. - ByteKnnVectorFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.ByteKnnVectorFieldSource
- bytesRef - Variable in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- BytesRefFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
An implementation for retrieving
FunctionValues
instances for string based fields. - BytesRefFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.BytesRefFieldSource
- bytesVal(int, BytesRefBuilder) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- bytesVal(int, BytesRefBuilder) - Method in class org.apache.lucene.queries.function.FunctionValues
-
returns the bytes representation of the string val - TODO: should this return the indexed raw bytes not?
- byteVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- byteVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- byteVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- byteVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- byteVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- byteVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- byteVal(int, byte[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- ByteVectorSimilarityFunction - Class in org.apache.lucene.queries.function.valuesource
-
ByteVectorSimilarityFunction
returns a similarity function between two knn vectors with byte elements. - ByteVectorSimilarityFunction(VectorSimilarityFunction, ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.ByteVectorSimilarityFunction
- byteVectorVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
C
- calcHighFreqMinimumNumberShouldMatch(int) - Method in class org.apache.lucene.queries.CommonTermsQuery
- calcLowFreqMinimumNumberShouldMatch(int) - Method in class org.apache.lucene.queries.CommonTermsQuery
- clauses - Variable in class org.apache.lucene.queries.spans.SpanNearQuery
- collect(SpanCollector) - Method in class org.apache.lucene.queries.spans.FilterSpans
- collect(SpanCollector) - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- collect(SpanCollector) - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- collect(SpanCollector) - Method in class org.apache.lucene.queries.spans.Spans
-
Collect postings data from the leaves of the current Spans.
- collect(SpanCollector) - Method in class org.apache.lucene.queries.spans.TermSpans
- collectLeaf(PostingsEnum, int, Term) - Method in interface org.apache.lucene.queries.spans.SpanCollector
-
Collect information from postings
- collectTermStates(IndexReader, List<LeafReaderContext>, TermStates[], Term[]) - Method in class org.apache.lucene.queries.CommonTermsQuery
- CommonTermsQuery - Class in org.apache.lucene.queries
-
A query that executes high-frequency terms in a optional sub-query to prevent slow queries due to "common" terms like stopwords.
- CommonTermsQuery(BooleanClause.Occur, BooleanClause.Occur, float) - Constructor for class org.apache.lucene.queries.CommonTermsQuery
-
Creates a new
CommonTermsQuery
- compare(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
-
Perform the comparison, returning true or false
- comparePayload(BytesRef, BytesRef) - Method in interface org.apache.lucene.queries.payloads.PayloadMatcher
-
This method tests if two BytesRef match.
- ComparisonBoolFunction - Class in org.apache.lucene.queries.function.valuesource
-
Base class for comparison operators useful within an "if"/conditional.
- ComparisonBoolFunction(ValueSource, ValueSource, String) - Constructor for class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- computePayloadFactor(BytesRef) - Method in interface org.apache.lucene.queries.payloads.PayloadDecoder
-
Compute a float value for the given payload
- ConstKnnByteVectorValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns a constant byte vector value for every document.
- ConstKnnByteVectorValueSource(byte[]) - Constructor for class org.apache.lucene.queries.function.valuesource.ConstKnnByteVectorValueSource
- ConstKnnFloatValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns a constant float vector value for every document.
- ConstKnnFloatValueSource(float[]) - Constructor for class org.apache.lucene.queries.function.valuesource.ConstKnnFloatValueSource
- ConstNumberSource - Class in org.apache.lucene.queries.function.valuesource
-
ConstNumberSource
is the base class for all constant numbers - ConstNumberSource() - Constructor for class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- ConstValueSource - Class in org.apache.lucene.queries.function.valuesource
-
ConstValueSource
returns a constant for all documents - ConstValueSource(float) - Constructor for class org.apache.lucene.queries.function.valuesource.ConstValueSource
- containedBy(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a contained-by
IntervalsSource
- containing(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a containing
IntervalsSource
- context - Variable in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- cost - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- cost() - Method in class org.apache.lucene.queries.function.FunctionValues
-
An estimate of the expected cost to return a value for a document.
- cost() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- cost() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- cost() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- cost() - Method in class org.apache.lucene.queries.spans.FilterSpans
- cost() - Method in class org.apache.lucene.queries.spans.TermSpans
- count - Variable in class org.apache.lucene.queries.spans.TermSpans
- createMatcherForOpAndType(SpanPayloadCheckQuery.PayloadType, SpanPayloadCheckQuery.MatchOperation) - Static method in class org.apache.lucene.queries.payloads.PayloadMatcherFactory
-
Return a payload matcher for use in the SpanPayloadCheckQuery that will decode the ByteRef from a payload based on the payload type, and apply a matching inequality operations (eq,lt,lte,gt,and gte)
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.ValueSource
-
Implementations should propagate createWeight to sub-ValueSources which can optionally store weight info in the context.
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.IfFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.SingleFunction
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- createWeight(Map<Object, Object>, IndexSearcher) - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.function.FunctionMatchQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.function.FunctionQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.intervals.IntervalQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.queries.payloads.AveragePayloadFunction
- currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.queries.payloads.MaxPayloadFunction
- currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.queries.payloads.MinPayloadFunction
- currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.queries.payloads.PayloadFunction
-
Calculate the score up to this point for this doc and field
- currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.queries.payloads.SumPayloadFunction
D
- DEFAULT_BOOST - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Boost terms in query based on score.
- DEFAULT_FIELD_NAMES - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Default field names.
- DEFAULT_MAX_DOC_FREQ - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Ignore words which occur in more than this many docs.
- DEFAULT_MAX_EXPANSIONS - Static variable in class org.apache.lucene.queries.intervals.Intervals
-
The default number of expansions in:
Intervals.multiterm(CompiledAutomaton, String)
- DEFAULT_MAX_NUM_TOKENS_PARSED - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Default maximum number of tokens to parse in each example doc field that is not stored with TermVector support.
- DEFAULT_MAX_QUERY_TERMS - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Return a Query with no more than this many terms.
- DEFAULT_MAX_WORD_LENGTH - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Ignore words greater than this length or if 0 then this has no effect.
- DEFAULT_MIN_DOC_FREQ - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Ignore words which do not occur in at least this many docs.
- DEFAULT_MIN_TERM_FREQ - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Ignore terms with less than this frequency in the source doc.
- DEFAULT_MIN_WORD_LENGTH - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Ignore words less than this length or if 0 then this has no effect.
- DEFAULT_STOP_WORDS - Static variable in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Default set of stopwords.
- defaultVal - Variable in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- DefFunction - Class in org.apache.lucene.queries.function.valuesource
-
ValueSource
implementation which only returns the values from the provided ValueSources which are available for a particular docId. - DefFunction(List<ValueSource>) - Constructor for class org.apache.lucene.queries.function.valuesource.DefFunction
- describeParams() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Describe the parameters that control how the "more like this" query is formed.
- description() - Method in class org.apache.lucene.queries.function.valuesource.ByteKnnVectorFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnByteVectorValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnFloatValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- description() - Method in class org.apache.lucene.queries.function.ValueSource
-
description of field, used in explain()
- description() - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.EnumFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.FloatKnnVectorFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.IfFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.SingleFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- description() - Method in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- description() - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- description(String, List<ValueSource>) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- dimension() - Method in class org.apache.lucene.queries.function.valuesource.MultiValueSource
- dimension() - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- DivFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
Function to divide "a" by "b"
- DivFloatFunction(ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.DivFloatFunction
- doc - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- doc - Variable in class org.apache.lucene.queries.spans.TermSpans
- docCount(String) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the docCount for a given field
- docFreq(Term) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the docFreq of a given term
- DocFreqValueSource - Class in org.apache.lucene.queries.function.valuesource
-
DocFreqValueSource
returns the number of documents containing the term. - DocFreqValueSource(String, String, String, BytesRef) - Constructor for class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- docID() - Method in class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- docID() - Method in class org.apache.lucene.queries.function.ValueSourceScorer
- docID() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- docID() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- docID() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- docID() - Method in class org.apache.lucene.queries.spans.FilterSpans
- docID() - Method in class org.apache.lucene.queries.spans.SpanScorer
- docID() - Method in class org.apache.lucene.queries.spans.TermSpans
- docScore(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.AveragePayloadFunction
- docScore(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.MaxPayloadFunction
- docScore(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.MinPayloadFunction
- docScore(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.PayloadFunction
-
Calculate the final score for all the payloads seen so far for this doc/field
- docScore(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.SumPayloadFunction
- docScorer - Variable in class org.apache.lucene.queries.spans.SpanScorer
- DocTermsIndexDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Serves as base class for FunctionValues based on DocTermsIndex.
- DocTermsIndexDocValues(ValueSource, LeafReaderContext, String) - Constructor for class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- DocTermsIndexDocValues(ValueSource, SortedDocValues) - Constructor for class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- DocTermsIndexDocValues.DocTermsIndexException - Exception Class in org.apache.lucene.queries.function.docvalues
-
Custom Exception to be thrown when the DocTermsIndex for a field cannot be generated
- DocTermsIndexException(String, RuntimeException) - Constructor for exception class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues.DocTermsIndexException
- doCurrentSpans() - Method in class org.apache.lucene.queries.spans.Spans
-
Called each time the scorer's SpanScorer is advanced during frequency calculation
- doStartCurrentDoc() - Method in class org.apache.lucene.queries.spans.Spans
-
Called before the current doc's frequency is calculated
- DoubleConstValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns a constant double value for every document.
- DoubleConstValueSource(double) - Constructor for class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- DoubleDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving double values. - DoubleDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- DoubleFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains double field values from
LeafReader.getNumericDocValues(java.lang.String)
and makes those values available as other numeric types, casting as needed. - DoubleFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- doubleVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- doubleVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- doubleVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- doubleVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- doubleVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- doubleVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- doubleVal(int, double[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- DualFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
Abstract
ValueSource
implementation which wraps two ValueSources and applies an extendible float function to their values. - DualFloatFunction(ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.DualFloatFunction
E
- end - Variable in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- end() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- end() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
The end of the current interval
- endPosition() - Method in class org.apache.lucene.queries.spans.FilterSpans
- endPosition() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- endPosition() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- endPosition() - Method in class org.apache.lucene.queries.spans.Spans
-
Returns the end position for the current start position, or -1 when
Spans.nextStartPosition()
was not yet called on the current doc. - endPosition() - Method in class org.apache.lucene.queries.spans.TermSpans
- EnumFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains int field values from
LeafReader.getNumericDocValues(java.lang.String)
and makes those values available as other numeric types, casting as needed. - EnumFieldSource(String, Map<Integer, String>, Map<String, Integer>) - Constructor for class org.apache.lucene.queries.function.valuesource.EnumFieldSource
- EQ - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
Checks for binary equality of the byte array (default)
- equals(Object) - Method in class org.apache.lucene.queries.CommonTermsQuery
- equals(Object) - Method in class org.apache.lucene.queries.function.FunctionMatchQuery
- equals(Object) - Method in class org.apache.lucene.queries.function.FunctionQuery
-
Returns true if
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- equals(Object) - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ByteKnnVectorFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnByteVectorValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnFloatValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.EnumFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.ValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.FloatKnnVectorFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.IfFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.SingleFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- equals(Object) - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- equals(Object) - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- equals(Object) - Method in class org.apache.lucene.queries.intervals.IntervalQuery
- equals(Object) - Method in class org.apache.lucene.queries.intervals.IntervalsSource
- equals(Object) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- equals(Object) - Method in class org.apache.lucene.queries.payloads.AveragePayloadFunction
- equals(Object) - Method in class org.apache.lucene.queries.payloads.MaxPayloadFunction
- equals(Object) - Method in class org.apache.lucene.queries.payloads.MinPayloadFunction
- equals(Object) - Method in class org.apache.lucene.queries.payloads.PayloadFunction
- equals(Object) - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- equals(Object) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- equals(Object) - Method in class org.apache.lucene.queries.payloads.SumPayloadFunction
- equals(Object) - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanNotQuery
-
Returns true iff
o
is equal to this. - equals(Object) - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
-
Returns true iff
other
is equal to this. - equals(Object) - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- equals(Object) - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- exists(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- exists(int) - Method in class org.apache.lucene.queries.function.FunctionValues
-
Returns true if there is a value for this document
- exists(int) - Method in class org.apache.lucene.queries.function.valuesource.VectorFieldFunction
- exists(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MaxFloatFunction
-
True if any of the specified
values
FunctionValues.exists(int)
for the specified doc, else false. - exists(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MinFloatFunction
-
True if any of the specified
values
FunctionValues.exists(int)
for the specified doc, else false. - exists(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
-
Called by
FunctionValues.exists(int)
for each document. - explain(int) - Method in class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- explain(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- explain(int, String, int, float) - Method in class org.apache.lucene.queries.payloads.PayloadFunction
- explain(LeafReaderContext, int) - Method in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- explain(LeafReaderContext, int) - Method in class org.apache.lucene.queries.spans.SpanWeight
- extend(IntervalsSource, int, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an
IntervalsSource
that wraps another source, extending its intervals by a number of positions before and after. - externalToLong(String) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- externalToLong(String) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.SpanPayloadCheckWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.SpanNearWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanNotQuery.SpanNotWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanOrQuery.SpanOrWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery.SpanPositionCheckWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanTermQuery.SpanTermWeight
- extractTermStates(Map<Term, TermStates>) - Method in class org.apache.lucene.queries.spans.SpanWeight
-
Collect all TermStates used by this Weight
F
- field - Variable in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- field - Variable in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- field - Variable in class org.apache.lucene.queries.function.valuesource.NormValueSource
- field - Variable in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- field - Variable in class org.apache.lucene.queries.spans.SpanNearQuery
- field - Variable in class org.apache.lucene.queries.spans.SpanWeight
- FieldCacheSource - Class in org.apache.lucene.queries.function.valuesource
-
A base class for ValueSource implementations that retrieve values for a single field from DocValues.
- FieldCacheSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- FieldMaskingSpanQuery - Class in org.apache.lucene.queries.spans
-
Wrapper to allow
SpanQuery
objects participate in composite single-field SpanQueries by 'lying' about their search field. - FieldMaskingSpanQuery(SpanQuery, String) - Constructor for class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- fillValue(int) - Method in class org.apache.lucene.queries.function.FunctionValues.ValueFiller
-
MutableValue will be reused across calls.
- FilteredIntervalsSource - Class in org.apache.lucene.queries.intervals
-
An IntervalsSource that filters the intervals from another IntervalsSource
- FilteredIntervalsSource(String, IntervalsSource) - Constructor for class org.apache.lucene.queries.intervals.FilteredIntervalsSource
-
Create a new FilteredIntervalsSource
- Filters - Search tag in package org.apache.lucene.queries.intervals
- Section
- FilterSpans - Class in org.apache.lucene.queries.spans
-
A
Spans
implementation wrapping another spans instance, allowing to filter spans matches easily by implementingFilterSpans.accept(org.apache.lucene.queries.spans.Spans)
- FilterSpans(Spans) - Constructor for class org.apache.lucene.queries.spans.FilterSpans
-
Wrap the given
Spans
. - FilterSpans.AcceptStatus - Enum Class in org.apache.lucene.queries.spans
-
Status returned from
FilterSpans.accept(Spans)
that indicates whether a candidate match should be accepted, rejected, or rejected and move on to the next document. - fixField(String, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an
IntervalsSource
that always returns intervals from a specific field - FLOAT - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadType
-
FLOAT is a 4 byte payload decoded to a float(32bit).
- FLOAT_DECODER - Static variable in interface org.apache.lucene.queries.payloads.PayloadDecoder
-
A
PayloadDecoder
that interprets the bytes of a payload as a float - FloatDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving float values. - FloatDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.FloatDocValues
- FloatFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains float field values from
LeafReader.getNumericDocValues(java.lang.String)
and makes those values available as other numeric types, casting as needed. - FloatFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- FloatKnnVectorFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
An implementation for retrieving
FunctionValues
instances for float knn vectors fields. - FloatKnnVectorFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.FloatKnnVectorFieldSource
- floatVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- floatVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- floatVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- floatVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- floatVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- floatVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- floatVal(int, float[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- FloatVectorSimilarityFunction - Class in org.apache.lucene.queries.function.valuesource
-
FloatVectorSimilarityFunction
returns a similarity function between two knn vectors with float elements. - FloatVectorSimilarityFunction(VectorSimilarityFunction, ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.FloatVectorSimilarityFunction
- floatVectorVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- freq - Variable in class org.apache.lucene.queries.spans.TermSpans
- fromDoubleValuesSource(DoubleValuesSource) - Static method in class org.apache.lucene.queries.function.ValueSource
- func(int, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- func(int, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.SimpleFloatFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MaxFloatFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MinFloatFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.ProductFloatFunction
- func(int, FunctionValues[]) - Method in class org.apache.lucene.queries.function.valuesource.SumFloatFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.ByteVectorSimilarityFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.DivFloatFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.FloatVectorSimilarityFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.PowFloatFunction
- func(int, FunctionValues, FunctionValues) - Method in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- FunctionMatchQuery - Class in org.apache.lucene.queries.function
-
A query that retrieves all documents with a
DoubleValues
value matching a predicate - FunctionMatchQuery(DoubleValuesSource, DoublePredicate) - Constructor for class org.apache.lucene.queries.function.FunctionMatchQuery
-
Create a FunctionMatchQuery with default TwoPhaseIterator matchCost -
FunctionMatchQuery.DEFAULT_MATCH_COST
= 100.0f - FunctionMatchQuery(DoubleValuesSource, DoublePredicate, float) - Constructor for class org.apache.lucene.queries.function.FunctionMatchQuery
-
Create a FunctionMatchQuery
- FunctionQuery - Class in org.apache.lucene.queries.function
-
Returns a score for each document based on a ValueSource, often some function of the value of a field.
- FunctionQuery(ValueSource) - Constructor for class org.apache.lucene.queries.function.FunctionQuery
- FunctionQuery.AllScorer - Class in org.apache.lucene.queries.function
-
Scores all documents, applying the function to each document
- FunctionQuery.FunctionWeight - Class in org.apache.lucene.queries.function
-
Creates FunctionQuery scorer instances
- FunctionRangeQuery - Class in org.apache.lucene.queries.function
-
A Query wrapping a
ValueSource
that matches docs in which the values in the value source match a configured range. - FunctionRangeQuery(ValueSource, Number, Number, boolean, boolean) - Constructor for class org.apache.lucene.queries.function.FunctionRangeQuery
- FunctionRangeQuery(ValueSource, String, String, boolean, boolean) - Constructor for class org.apache.lucene.queries.function.FunctionRangeQuery
- FunctionScoreQuery - Class in org.apache.lucene.queries.function
-
A query that wraps another query, and uses a DoubleValuesSource to replace or modify the wrapped query's score
- FunctionScoreQuery(Query, DoubleValuesSource) - Constructor for class org.apache.lucene.queries.function.FunctionScoreQuery
-
Create a new FunctionScoreQuery
- FunctionValues - Class in org.apache.lucene.queries.function
-
Represents field values as different types.
- FunctionValues() - Constructor for class org.apache.lucene.queries.function.FunctionValues
- FunctionValues.ValueFiller - Class in org.apache.lucene.queries.function
-
Abstraction of the logic required to fill the value of a specified doc into a reusable
MutableValue
. - FunctionWeight(IndexSearcher, float) - Constructor for class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- fuzzyTerm(String, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
A fuzzy term
IntervalsSource
matches the disjunction of intervals of terms that are within the specifiedmaxEdits
from the provided term. - fuzzyTerm(String, int, int, boolean, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
A fuzzy term
IntervalsSource
matches the disjunction of intervals of terms that are within the specifiedmaxEdits
from the provided term.
G
- gaps() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- gaps() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
The number of gaps within the current interval
- gaps() - Method in interface org.apache.lucene.queries.intervals.IntervalMatchesIterator
-
The number of top-level gaps inside the current match
- getAnalyzer() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns an analyzer that will be used to parse source doc with.
- getAnalyzer() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getBig() - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- getBig() - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- getBool() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getBool() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getBool() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getBoostFactor() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the boost factor used when boosting terms
- getClauses() - Method in class org.apache.lucene.queries.spans.SpanNearQuery
-
Return the clauses whose spans are matched.
- getClauses() - Method in class org.apache.lucene.queries.spans.SpanOrQuery
-
Return the clauses whose spans are matched.
- getDefaultValue() - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- getDouble() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getDouble() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getDouble() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getEnd() - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- getExclude() - Method in class org.apache.lucene.queries.spans.SpanNotQuery
-
Return the SpanQuery whose matches must not overlap those returned.
- getField() - Method in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- getField() - Method in class org.apache.lucene.queries.intervals.IntervalQuery
-
The field to query
- getField() - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- getField() - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- getField() - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- getField() - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- getField() - Method in class org.apache.lucene.queries.spans.SpanQuery
-
Returns the name of the field matched by this query.
- getField() - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- getFieldNames() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the field names that will be used when generating the 'More Like This' query.
- getFloat() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getFloat() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getFloat() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getHighFreqBoost() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the boost used for high frequency terms.
- getHighFreqMinimumNumberShouldMatch() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the minimum number of the optional high frequent BooleanClauses which must be satisfied.
- getHighFreqOccur() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the
BooleanClause.Occur
used for high frequency terms. - getInclude() - Method in class org.apache.lucene.queries.spans.SpanNotQuery
-
Return the SpanQuery whose matches are filtered.
- getInt() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getInt() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getInt() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getLikeText() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getLittle() - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- getLittle() - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- getLong() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getLong() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getLong() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getLowerVal() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- getLowFreqBoost() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the boost used for low frequency terms.
- getLowFreqMinimumNumberShouldMatch() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the minimum number of the optional low frequent BooleanClauses which must be satisfied.
- getLowFreqOccur() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the
BooleanClause.Occur
used for low frequency terms. - getMaskedQuery() - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- getMatch() - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- getMaxDocFreq() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the maximum frequency in which words may still appear.
- getMaxNumTokensParsed() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- getMaxQueryTerms() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the maximum number of query terms that will be included in any generated query.
- getMaxQueryTerms() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getMaxScore(int) - Method in class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- getMaxScore(int) - Method in class org.apache.lucene.queries.function.ValueSourceScorer
- getMaxScore(int) - Method in class org.apache.lucene.queries.spans.SpanScorer
- getMaxTermFrequency() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the maximum threshold of a terms document frequency to be considered a low frequency term.
- getMaxWordLen() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the maximum word length above which words will be ignored.
- getMinDocFreq() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the frequency at which words will be ignored which do not occur in at least this many docs.
- getMinDocFreq() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getMinTermFreq() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the frequency below which terms will be ignored in the source doc.
- getMinTermFrequency() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getMinWordLen() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns the minimum word length below which words will be ignored.
- getMoreLikeFields() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getNumber() - Method in class org.apache.lucene.queries.function.valuesource.ConstNumberSource
- getNumber() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getNumber() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- getNumericDocValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- getOrdForDoc(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- getPercentTermsToMatch() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getPostings() - Method in class org.apache.lucene.queries.spans.TermSpans
- getQuery() - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- getRangeScorer(LeafReaderContext, String, String, boolean, boolean) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- getRangeScorer(LeafReaderContext, String, String, boolean, boolean) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- getRangeScorer(LeafReaderContext, String, String, boolean, boolean) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- getRangeScorer(LeafReaderContext, String, String, boolean, boolean) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- getRangeScorer(LeafReaderContext, String, String, boolean, boolean) - Method in class org.apache.lucene.queries.function.FunctionValues
-
Yields a
Scorer
that matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int)
. - getRequiredPostings() - Method in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
- getRewriteMethod() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
-
Expert: returns the rewriteMethod
- getScorer(LeafReaderContext) - Method in class org.apache.lucene.queries.function.FunctionValues
-
Yields a
Scorer
that matches all documents, and that which produces scores equal toFunctionValues.floatVal(int)
. - getSimilarity() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- getSimScorer(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanWeight
-
Return a LeafSimScorer for this context
- getSize() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
return the maximum priority queue size
- getSlop() - Method in class org.apache.lucene.queries.spans.SpanNearQuery
-
Return the maximum number of intervening unmatched positions permitted.
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.ValueSource
-
EXPERIMENTAL: This method is subject to change.
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- getSortField(boolean) - Method in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- getSource() - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- getSources() - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- getSpans() - Method in class org.apache.lucene.queries.spans.SpanScorer
-
return the Spans for this Scorer *
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.SpanPayloadCheckWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery.SpanContainingWeight
-
Return spans from
big
that contain at least one spans fromlittle
. - getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.SpanNearWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanNotQuery.SpanNotWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanOrQuery.SpanOrWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery.SpanPositionCheckWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanTermQuery.SpanTermWeight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanWeight
-
Expert: Return a Spans object iterating over matches from this Weight
- getSpans(LeafReaderContext, SpanWeight.Postings) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery.SpanWithinWeight
-
Return spans from
little
that are contained in a spans frombig
. - getStart() - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- getStopWords() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Get the current stop words being used.
- getStopWords() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- getSubSpans() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- getSubSpans() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- getTerm() - Method in class org.apache.lucene.queries.spans.SpanTermQuery
-
Return the term whose spans are matched.
- getTerms() - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Gets the list of terms.
- getTermStates() - Method in class org.apache.lucene.queries.spans.SpanTermQuery
-
Returns the
TermStates
passed to the constructor, or null if it was not passed. - getTermStates(Collection<SpanWeight>) - Static method in class org.apache.lucene.queries.spans.SpanQuery
-
Build a map of terms to
TermStates
, for use in constructing SpanWeights - getTermStates(SpanWeight...) - Static method in class org.apache.lucene.queries.spans.SpanQuery
-
Build a map of terms to
TermStates
, for use in constructing SpanWeights - getUpperVal() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- getValue() - Method in class org.apache.lucene.queries.function.FunctionValues.ValueFiller
-
MutableValue will be reused across calls
- getValue() - Method in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
-
returns the literal value
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.docvalues.StrDocValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.FunctionValues
- getValueFiller() - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction.Values
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ByteKnnVectorFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.BytesRefFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnByteVectorValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnFloatValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DefFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.EnumFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.FloatKnnVectorFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.ValueSource
-
Gets the values for this reader and the context that was previously passed to createWeight().
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.IDFValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.IfFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.SimpleFloatFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.TermFreqValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.TFValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- getValues(Map<Object, Object>, LeafReaderContext) - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- getValueSource() - Method in class org.apache.lucene.queries.function.FunctionQuery
- getValueSource() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- getVectorIterator() - Method in class org.apache.lucene.queries.function.valuesource.VectorFieldFunction
- getWrappedQuery() - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- getWrappedQuery() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
-
Returns the wrapped query
- GT - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
GT Matches if the payload value is greater than the reference
- GTE - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
GTE Matches if the payload value is greater than or equal to the reference
H
- hash - Static variable in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- hashCode() - Method in class org.apache.lucene.queries.CommonTermsQuery
- hashCode() - Method in class org.apache.lucene.queries.function.FunctionMatchQuery
- hashCode() - Method in class org.apache.lucene.queries.function.FunctionQuery
- hashCode() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- hashCode() - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ByteKnnVectorFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnByteVectorValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ConstKnnFloatValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ConstValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.DoubleConstValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.DoubleFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.EnumFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.FieldCacheSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.FloatFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.FloatKnnVectorFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.ValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.IfFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.IntFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.QueryValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.SingleFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- hashCode() - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- hashCode() - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- hashCode() - Method in class org.apache.lucene.queries.intervals.IntervalQuery
- hashCode() - Method in class org.apache.lucene.queries.intervals.IntervalsSource
- hashCode() - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- hashCode() - Method in class org.apache.lucene.queries.payloads.AveragePayloadFunction
- hashCode() - Method in class org.apache.lucene.queries.payloads.MaxPayloadFunction
- hashCode() - Method in class org.apache.lucene.queries.payloads.MinPayloadFunction
- hashCode() - Method in class org.apache.lucene.queries.payloads.PayloadFunction
- hashCode() - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- hashCode() - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- hashCode() - Method in class org.apache.lucene.queries.payloads.SumPayloadFunction
- hashCode() - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- hashCode() - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- highFreqBoost - Variable in class org.apache.lucene.queries.CommonTermsQuery
- highFreqMinNrShouldMatch - Variable in class org.apache.lucene.queries.CommonTermsQuery
- highFreqOccur - Variable in class org.apache.lucene.queries.CommonTermsQuery
I
- IDFValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns
#idf(long, long)
for every document. - IDFValueSource(String, String, String, BytesRef) - Constructor for class org.apache.lucene.queries.function.valuesource.IDFValueSource
- IfFunction - Class in org.apache.lucene.queries.function.valuesource
-
Depending on the boolean value of the
ifSource
function, returns the value of thetrueSource
orfalseSource
function. - IfFunction(ValueSource, ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.IfFunction
- in - Variable in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- in - Variable in class org.apache.lucene.queries.intervals.IntervalFilter
- in - Variable in class org.apache.lucene.queries.spans.FilterSpans
-
The wrapped spans instance.
- indexedBytes - Variable in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- indexedBytes - Variable in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- indexedField - Variable in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- indexedField - Variable in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- indexedField - Variable in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- IndexReaderFunctions - Class in org.apache.lucene.queries.function
-
Class exposing static helper methods for generating DoubleValuesSource instances over some IndexReader statistics
- Initial Usage - Search tag in class org.apache.lucene.queries.mlt.MoreLikeThis
- Section
- inOrder - Variable in class org.apache.lucene.queries.spans.SpanNearQuery
- INT - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadType
-
INT is for a 4 byte payload that is a packed integer
- IntDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving int values. - IntDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.IntDocValues
- intercept - Variable in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- IntervalFilter - Class in org.apache.lucene.queries.intervals
-
Wraps an
IntervalIterator
and passes through those intervals that match theIntervalFilter.accept()
function - IntervalFilter(IntervalIterator) - Constructor for class org.apache.lucene.queries.intervals.IntervalFilter
-
Create a new filter
- IntervalIterator - Class in org.apache.lucene.queries.intervals
-
A
DocIdSetIterator
that also allows iteration over matching intervals in a document. - IntervalIterator() - Constructor for class org.apache.lucene.queries.intervals.IntervalIterator
- IntervalMatchesIterator - Interface in org.apache.lucene.queries.intervals
-
An extension of MatchesIterator that allows it to be treated as an IntervalIterator
- IntervalQuery - Search tag in package org.apache.lucene.queries.intervals
- Section
- IntervalQuery - Class in org.apache.lucene.queries.intervals
-
A query that retrieves documents containing intervals returned from an
IntervalsSource
- IntervalQuery(String, IntervalsSource) - Constructor for class org.apache.lucene.queries.intervals.IntervalQuery
-
Create a new IntervalQuery
- IntervalQuery(String, IntervalsSource, float) - Constructor for class org.apache.lucene.queries.intervals.IntervalQuery
-
Create a new IntervalQuery with a scoring pivot
- IntervalQuery(String, IntervalsSource, float, float) - Constructor for class org.apache.lucene.queries.intervals.IntervalQuery
-
Create a new IntervalQuery with a scoring pivot and exponent
- Interval query support in query parsers - Search tag in package org.apache.lucene.queries.intervals
- Section
- intervals(String, LeafReaderContext) - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- intervals(String, LeafReaderContext) - Method in class org.apache.lucene.queries.intervals.IntervalsSource
-
Create an
IntervalIterator
exposing the minimum intervals defined by thisIntervalsSource
- Intervals - Class in org.apache.lucene.queries.intervals
-
Factory functions for creating
interval sources
. - IntervalsSource - Search tag in package org.apache.lucene.queries.intervals
- Section
- IntervalsSource - Class in org.apache.lucene.queries.intervals
-
A helper class for
IntervalQuery
that provides anIntervalIterator
for a given field and segment - IntervalsSource() - Constructor for class org.apache.lucene.queries.intervals.IntervalsSource
- IntFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains int field values from
LeafReader.getNumericDocValues(java.lang.String)
and makes those values available as other numeric types, casting as needed. - IntFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.IntFieldSource
- intVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- intVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- intVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- intVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- intVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- intVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- intVal(int, int[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- isBoost() - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Returns whether to boost terms in query based on "score" or not.
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.SpanPayloadCheckWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery.SpanContainingWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.SpanNearWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanNotQuery.SpanNotWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanOrQuery.SpanOrWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery.SpanPositionCheckWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanTermQuery.SpanTermWeight
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery.SpanWithinWeight
- isIncludeLower() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- isIncludeUpper() - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- isInOrder() - Method in class org.apache.lucene.queries.spans.SpanNearQuery
-
Return true if matches are required to be in-order.
- iterator - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- iterator() - Method in class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- iterator() - Method in class org.apache.lucene.queries.function.ValueSourceScorer
- iterator() - Method in class org.apache.lucene.queries.spans.SpanScorer
J
- JoinDocFreqValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Use a field value and find the Document Frequency within another field.
- JoinDocFreqValueSource(String, String) - Constructor for class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
L
- lastApproxMatchDoc - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- lastApproxNonMatchDoc - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- like(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Return a query that will return docs like the passed lucene document ID.
- like(String, Reader...) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Return a query that will return docs like the passed Readers.
- like(Map<String, Collection<Object>>) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- LinearFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
LinearFloatFunction
implements a linear function over anotherValueSource
. - LinearFloatFunction(ValueSource, float, float) - Constructor for class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- LiteralValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Pass a the field value through as a String, no matter the type // Q: doesn't this mean it's a "string"?
- LiteralValueSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- LongDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving long values. - LongDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.LongDocValues
- LongFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains long field values from
LeafReader.getNumericDocValues(java.lang.String)
and makes those values available as other numeric types, casting as needed. - LongFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.LongFieldSource
- longToObject(long) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- longToString(long) - Method in class org.apache.lucene.queries.function.valuesource.LongFieldSource
- longVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- longVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- longVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- longVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- longVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- longVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- longVal(int, long[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- lowFreqBoost - Variable in class org.apache.lucene.queries.CommonTermsQuery
- lowFreqMinNrShouldMatch - Variable in class org.apache.lucene.queries.CommonTermsQuery
- lowFreqOccur - Variable in class org.apache.lucene.queries.CommonTermsQuery
- LT - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
LT Matches if the payload value is less than the reference
- LTE - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
LTE Matches if the payload value is less than or equal to the reference
M
- m - Variable in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- match - Variable in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- match - Variable in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- matchCost - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- matchCost() - Method in class org.apache.lucene.queries.function.ValueSourceScorer
-
Cost evaluation function which defines the cost of access for the TwoPhaseIterator for this class This method should be overridden for specifying custom cost methods.
- matchCost() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- matchCost() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
An indication of the average cost of iterating over all intervals in a document
- matchEnd - Variable in class org.apache.lucene.queries.spans.NearSpansOrdered
- matches(int) - Method in class org.apache.lucene.queries.function.ValueSourceScorer
-
Override to decide if this document matches.
- matches(String, LeafReaderContext, int) - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- matches(String, LeafReaderContext, int) - Method in class org.apache.lucene.queries.intervals.IntervalsSource
-
Return a
MatchesIterator
over the intervals defined by thisIntervalsSource
for a given document and field - matches(LeafReaderContext, int) - Method in class org.apache.lucene.queries.spans.SpanWeight
- matchStart - Variable in class org.apache.lucene.queries.spans.NearSpansOrdered
- matchWidth - Variable in class org.apache.lucene.queries.spans.NearSpansOrdered
- max - Variable in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- max - Variable in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- maxDoc() - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the index's maxDoc
- MaxDocValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Returns the value of
IndexReader.maxDoc()
for every document. - MaxDocValueSource() - Constructor for class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- MaxFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
MaxFloatFunction
returns the max of its components. - MaxFloatFunction(ValueSource[]) - Constructor for class org.apache.lucene.queries.function.valuesource.MaxFloatFunction
- maxgaps(int, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an
IntervalsSource
that filters a sub-source by its gaps - maxGaps(IntervalsSource, int) - Static method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- MaxPayloadFunction - Class in org.apache.lucene.queries.payloads
-
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
- MaxPayloadFunction() - Constructor for class org.apache.lucene.queries.payloads.MaxPayloadFunction
- maxTermFrequency - Variable in class org.apache.lucene.queries.CommonTermsQuery
- maxwidth(int, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an
IntervalsSource
that filters a sub-source by the width of its intervals - maxWidth(IntervalsSource, int) - Static method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- min - Variable in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- min - Variable in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- minExtent() - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- minExtent() - Method in class org.apache.lucene.queries.intervals.IntervalsSource
-
Return the minimum possible width of an interval returned by this source
- MinFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
MinFloatFunction
returns the min of its components. - MinFloatFunction(ValueSource[]) - Constructor for class org.apache.lucene.queries.function.valuesource.MinFloatFunction
- MinPayloadFunction - Class in org.apache.lucene.queries.payloads
-
Calculates the minimum payload seen
- MinPayloadFunction() - Constructor for class org.apache.lucene.queries.payloads.MinPayloadFunction
- More Advanced Usage - Search tag in class org.apache.lucene.queries.mlt.MoreLikeThis
- Section
- MoreLikeThis - Class in org.apache.lucene.queries.mlt
-
Generate "more like this" similarity queries.
- MoreLikeThis(IndexReader) - Constructor for class org.apache.lucene.queries.mlt.MoreLikeThis
-
Constructor requiring an IndexReader.
- MoreLikeThis(IndexReader, TFIDFSimilarity) - Constructor for class org.apache.lucene.queries.mlt.MoreLikeThis
- MoreLikeThisQuery - Class in org.apache.lucene.queries.mlt
-
A simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg in custom QueryParser extensions.
- MoreLikeThisQuery(String, String[], Analyzer, String) - Constructor for class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- MultiBoolFunction - Class in org.apache.lucene.queries.function.valuesource
-
Abstract
ValueSource
implementation which wraps multiple ValueSources and applies an extendible boolean function to their values. - MultiBoolFunction(List<ValueSource>) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- MultiFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
Abstract
ValueSource
implementation which wraps multiple ValueSources and applies an extendible float function to their values. - MultiFloatFunction(ValueSource[]) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- MultiFunction - Class in org.apache.lucene.queries.function.valuesource
-
Abstract parent class for
ValueSource
implementations that wrap multiple ValueSources and apply their own logic. - MultiFunction(List<ValueSource>) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiFunction
- MultiFunction.Values - Class in org.apache.lucene.queries.function.valuesource
-
Base implementation that wraps multiple sources
- multiterm(CompiledAutomaton, int, String) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that are accepted by the given automaton - multiterm(CompiledAutomaton, String) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that are accepted by the given automaton - MultiValuedDoubleFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains double field values from
LeafReader.getSortedNumericDocValues(java.lang.String)
and using aSortedNumericSelector
it gives a single-valued ValueSource view of a field. - MultiValuedDoubleFieldSource(String, SortedNumericSelector.Type) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- MultiValuedFloatFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains float field values from
LeafReader.getSortedNumericDocValues(java.lang.String)
and using aSortedNumericSelector
it gives a single-valued ValueSource view of a field. - MultiValuedFloatFieldSource(String, SortedNumericSelector.Type) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- MultiValuedIntFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains int field values from
LeafReader.getSortedNumericDocValues(java.lang.String)
and using aSortedNumericSelector
it gives a single-valued ValueSource view of a field. - MultiValuedIntFieldSource(String, SortedNumericSelector.Type) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- MultiValuedLongFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Obtains long field values from
LeafReader.getSortedNumericDocValues(java.lang.String)
and using aSortedNumericSelector
it gives a single-valued ValueSource view of a field. - MultiValuedLongFieldSource(String, SortedNumericSelector.Type) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- MultiValueSource - Class in org.apache.lucene.queries.function.valuesource
-
A
ValueSource
that abstractly representsValueSource
s for poly fields, and other things. - MultiValueSource() - Constructor for class org.apache.lucene.queries.function.valuesource.MultiValueSource
N
- name() - Method in class org.apache.lucene.queries.function.valuesource.ComparisonBoolFunction
-
Uniquely identify the operation (ie "gt", "lt" "gte", etc)
- name() - Method in class org.apache.lucene.queries.function.valuesource.DefFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.DivFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.DualFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.IDFValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.MaxDocValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.MaxFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.MinFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.NormValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.PowFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.ProductFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.SingleFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.SumFloatFunction
- name() - Method in class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.TermFreqValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.TFValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- name() - Method in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- NAME - Static variable in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- NearSpansOrdered - Class in org.apache.lucene.queries.spans
-
A Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.
- NearSpansOrdered(int, List<Spans>) - Constructor for class org.apache.lucene.queries.spans.NearSpansOrdered
- NearSpansUnordered - Class in org.apache.lucene.queries.spans
-
Similar to
NearSpansOrdered
, but for the unordered case. - NearSpansUnordered(int, List<Spans>) - Constructor for class org.apache.lucene.queries.spans.NearSpansUnordered
- newContext(IndexSearcher) - Static method in class org.apache.lucene.queries.function.ValueSource
-
Returns a new non-threadsafe context map.
- newOrderedNearQuery(String) - Static method in class org.apache.lucene.queries.spans.SpanNearQuery
-
Returns a
SpanNearQuery.Builder
for an ordered query on a particular field - newTermQuery(Term, TermStates) - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Builds a new TermQuery instance.
- newUnorderedNearQuery(String) - Static method in class org.apache.lucene.queries.spans.SpanNearQuery
-
Returns a
SpanNearQuery.Builder
for an unordered query on a particular field - next - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- nextDoc() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- nextDoc() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- nextDoc() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- nextDoc() - Method in class org.apache.lucene.queries.spans.FilterSpans
- nextDoc() - Method in class org.apache.lucene.queries.spans.TermSpans
- nextInterval() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- nextInterval() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
Advance the iterator to the next interval
- nextStartPosition() - Method in class org.apache.lucene.queries.spans.FilterSpans
- nextStartPosition() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- nextStartPosition() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- nextStartPosition() - Method in class org.apache.lucene.queries.spans.Spans
-
Returns the next start position for the current doc.
- nextStartPosition() - Method in class org.apache.lucene.queries.spans.TermSpans
- NO - Enum constant in enum class org.apache.lucene.queries.spans.FilterSpans.AcceptStatus
-
Indicates the match should be rejected
- NO_MORE_IN_CURRENT_DOC - Enum constant in enum class org.apache.lucene.queries.spans.FilterSpans.AcceptStatus
-
Indicates the match should be rejected, and the enumeration may continue with the next document.
- NO_MORE_INTERVALS - Static variable in class org.apache.lucene.queries.intervals.IntervalIterator
-
When returned from
IntervalIterator.nextInterval()
, indicates that there are no more matching intervals on the current document - NO_MORE_POSITIONS - Static variable in class org.apache.lucene.queries.spans.Spans
- noIntervals(String) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns a source that produces no intervals
- nonOverlapping(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a non-overlapping IntervalsSource
- NormValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns the decoded norm for every document.
- NormValueSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.NormValueSource
- notContainedBy(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a not-contained-by
IntervalsSource
- notContaining(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a not-containing
IntervalsSource
- notWithin(IntervalsSource, int, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create a not-within
IntervalsSource
- numDeletedDocs() - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the number of deleted docs in the index
- numDocs() - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the index's numDocs
- NumDocsValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Returns the value of
IndexReader.numDocs()
for every document. - NumDocsValueSource() - Constructor for class org.apache.lucene.queries.function.valuesource.NumDocsValueSource
- numOrd() - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- numOrd() - Method in class org.apache.lucene.queries.function.FunctionValues
O
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.docvalues.StrDocValues
- objectVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
-
Native Java Object representation of the value
- OFFSETS - Enum constant in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
- operation - Variable in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- or(boolean, List<IntervalsSource>) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of a set of sub-sources - or(boolean, IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of a set of sub-sources - or(List<IntervalsSource>) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of a set of sub-sources - or(IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of a set of sub-sources - ordered(IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an ordered
IntervalsSource
- ordVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- ordVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- org.apache.lucene.queries - package org.apache.lucene.queries
-
Filters and Queries that add to core Lucene.
- org.apache.lucene.queries.function - package org.apache.lucene.queries.function
-
Queries that compute score based upon a function.
- org.apache.lucene.queries.function.docvalues - package org.apache.lucene.queries.function.docvalues
-
FunctionValues for different data types.
- org.apache.lucene.queries.function.valuesource - package org.apache.lucene.queries.function.valuesource
-
A variety of functions to use with FunctionQuery.
- org.apache.lucene.queries.intervals - package org.apache.lucene.queries.intervals
-
Intervals queries
- org.apache.lucene.queries.mlt - package org.apache.lucene.queries.mlt
-
Document similarity query generators.
- org.apache.lucene.queries.payloads - package org.apache.lucene.queries.payloads
-
The payloads package provides Query mechanisms for finding and using payloads.
- org.apache.lucene.queries.spans - package org.apache.lucene.queries.spans
-
The calculus of spans.
- overlapping(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals from a source that overlap with intervals from another source
P
- PayloadDecoder - Interface in org.apache.lucene.queries.payloads
-
Defines a way of converting payloads to float values, for use by
PayloadScoreQuery
- PayloadFunction - Class in org.apache.lucene.queries.payloads
-
An abstract class that defines a way for PayloadScoreQuery instances to transform the cumulative effects of payload scores for a document.
- PayloadFunction() - Constructor for class org.apache.lucene.queries.payloads.PayloadFunction
- PayloadMatcher - Interface in org.apache.lucene.queries.payloads
-
Defines an interface for testing if two payloads should be consider to match
- PayloadMatcherFactory - Class in org.apache.lucene.queries.payloads
-
Creates a payload matcher object based on a payload type and an operation.
- PayloadMatcherFactory() - Constructor for class org.apache.lucene.queries.payloads.PayloadMatcherFactory
- PAYLOADS - Enum constant in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
- PayloadScoreQuery - Class in org.apache.lucene.queries.payloads
-
A Query class that uses a
PayloadFunction
to modify the score of a wrappedSpanQuery
. - PayloadScoreQuery(SpanQuery, PayloadFunction, PayloadDecoder) - Constructor for class org.apache.lucene.queries.payloads.PayloadScoreQuery
-
Creates a new PayloadScoreQuery that includes the underlying span scores
- PayloadScoreQuery(SpanQuery, PayloadFunction, PayloadDecoder, boolean) - Constructor for class org.apache.lucene.queries.payloads.PayloadScoreQuery
-
Creates a new PayloadScoreQuery
- payloadToMatch - Variable in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- payloadType - Variable in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- phrase(String...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a phrase consisting of a list of terms - phrase(IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a phrase consisting of a list ofinterval sources
- position - Variable in class org.apache.lucene.queries.spans.TermSpans
- POSITIONS - Enum constant in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
- positionsCost() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- positionsCost() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- positionsCost() - Method in class org.apache.lucene.queries.spans.FilterSpans
- positionsCost() - Method in class org.apache.lucene.queries.spans.Spans
-
Return an estimation of the cost of using the positions of this
Spans
for any single document, but only afterSpans.asTwoPhaseIterator()
returnednull
. - positionsCost() - Method in class org.apache.lucene.queries.spans.TermSpans
- postings - Variable in class org.apache.lucene.queries.spans.TermSpans
- PowFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
Function to raise the base "a" to the power "b"
- PowFloatFunction(ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.PowFloatFunction
- prefix(BytesRef) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of all terms that begin with a prefix - prefix(BytesRef, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that begin with a prefix - ProductFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
ProductFloatFunction
returns the product of its components. - ProductFloatFunction(ValueSource[]) - Constructor for class org.apache.lucene.queries.function.valuesource.ProductFloatFunction
- pullUpDisjunctions() - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- pullUpDisjunctions() - Method in class org.apache.lucene.queries.intervals.IntervalsSource
-
Expert: return the set of disjunctions that make up this IntervalsSource
Q
- qfield - Variable in class org.apache.lucene.queries.function.valuesource.JoinDocFreqValueSource
- query - Variable in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- QueryValueSource - Class in org.apache.lucene.queries.function.valuesource
-
QueryValueSource
returns the relevance score of the query - QueryValueSource(Query, float) - Constructor for class org.apache.lucene.queries.function.valuesource.QueryValueSource
R
- range(BytesRef, BytesRef, boolean, boolean) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of all terms that fall within the given range - range(BytesRef, BytesRef, boolean, boolean, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that fall within the given range - RangeMapFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
RangeMapFloatFunction
implements a map function over anotherValueSource
whose values fall within min and max inclusive to target. - RangeMapFloatFunction(ValueSource, float, float, float, Float) - Constructor for class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- RangeMapFloatFunction(ValueSource, float, float, ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- readPayload - Variable in class org.apache.lucene.queries.spans.TermSpans
- ReciprocalFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
ReciprocalFloatFunction
implements a reciprocal function f(x) = a/(mx+b), based on the float value of a field or function as exported byValueSource
. - ReciprocalFloatFunction(ValueSource, float, float, float) - Constructor for class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
-
f(source) = a/(m*float(source)+b)
- regexp(BytesRef) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of all terms that match a regular expression - regexp(BytesRef, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that match a regular expression - reset() - Method in interface org.apache.lucene.queries.spans.SpanCollector
-
Call to indicate that the driving Spans has moved to a new position
- retrieveInterestingTerms(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- retrieveInterestingTerms(Reader, String) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Convenience routine to make it easy to return the most interesting words in a document.
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.CommonTermsQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- rewrite(IndexSearcher) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- rewrite(IndexSearcher, MultiTermQuery) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
- rewrite(IndexSearcher, MultiTermQuery) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
S
- ScaleFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
Scales values to be between min and max.
- ScaleFloatFunction(ValueSource, float, float) - Constructor for class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- score() - Method in class org.apache.lucene.queries.function.FunctionQuery.AllScorer
- score() - Method in class org.apache.lucene.queries.function.ValueSourceScorer
- score() - Method in class org.apache.lucene.queries.spans.SpanScorer
- scoreCurrentDoc() - Method in class org.apache.lucene.queries.spans.SpanScorer
-
Score the current doc.
- scorerSupplier(LeafReaderContext) - Method in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- scorerSupplier(LeafReaderContext) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.SpanPayloadCheckWeight
- scorerSupplier(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery.SpanContainingWeight
- scorerSupplier(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.SpanNearWeight
- scorerSupplier(LeafReaderContext) - Method in class org.apache.lucene.queries.spans.SpanWeight
- SCORING_SPAN_QUERY_REWRITE - Static variable in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the scores as computed by the query. - searcher - Variable in class org.apache.lucene.queries.function.FunctionQuery.FunctionWeight
- selector - Variable in class org.apache.lucene.queries.function.valuesource.MultiValuedDoubleFieldSource
- selector - Variable in class org.apache.lucene.queries.function.valuesource.MultiValuedFloatFieldSource
- selector - Variable in class org.apache.lucene.queries.function.valuesource.MultiValuedIntFieldSource
- selector - Variable in class org.apache.lucene.queries.function.valuesource.MultiValuedLongFieldSource
- selector - Variable in class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- setAnalyzer(Analyzer) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the analyzer to use.
- setAnalyzer(Analyzer) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setBoost(boolean) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets whether to boost terms in query based on "score" or not.
- setBoostFactor(float) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the boost factor to use when boosting terms
- setFieldNames(String[]) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the field names that will be used when generating the 'More Like This' query.
- setFreqCurrentDoc() - Method in class org.apache.lucene.queries.spans.SpanScorer
-
Sets
SpanScorer.freq
for the current document. - setHighFreqMinimumNumberShouldMatch(float) - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Specifies a minimum number of the high frequent optional BooleanClauses which must be satisfied in order to produce a match on the low frequency terms query part.
- setLikeText(String) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setLowFreqMinimumNumberShouldMatch(float) - Method in class org.apache.lucene.queries.CommonTermsQuery
-
Specifies a minimum number of the low frequent optional BooleanClauses which must be satisfied in order to produce a match on the low frequency terms query part.
- setMaxDocFreq(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Set the maximum frequency in which words may still appear.
- setMaxDocFreqPct(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Set the maximum percentage in which words may still appear.
- setMaxNumTokensParsed(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- setMaxQueryTerms(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the maximum number of query terms that will be included in any generated query.
- setMaxQueryTerms(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setMaxWordLen(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the maximum word length above which words will be ignored.
- setMinDocFreq(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the frequency at which words will be ignored which do not occur in at least this many docs.
- setMinDocFreq(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setMinTermFreq(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the frequency below which terms will be ignored in the source doc.
- setMinTermFrequency(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setMinWordLen(int) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Sets the minimum word length below which words will be ignored.
- setMoreLikeFields(String[]) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setPercentTermsToMatch(float) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- setRewriteMethod(SpanMultiTermQueryWrapper.SpanRewriteMethod) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
-
Expert: sets the rewrite method.
- setSimilarity(TFIDFSimilarity) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
- setSlop(int) - Method in class org.apache.lucene.queries.spans.SpanNearQuery.Builder
-
Set the slop for this query
- setStopWords(Set<?>) - Method in class org.apache.lucene.queries.mlt.MoreLikeThis
-
Set the set of stopwords.
- setStopWords(Set<?>) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- shortVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- shortVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- shortVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- shortVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- shortVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- shortVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- shortVal(int, short[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- similarity - Variable in class org.apache.lucene.queries.spans.SpanWeight
- similarityFunction - Variable in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- SimpleBoolFunction - Class in org.apache.lucene.queries.function.valuesource
-
BoolFunction
implementation which applies an extendible boolean function to the values of a single wrappedValueSource
. - SimpleBoolFunction(ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- SimpleFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
A simple float function with a single argument
- SimpleFloatFunction(ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.SimpleFloatFunction
- simScorer - Variable in class org.apache.lucene.queries.spans.SpanWeight
- SingleFunction - Class in org.apache.lucene.queries.function.valuesource
-
A function with a single argument
- SingleFunction(ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.SingleFunction
- slop - Variable in class org.apache.lucene.queries.spans.SpanNearQuery
- slope - Variable in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- SortedSetFieldSource - Class in org.apache.lucene.queries.function.valuesource
-
Retrieves
FunctionValues
instances for multi-valued string based fields. - SortedSetFieldSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- SortedSetFieldSource(String, SortedSetSelector.Type) - Constructor for class org.apache.lucene.queries.function.valuesource.SortedSetFieldSource
- source - Variable in class org.apache.lucene.queries.function.valuesource.LinearFloatFunction
- source - Variable in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- source - Variable in class org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction
- source - Variable in class org.apache.lucene.queries.function.valuesource.ScaleFloatFunction
- source - Variable in class org.apache.lucene.queries.function.valuesource.SimpleBoolFunction
- source - Variable in class org.apache.lucene.queries.function.valuesource.SingleFunction
- sources - Variable in class org.apache.lucene.queries.function.valuesource.MultiBoolFunction
- sources - Variable in class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
- sources - Variable in class org.apache.lucene.queries.function.valuesource.MultiFunction
- sources - Variable in class org.apache.lucene.queries.function.valuesource.VectorValueSource
- SpanCollector - Interface in org.apache.lucene.queries.spans
-
An interface defining the collection of postings information from the leaves of a
Spans
- SpanContainingQuery - Class in org.apache.lucene.queries.spans
-
Keep matches that contain another SpanScorer.
- SpanContainingQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.queries.spans.SpanContainingQuery
-
Construct a SpanContainingQuery matching spans from
big
that contain at least one spans fromlittle
. - SpanContainingQuery.SpanContainingWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanContainingQuery scorer instances
- SpanContainingWeight(IndexSearcher, Map<Term, TermStates>, SpanWeight, SpanWeight, float) - Constructor for class org.apache.lucene.queries.spans.SpanContainingQuery.SpanContainingWeight
- SpanDisiWrapper - Class in org.apache.lucene.queries.spans
-
Wrapper used in
SpanDisiPriorityQueue
. - SpanDisiWrapper(Spans) - Constructor for class org.apache.lucene.queries.spans.SpanDisiWrapper
- SpanFirstQuery - Class in org.apache.lucene.queries.spans
-
Matches spans near the beginning of a field.
- SpanFirstQuery(SpanQuery, int) - Constructor for class org.apache.lucene.queries.spans.SpanFirstQuery
-
Construct a SpanFirstQuery matching spans in
match
whose end position is less than or equal toend
. - SpanMultiTermQueryWrapper<Q> - Class in org.apache.lucene.queries.spans
-
Wraps any
MultiTermQuery
as aSpanQuery
, so it can be nested within other SpanQuery classes. - SpanMultiTermQueryWrapper(Q) - Constructor for class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
-
Create a new SpanMultiTermQueryWrapper.
- SpanMultiTermQueryWrapper.SpanRewriteMethod - Class in org.apache.lucene.queries.spans
-
Abstract class that defines how the query is rewritten.
- SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite - Class in org.apache.lucene.queries.spans
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the scores as computed by the query. - SpanNearQuery - Class in org.apache.lucene.queries.spans
-
Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.queries.spans.SpanNearQuery
-
Construct a SpanNearQuery.
- SpanNearQuery.Builder - Class in org.apache.lucene.queries.spans
-
A builder for SpanNearQueries
- SpanNearQuery.SpanNearWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanNearQuery scorer instances
- SpanNearWeight(List<SpanWeight>, IndexSearcher, Map<Term, TermStates>, float) - Constructor for class org.apache.lucene.queries.spans.SpanNearQuery.SpanNearWeight
- SpanNotQuery - Class in org.apache.lucene.queries.spans
-
Removes matches which overlap with another SpanQuery or which are within x tokens before or y tokens after another SpanQuery.
- SpanNotQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.queries.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from
include
which have no overlap with spans fromexclude
. - SpanNotQuery(SpanQuery, SpanQuery, int) - Constructor for class org.apache.lucene.queries.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from
include
which have no overlap with spans fromexclude
withindist
tokens ofinclude
. - SpanNotQuery(SpanQuery, SpanQuery, int, int) - Constructor for class org.apache.lucene.queries.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from
include
which have no overlap with spans fromexclude
withinpre
tokens before orpost
tokens ofinclude
. - SpanNotQuery.SpanNotWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanNotQuery scorer instances
- SpanNotWeight(IndexSearcher, Map<Term, TermStates>, SpanWeight, SpanWeight, float) - Constructor for class org.apache.lucene.queries.spans.SpanNotQuery.SpanNotWeight
- SpanOrQuery - Class in org.apache.lucene.queries.spans
-
Matches the union of its clauses.
- SpanOrQuery(SpanQuery...) - Constructor for class org.apache.lucene.queries.spans.SpanOrQuery
-
Construct a SpanOrQuery merging the provided clauses.
- SpanOrQuery.SpanOrWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanOrQuery scorer instances
- SpanOrWeight(IndexSearcher, Map<Term, TermStates>, List<SpanWeight>, float) - Constructor for class org.apache.lucene.queries.spans.SpanOrQuery.SpanOrWeight
- SpanPayloadCheckQuery - Class in org.apache.lucene.queries.payloads
-
Only return those matches that have a specific payload at the given position.
- SpanPayloadCheckQuery(SpanQuery, List<BytesRef>) - Constructor for class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- SpanPayloadCheckQuery(SpanQuery, List<BytesRef>, SpanPayloadCheckQuery.PayloadType, SpanPayloadCheckQuery.MatchOperation) - Constructor for class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- SpanPayloadCheckQuery.MatchOperation - Enum Class in org.apache.lucene.queries.payloads
-
The payload type.
- SpanPayloadCheckQuery.PayloadType - Enum Class in org.apache.lucene.queries.payloads
-
The payload type.
- SpanPayloadCheckQuery.SpanPayloadCheckWeight - Class in org.apache.lucene.queries.payloads
-
Weight that pulls its Spans using a PayloadSpanCollector
- SpanPayloadCheckWeight(IndexSearcher, Map<Term, TermStates>, SpanWeight, float, SpanPayloadCheckQuery.PayloadType) - Constructor for class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.SpanPayloadCheckWeight
- SpanPositionCheckQuery - Class in org.apache.lucene.queries.spans
-
Base class for filtering a SpanQuery based on the position of a match.
- SpanPositionCheckQuery(SpanQuery) - Constructor for class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- SpanPositionCheckQuery.SpanPositionCheckWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanPositionCheckQuery scorer instances
- SpanPositionCheckWeight(SpanWeight, IndexSearcher, Map<Term, TermStates>, float) - Constructor for class org.apache.lucene.queries.spans.SpanPositionCheckQuery.SpanPositionCheckWeight
- SpanPositionRangeQuery - Class in org.apache.lucene.queries.spans
-
Checks to see if the
SpanPositionCheckQuery.getMatch()
lies between a start and end position - SpanPositionRangeQuery(SpanQuery, int, int) - Constructor for class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- SpanQuery - Class in org.apache.lucene.queries.spans
-
Base class for span-based queries.
- SpanQuery() - Constructor for class org.apache.lucene.queries.spans.SpanQuery
- SpanRewriteMethod() - Constructor for class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
- spans - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
- spans - Variable in class org.apache.lucene.queries.spans.SpanScorer
- Spans - Class in org.apache.lucene.queries.spans
-
Iterates through combinations of start/end positions per-doc.
- Spans() - Constructor for class org.apache.lucene.queries.spans.Spans
- SpanScorer - Class in org.apache.lucene.queries.spans
- SpanScorer(Spans, LeafSimScorer) - Constructor for class org.apache.lucene.queries.spans.SpanScorer
-
Sole constructor.
- SpanTermQuery - Class in org.apache.lucene.queries.spans
-
Matches spans containing a term.
- SpanTermQuery(Term) - Constructor for class org.apache.lucene.queries.spans.SpanTermQuery
-
Construct a SpanTermQuery matching the named term's spans.
- SpanTermQuery(Term, TermStates) - Constructor for class org.apache.lucene.queries.spans.SpanTermQuery
-
Expert: Construct a SpanTermQuery matching the named term's spans, using the provided TermStates
- SpanTermQuery.SpanTermWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanTermQuery scorer instances
- SpanTermWeight(TermStates, IndexSearcher, Map<Term, TermStates>, float) - Constructor for class org.apache.lucene.queries.spans.SpanTermQuery.SpanTermWeight
- SpanWeight - Class in org.apache.lucene.queries.spans
-
Expert-only.
- SpanWeight(SpanQuery, IndexSearcher, Map<Term, TermStates>, float) - Constructor for class org.apache.lucene.queries.spans.SpanWeight
-
Create a new SpanWeight
- SpanWeight.Postings - Enum Class in org.apache.lucene.queries.spans
-
Enumeration defining what postings information should be retrieved from the index for a given Spans
- SpanWithinQuery - Class in org.apache.lucene.queries.spans
-
Keep matches that are contained within another Spans.
- SpanWithinQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.queries.spans.SpanWithinQuery
-
Construct a SpanWithinQuery matching spans from
little
that are inside ofbig
. - SpanWithinQuery.SpanWithinWeight - Class in org.apache.lucene.queries.spans
-
Creates SpanWithinQuery scorer instances
- SpanWithinWeight(IndexSearcher, Map<Term, TermStates>, SpanWeight, SpanWeight, float) - Constructor for class org.apache.lucene.queries.spans.SpanWithinQuery.SpanWithinWeight
- spareChars - Variable in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- start - Variable in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- start() - Method in class org.apache.lucene.queries.intervals.IntervalFilter
- start() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
The start of the current interval
- startPosition() - Method in class org.apache.lucene.queries.spans.FilterSpans
- startPosition() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- startPosition() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- startPosition() - Method in class org.apache.lucene.queries.spans.Spans
-
Returns the start position in the current doc, or -1 when
Spans.nextStartPosition()
was not yet called on the current doc. - startPosition() - Method in class org.apache.lucene.queries.spans.TermSpans
- StrDocValues - Class in org.apache.lucene.queries.function.docvalues
-
Abstract
FunctionValues
implementation which supports retrieving String values. - StrDocValues(ValueSource) - Constructor for class org.apache.lucene.queries.function.docvalues.StrDocValues
- string - Variable in class org.apache.lucene.queries.function.valuesource.LiteralValueSource
- STRING - Enum constant in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadType
-
STRING is a UTF8 encoded string, decoded from the byte array
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.docvalues.StrDocValues
- strVal(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- strVal(int, String[]) - Method in class org.apache.lucene.queries.function.FunctionValues
- sumDocFreq(String) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the sumDocFreq for a given field
- SumFloatFunction - Class in org.apache.lucene.queries.function.valuesource
-
SumFloatFunction
returns the sum of its components. - SumFloatFunction(ValueSource[]) - Constructor for class org.apache.lucene.queries.function.valuesource.SumFloatFunction
- SumPayloadFunction - Class in org.apache.lucene.queries.payloads
-
Calculate the final score as the sum of scores of all payloads seen.
- SumPayloadFunction() - Constructor for class org.apache.lucene.queries.payloads.SumPayloadFunction
- sumTotalTermFreq(String) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the sumTotalTermFreq for a field
- SumTotalTermFreqValueSource - Class in org.apache.lucene.queries.function.valuesource
-
SumTotalTermFreqValueSource
returns the number of tokens. - SumTotalTermFreqValueSource(String) - Constructor for class org.apache.lucene.queries.function.valuesource.SumTotalTermFreqValueSource
T
- target - Variable in class org.apache.lucene.queries.function.valuesource.RangeMapFloatFunction
- term - Variable in class org.apache.lucene.queries.spans.SpanTermQuery
- term - Variable in class org.apache.lucene.queries.spans.TermSpans
- term(String) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a term - term(String, Predicate<BytesRef>) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each position - term(BytesRef) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a term - term(BytesRef, Predicate<BytesRef>) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each position - termFreq(Term) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a value source that returns the term freq of a given term for each document
- TermFreqValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns
PostingsEnum.freq()
for the supplied term in every document. - TermFreqValueSource(String, String, String, BytesRef) - Constructor for class org.apache.lucene.queries.function.valuesource.TermFreqValueSource
- terms - Variable in class org.apache.lucene.queries.CommonTermsQuery
- termsIndex - Variable in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- TermSpans - Class in org.apache.lucene.queries.spans
-
Expert: Public for extension only.
- TermSpans(LeafSimScorer, PostingsEnum, Term, float) - Constructor for class org.apache.lucene.queries.spans.TermSpans
- termStates - Variable in class org.apache.lucene.queries.spans.SpanTermQuery
- TFValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Function that returns
TFIDFSimilarity.tf(float)
for every document. - TFValueSource(String, String, String, BytesRef) - Constructor for class org.apache.lucene.queries.function.valuesource.TFValueSource
- TopTermsSpanBooleanQueryRewrite(int) - Constructor for class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
Create a TopTermsSpanBooleanQueryRewrite for at most
size
terms. - toString() - Method in class org.apache.lucene.queries.function.ValueSource
- toString() - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- toString() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
- toString() - Method in class org.apache.lucene.queries.intervals.IntervalsSource
- toString() - Method in class org.apache.lucene.queries.spans.FilterSpans
- toString() - Method in class org.apache.lucene.queries.spans.Spans
- toString() - Method in class org.apache.lucene.queries.spans.TermSpans
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.IntDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.LongDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.docvalues.StrDocValues
- toString(int) - Method in class org.apache.lucene.queries.function.FunctionValues
- toString(int) - Method in class org.apache.lucene.queries.function.valuesource.MultiFunction.Values
- toString(int) - Method in class org.apache.lucene.queries.function.valuesource.VectorFieldFunction
- toString(String) - Method in class org.apache.lucene.queries.CommonTermsQuery
- toString(String) - Method in class org.apache.lucene.queries.function.FunctionMatchQuery
- toString(String) - Method in class org.apache.lucene.queries.function.FunctionQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- toString(String) - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- toString(String) - Method in class org.apache.lucene.queries.intervals.IntervalQuery
- toString(String) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- toString(String) - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- toString(String) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanFirstQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanPositionRangeQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- toString(String) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- toString(String, FunctionValues[], int) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- totalTermFreq(Term) - Static method in class org.apache.lucene.queries.function.IndexReaderFunctions
-
Creates a constant value source returning the totalTermFreq for a given term
- TotalTermFreqValueSource - Class in org.apache.lucene.queries.function.valuesource
-
TotalTermFreqValueSource
returns the total term freq (sum of term freqs across all documents). - TotalTermFreqValueSource(String, String, String, BytesRef) - Constructor for class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- toTerm(String) - Method in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- twoPhaseIterator() - Method in class org.apache.lucene.queries.function.ValueSourceScorer
- twoPhaseIterator() - Method in class org.apache.lucene.queries.spans.SpanScorer
- twoPhaseView - Variable in class org.apache.lucene.queries.spans.SpanDisiWrapper
U
- unordered(IntervalsSource...) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an unordered
IntervalsSource
. - unorderedNoOverlaps(IntervalsSource, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Create an unordered
IntervalsSource
allowing no overlaps between subsources
V
- val - Variable in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- val - Variable in class org.apache.lucene.queries.function.valuesource.DocFreqValueSource
- val - Variable in class org.apache.lucene.queries.function.valuesource.TotalTermFreqValueSource
- valsArr(List<ValueSource>, Map<Object, Object>, LeafReaderContext) - Static method in class org.apache.lucene.queries.function.valuesource.MultiFunction
- ValueFiller() - Constructor for class org.apache.lucene.queries.function.FunctionValues.ValueFiller
- valueOf(String) - Static method in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.lucene.queries.spans.FilterSpans.AcceptStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
-
Returns the enum constant of this class with the specified name.
- values - Variable in class org.apache.lucene.queries.function.ValueSourceScorer
- values() - Static method in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.MatchOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.lucene.queries.spans.FilterSpans.AcceptStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.lucene.queries.spans.SpanWeight.Postings
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Values(FunctionValues[]) - Constructor for class org.apache.lucene.queries.function.valuesource.MultiFunction.Values
- valueSource - Variable in class org.apache.lucene.queries.function.valuesource.VectorFieldFunction
- ValueSource - Class in org.apache.lucene.queries.function
-
Instantiates
FunctionValues
for a particular reader. - ValueSource() - Constructor for class org.apache.lucene.queries.function.ValueSource
- ValueSourceScorer - Class in org.apache.lucene.queries.function
-
Scorer
which returns the result ofFunctionValues.floatVal(int)
as the score for a document, and which filters out documents that don't matchValueSourceScorer.matches(int)
. - ValueSourceScorer(LeafReaderContext, FunctionValues) - Constructor for class org.apache.lucene.queries.function.ValueSourceScorer
- vector1 - Variable in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- vector2 - Variable in class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- VectorFieldFunction - Class in org.apache.lucene.queries.function.valuesource
-
An implementation for retrieving
FunctionValues
instances for knn vectors fields. - VectorFieldFunction(ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.VectorFieldFunction
- VectorSimilarityFunction - Class in org.apache.lucene.queries.function.valuesource
-
VectorSimilarityFunction
returns a similarity function between two knn vectors. - VectorSimilarityFunction(VectorSimilarityFunction, ValueSource, ValueSource) - Constructor for class org.apache.lucene.queries.function.valuesource.VectorSimilarityFunction
- VectorValueSource - Class in org.apache.lucene.queries.function.valuesource
-
Converts individual ValueSource instances to leverage the FunctionValues *Val functions that work with multiple values, i.e.
- VectorValueSource(List<ValueSource>) - Constructor for class org.apache.lucene.queries.function.valuesource.VectorValueSource
- visit(String, QueryVisitor) - Method in class org.apache.lucene.queries.intervals.FilteredIntervalsSource
- visit(String, QueryVisitor) - Method in class org.apache.lucene.queries.intervals.IntervalsSource
-
Expert: visit the tree of sources
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.CommonTermsQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.function.FunctionMatchQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.function.FunctionQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.function.FunctionRangeQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.function.FunctionScoreQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.intervals.IntervalQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.mlt.MoreLikeThisQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.payloads.PayloadScoreQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.payloads.SpanPayloadCheckQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.FieldMaskingSpanQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanContainingQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanWithinQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanMultiTermQueryWrapper
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanNearQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanNotQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanOrQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanPositionCheckQuery
- visit(QueryVisitor) - Method in class org.apache.lucene.queries.spans.SpanTermQuery
- vs - Variable in class org.apache.lucene.queries.function.docvalues.BoolDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.DocTermsIndexDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.DoubleDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.FloatDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.IntDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.LongDocValues
- vs - Variable in class org.apache.lucene.queries.function.docvalues.StrDocValues
W
- width() - Method in class org.apache.lucene.queries.intervals.IntervalIterator
-
The width of the current interval
- width() - Method in interface org.apache.lucene.queries.intervals.IntervalMatchesIterator
-
The width of the current match
- width() - Method in class org.apache.lucene.queries.spans.FilterSpans
- width() - Method in class org.apache.lucene.queries.spans.NearSpansOrdered
- width() - Method in class org.apache.lucene.queries.spans.NearSpansUnordered
- width() - Method in class org.apache.lucene.queries.spans.Spans
-
Return the width of the match, which is typically used to sloppy freq.
- width() - Method in class org.apache.lucene.queries.spans.TermSpans
- wildcard(BytesRef) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Return an
IntervalsSource
over the disjunction of all terms that match a wildcard glob - wildcard(BytesRef, int) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Expert: Return an
IntervalsSource
over the disjunction of all terms that match a wildcard glob - within(IntervalsSource, int, IntervalsSource) - Static method in class org.apache.lucene.queries.intervals.Intervals
-
Returns intervals of the source that appear within a set number of positions of intervals from the reference
Y
- YES - Enum constant in enum class org.apache.lucene.queries.spans.FilterSpans.AcceptStatus
-
Indicates the match should be accepted
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form