Uses of Class
org.apache.lucene.queries.intervals.IntervalsSource
-
Packages that use IntervalsSource Package Description org.apache.lucene.queries.intervals Intervals queries -
-
Uses of IntervalsSource in org.apache.lucene.queries.intervals
Subclasses of IntervalsSource in org.apache.lucene.queries.intervals Modifier and Type Class Description class
FilteredIntervalsSource
An IntervalsSource that filters the intervals from another IntervalsSourceFields in org.apache.lucene.queries.intervals declared as IntervalsSource Modifier and Type Field Description protected IntervalsSource
FilteredIntervalsSource. in
Methods in org.apache.lucene.queries.intervals that return IntervalsSource Modifier and Type Method Description static IntervalsSource
Intervals. after(IntervalsSource source, IntervalsSource reference)
Returns intervals from the source that appear after intervals from the referencestatic IntervalsSource
Intervals. atLeast(int minShouldMatch, IntervalsSource... sources)
Return intervals that span combinations of intervals fromminShouldMatch
of the sourcesstatic IntervalsSource
Intervals. before(IntervalsSource source, IntervalsSource reference)
Returns intervals from the source that appear before intervals from the referencestatic IntervalsSource
Intervals. containedBy(IntervalsSource small, IntervalsSource big)
Create a contained-byIntervalsSource
static IntervalsSource
Intervals. containing(IntervalsSource big, IntervalsSource small)
Create a containingIntervalsSource
static IntervalsSource
Intervals. extend(IntervalsSource source, int before, int after)
Create anIntervalsSource
that wraps another source, extending its intervals by a number of positions before and after.static IntervalsSource
Intervals. fixField(String field, IntervalsSource source)
Create anIntervalsSource
that always returns intervals from a specific fieldstatic IntervalsSource
Intervals. maxgaps(int gaps, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by its gapsstatic IntervalsSource
FilteredIntervalsSource. maxGaps(IntervalsSource in, int maxGaps)
static IntervalsSource
Intervals. maxwidth(int width, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic IntervalsSource
FilteredIntervalsSource. maxWidth(IntervalsSource in, int maxWidth)
static IntervalsSource
Intervals. multiterm(CompiledAutomaton ca, int maxExpansions, String pattern)
Expert: Return anIntervalsSource
over the disjunction of all terms that are accepted by the given automatonstatic IntervalsSource
Intervals. multiterm(CompiledAutomaton ca, String pattern)
Expert: Return anIntervalsSource
over the disjunction of all terms that are accepted by the given automatonstatic IntervalsSource
Intervals. nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend)
Create a non-overlapping IntervalsSourcestatic IntervalsSource
Intervals. notContainedBy(IntervalsSource small, IntervalsSource big)
Create a not-contained-byIntervalsSource
static IntervalsSource
Intervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)
Create a not-containingIntervalsSource
static IntervalsSource
Intervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)
Create a not-withinIntervalsSource
static IntervalsSource
Intervals. or(boolean rewrite, List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(boolean rewrite, IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
static IntervalsSource
Intervals. overlapping(IntervalsSource source, IntervalsSource reference)
Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSource
Intervals. phrase(String... terms)
Return anIntervalsSource
exposing intervals for a phrase consisting of a list of termsstatic IntervalsSource
Intervals. phrase(IntervalsSource... subSources)
Return anIntervalsSource
exposing intervals for a phrase consisting of a list of IntervalsSourcesstatic IntervalsSource
Intervals. prefix(BytesRef prefix)
Return anIntervalsSource
over the disjunction of all terms that begin with a prefixstatic IntervalsSource
Intervals. prefix(BytesRef prefix, int maxExpansions)
Expert: Return anIntervalsSource
over the disjunction of all terms that begin with a prefixstatic IntervalsSource
Intervals. term(String term)
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Intervals. term(String term, Predicate<BytesRef> payloadFilter)
Return anIntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSource
Intervals. term(BytesRef term)
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Intervals. term(BytesRef term, Predicate<BytesRef> payloadFilter)
Return anIntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSource
Intervals. unordered(IntervalsSource... subSources)
Create an unorderedIntervalsSource
static IntervalsSource
Intervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)
Create an unorderedIntervalsSource
allowing no overlaps between subsourcesstatic IntervalsSource
Intervals. wildcard(BytesRef wildcard)
Return anIntervalsSource
over the disjunction of all terms that match a wildcard globstatic IntervalsSource
Intervals. wildcard(BytesRef wildcard, int maxExpansions)
Expert: Return anIntervalsSource
over the disjunction of all terms that match a wildcard globstatic IntervalsSource
Intervals. within(IntervalsSource source, int positions, IntervalsSource reference)
Returns intervals of the source that appear within a set number of positions of intervals from the referenceMethods in org.apache.lucene.queries.intervals that return types with arguments of type IntervalsSource Modifier and Type Method Description Collection<IntervalsSource>
FilteredIntervalsSource. pullUpDisjunctions()
abstract Collection<IntervalsSource>
IntervalsSource. pullUpDisjunctions()
Expert: return the set of disjunctions that make up this IntervalsSourceMethods in org.apache.lucene.queries.intervals with parameters of type IntervalsSource Modifier and Type Method Description static IntervalsSource
Intervals. after(IntervalsSource source, IntervalsSource reference)
Returns intervals from the source that appear after intervals from the referencestatic IntervalsSource
Intervals. atLeast(int minShouldMatch, IntervalsSource... sources)
Return intervals that span combinations of intervals fromminShouldMatch
of the sourcesstatic IntervalsSource
Intervals. before(IntervalsSource source, IntervalsSource reference)
Returns intervals from the source that appear before intervals from the referencestatic IntervalsSource
Intervals. containedBy(IntervalsSource small, IntervalsSource big)
Create a contained-byIntervalsSource
static IntervalsSource
Intervals. containing(IntervalsSource big, IntervalsSource small)
Create a containingIntervalsSource
static IntervalsSource
Intervals. extend(IntervalsSource source, int before, int after)
Create anIntervalsSource
that wraps another source, extending its intervals by a number of positions before and after.static IntervalsSource
Intervals. fixField(String field, IntervalsSource source)
Create anIntervalsSource
that always returns intervals from a specific fieldstatic IntervalsSource
Intervals. maxgaps(int gaps, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by its gapsstatic IntervalsSource
FilteredIntervalsSource. maxGaps(IntervalsSource in, int maxGaps)
static IntervalsSource
Intervals. maxwidth(int width, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic IntervalsSource
FilteredIntervalsSource. maxWidth(IntervalsSource in, int maxWidth)
static IntervalsSource
Intervals. nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend)
Create a non-overlapping IntervalsSourcestatic IntervalsSource
Intervals. notContainedBy(IntervalsSource small, IntervalsSource big)
Create a not-contained-byIntervalsSource
static IntervalsSource
Intervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)
Create a not-containingIntervalsSource
static IntervalsSource
Intervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)
Create a not-withinIntervalsSource
static IntervalsSource
Intervals. or(boolean rewrite, IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
static IntervalsSource
Intervals. overlapping(IntervalsSource source, IntervalsSource reference)
Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSource
Intervals. phrase(IntervalsSource... subSources)
Return anIntervalsSource
exposing intervals for a phrase consisting of a list of IntervalsSourcesstatic IntervalsSource
Intervals. unordered(IntervalsSource... subSources)
Create an unorderedIntervalsSource
static IntervalsSource
Intervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)
Create an unorderedIntervalsSource
allowing no overlaps between subsourcesstatic IntervalsSource
Intervals. within(IntervalsSource source, int positions, IntervalsSource reference)
Returns intervals of the source that appear within a set number of positions of intervals from the referenceMethod parameters in org.apache.lucene.queries.intervals with type arguments of type IntervalsSource Modifier and Type Method Description static IntervalsSource
Intervals. or(boolean rewrite, List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesConstructors in org.apache.lucene.queries.intervals with parameters of type IntervalsSource Constructor Description FilteredIntervalsSource(String name, IntervalsSource in)
Create a new FilteredIntervalsSourceIntervalQuery(String field, IntervalsSource intervalsSource)
Create a new IntervalQueryIntervalQuery(String field, IntervalsSource intervalsSource, float pivot)
Create a new IntervalQuery with a scoring pivotIntervalQuery(String field, IntervalsSource intervalsSource, float pivot, float exp)
Create a new IntervalQuery with a scoring pivot and exponent
-