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 (package private) class
BlockIntervalsSource
(package private) class
ConjunctionIntervalsSource
(package private) class
ContainedByIntervalsSource
(package private) class
ContainingIntervalsSource
(package private) class
DifferenceIntervalsSource
(package private) class
DisjunctionIntervalsSource
(package private) class
ExtendedIntervalsSource
class
FilteredIntervalsSource
An IntervalsSource that filters the intervals from another IntervalsSourceprivate static class
FilteredIntervalsSource.MaxGaps
private static class
FilteredIntervalsSource.MaxWidth
(package private) class
FixedFieldIntervalsSource
(package private) class
MinimumShouldMatchIntervalsSource
(package private) class
MultiTermIntervalsSource
(package private) class
NoMatchIntervalsSource
A source returning no matches(package private) class
NonOverlappingIntervalsSource
(package private) class
NotContainedByIntervalsSource
(package private) class
NotContainingIntervalsSource
(package private) class
OffsetIntervalsSource
Tracks a reference intervals source, and produces a pseudo-interval that appears either one position before or one position after each interval from the reference(package private) class
OrderedIntervalsSource
(package private) class
OverlappingIntervalsSource
(package private) class
PayloadFilteredTermIntervalsSource
(package private) class
RepeatingIntervalsSource
Generates an iterator that spans repeating instances of a sub-iterator, avoiding minimization.(package private) class
TermIntervalsSource
(package private) class
UnorderedIntervalsSource
Fields in org.apache.lucene.queries.intervals declared as IntervalsSource Modifier and Type Field Description private IntervalsSource
ContainedByIntervalsSource. big
private IntervalsSource
ContainingIntervalsSource. big
protected IntervalsSource
FilteredIntervalsSource. in
private IntervalsSource
OffsetIntervalsSource. in
(package private) IntervalsSource
RepeatingIntervalsSource. in
private IntervalsSource
IntervalQuery. intervalsSource
(package private) IntervalsSource
DifferenceIntervalsSource. minuend
private IntervalsSource
OverlappingIntervalsSource. reference
private IntervalsSource
ContainedByIntervalsSource. small
private IntervalsSource
ContainingIntervalsSource. small
(package private) IntervalsSource
ExtendedIntervalsSource. source
private IntervalsSource
FixedFieldIntervalsSource. source
private IntervalsSource
OverlappingIntervalsSource. source
private IntervalsSource[]
MinimumShouldMatchIntervalsSource. sources
(package private) IntervalsSource
DifferenceIntervalsSource. subtrahend
Fields in org.apache.lucene.queries.intervals with type parameters of type IntervalsSource Modifier and Type Field Description protected java.util.List<IntervalsSource>
ConjunctionIntervalsSource. subSources
(package private) java.util.Collection<IntervalsSource>
DisjunctionIntervalsSource. subSources
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 reference(package private) static IntervalsSource
BlockIntervalsSource. build(java.util.List<IntervalsSource> subSources)
(package private) static IntervalsSource
ContainedByIntervalsSource. build(IntervalsSource small, IntervalsSource big)
(package private) static IntervalsSource
ContainingIntervalsSource. build(IntervalsSource big, IntervalsSource small)
(package private) static IntervalsSource
NotContainedByIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)
(package private) static IntervalsSource
NotContainingIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)
(package private) static IntervalsSource
OrderedIntervalsSource. build(java.util.List<IntervalsSource> sources)
(package private) static IntervalsSource
RepeatingIntervalsSource. build(IntervalsSource in, int childCount)
(package private) static IntervalsSource
UnorderedIntervalsSource. build(java.util.List<IntervalsSource> sources)
static IntervalsSource
Intervals. containedBy(IntervalsSource small, IntervalsSource big)
Create a contained-byIntervalsSource
Returns intervals from the small query that appear within intervals of the big querystatic IntervalsSource
Intervals. containing(IntervalsSource big, IntervalsSource small)
Create a containingIntervalsSource
Returns intervals from the big source that contain one or more intervals from the small source(package private) static IntervalsSource
DisjunctionIntervalsSource. create(java.util.Collection<IntervalsSource> subSources, boolean pullUpDisjunctions)
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(java.lang.String field, IntervalsSource source)
Create anIntervalsSource
that always returns intervals from a specific field This is useful for comparing intervals across multiple fields, for example fields that have been analyzed differently, allowing you to search for stemmed terms near unstemmed terms, etc.static 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(Automaton automaton, int maxExpansions, java.lang.String pattern)
Deprecated.static IntervalsSource
Intervals. multiterm(Automaton automaton, java.lang.String pattern)
Deprecated.static IntervalsSource
Intervals. multiterm(CompiledAutomaton ca, int maxExpansions, java.lang.String pattern)
Expert: Return anIntervalsSource
over the disjunction of all terms that's accepted by the given automaton WARNING: SettingmaxExpansions
to higher than the default value of 128 can be both slow and memory-intensivestatic IntervalsSource
Intervals. multiterm(CompiledAutomaton ca, java.lang.String pattern)
Expert: Return anIntervalsSource
over the disjunction of all terms that's accepted by the given automatonstatic IntervalsSource
Intervals. nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend)
Create a non-overlapping IntervalsSource Returns intervals of the minuend that do not overlap with intervals from the subtrahendstatic IntervalsSource
Intervals. notContainedBy(IntervalsSource small, IntervalsSource big)
Create a not-contained-byIntervalsSource
Returns intervals from the smallIntervalsSource
that do not appear within intervals from the bigIntervalsSource
.static IntervalsSource
Intervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)
Create a not-containingIntervalsSource
Returns intervals from the minuend that do not contain intervals of the subtrahendstatic IntervalsSource
Intervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)
Create a not-withinIntervalsSource
Returns intervals of the minuend that do not appear within a set number of positions of intervals from the subtrahend querystatic IntervalsSource
Intervals. or(boolean rewrite, java.util.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(java.util.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-sources Automatically rewrites if wrapped by an interval source that is sensitive to internal gapsstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
Returns intervals in which the subsources all appear in the given orderstatic IntervalsSource
Intervals. overlapping(IntervalsSource source, IntervalsSource reference)
Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSource
Intervals. phrase(java.lang.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 prefix WARNING: SettingmaxExpansions
to higher than the default value of 128 can be both slow and memory-intensivestatic IntervalsSource
Intervals. term(java.lang.String term)
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Intervals. term(java.lang.String term, java.util.function.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, java.util.function.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
Returns intervals in which all the subsources appear.static IntervalsSource
Intervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)
Create an unorderedIntervalsSource
allowing no overlaps between subsources Returns intervals in which both the subsources appear and do not overlap.static 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 glob WARNING: SettingmaxExpansions
to higher than the default value of 128 can be both slow and memory-intensivestatic 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 private static java.util.List<IntervalsSource>
OrderedIntervalsSource. deduplicate(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
UnorderedIntervalsSource. deduplicate(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
BlockIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
OrderedIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
UnorderedIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(java.util.List<IntervalsSource> sources, java.util.function.Function<java.util.List<IntervalsSource>,IntervalsSource> function)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(IntervalsSource source, java.util.function.Function<IntervalsSource,IntervalsSource> function)
java.util.Collection<IntervalsSource>
BlockIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
ContainedByIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
ContainingIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
DisjunctionIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
ExtendedIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
FilteredIntervalsSource.MaxWidth. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
FilteredIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
FixedFieldIntervalsSource. pullUpDisjunctions()
abstract java.util.Collection<IntervalsSource>
IntervalsSource. pullUpDisjunctions()
Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)
java.util.Collection<IntervalsSource>
MinimumShouldMatchIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
MultiTermIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
NoMatchIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
NonOverlappingIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
NotContainedByIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
NotContainingIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
OffsetIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
OrderedIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
OverlappingIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
PayloadFilteredTermIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
RepeatingIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
TermIntervalsSource. pullUpDisjunctions()
java.util.Collection<IntervalsSource>
UnorderedIntervalsSource. pullUpDisjunctions()
private static java.util.Collection<IntervalsSource>
DisjunctionIntervalsSource. simplify(java.util.Collection<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
Disjunctions. splitDisjunctions(IntervalsSource source)
Methods 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 reference(package private) static IntervalsSource
ContainedByIntervalsSource. build(IntervalsSource small, IntervalsSource big)
(package private) static IntervalsSource
ContainingIntervalsSource. build(IntervalsSource big, IntervalsSource small)
(package private) static IntervalsSource
NotContainedByIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)
(package private) static IntervalsSource
NotContainingIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)
(package private) static IntervalsSource
RepeatingIntervalsSource. build(IntervalsSource in, int childCount)
static IntervalsSource
Intervals. containedBy(IntervalsSource small, IntervalsSource big)
Create a contained-byIntervalsSource
Returns intervals from the small query that appear within intervals of the big querystatic IntervalsSource
Intervals. containing(IntervalsSource big, IntervalsSource small)
Create a containingIntervalsSource
Returns intervals from the big source that contain one or more intervals from the small sourcestatic 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(java.lang.String field, IntervalsSource source)
Create anIntervalsSource
that always returns intervals from a specific field This is useful for comparing intervals across multiple fields, for example fields that have been analyzed differently, allowing you to search for stemmed terms near unstemmed terms, etc.static 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 IntervalsSource Returns intervals of the minuend that do not overlap with intervals from the subtrahendstatic IntervalsSource
Intervals. notContainedBy(IntervalsSource small, IntervalsSource big)
Create a not-contained-byIntervalsSource
Returns intervals from the smallIntervalsSource
that do not appear within intervals from the bigIntervalsSource
.static IntervalsSource
Intervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)
Create a not-containingIntervalsSource
Returns intervals from the minuend that do not contain intervals of the subtrahendstatic IntervalsSource
Intervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)
Create a not-withinIntervalsSource
Returns intervals of the minuend that do not appear within a set number of positions of intervals from the subtrahend querystatic 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-sources Automatically rewrites if wrapped by an interval source that is sensitive to internal gapsstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
Returns intervals in which the subsources all appear in the given orderstatic 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 java.util.List<IntervalsSource>
Disjunctions. pullUp(IntervalsSource source, java.util.function.Function<IntervalsSource,IntervalsSource> function)
private static java.util.List<IntervalsSource>
Disjunctions. splitDisjunctions(IntervalsSource source)
static IntervalsSource
Intervals. unordered(IntervalsSource... subSources)
Create an unorderedIntervalsSource
Returns intervals in which all the subsources appear.static IntervalsSource
Intervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)
Create an unorderedIntervalsSource
allowing no overlaps between subsources Returns intervals in which both the subsources appear and do not overlap.static 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 (package private) static IntervalsSource
BlockIntervalsSource. build(java.util.List<IntervalsSource> subSources)
(package private) static IntervalsSource
OrderedIntervalsSource. build(java.util.List<IntervalsSource> sources)
(package private) static IntervalsSource
UnorderedIntervalsSource. build(java.util.List<IntervalsSource> sources)
(package private) static IntervalsSource
DisjunctionIntervalsSource. create(java.util.Collection<IntervalsSource> subSources, boolean pullUpDisjunctions)
private static java.util.List<IntervalsSource>
OrderedIntervalsSource. deduplicate(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
UnorderedIntervalsSource. deduplicate(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
BlockIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
OrderedIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
private static java.util.List<IntervalsSource>
UnorderedIntervalsSource. flatten(java.util.List<IntervalsSource> sources)
static IntervalsSource
Intervals. or(boolean rewrite, java.util.List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. or(java.util.List<IntervalsSource> subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic java.util.List<IntervalsSource>
Disjunctions. pullUp(java.util.List<IntervalsSource> sources, java.util.function.Function<java.util.List<IntervalsSource>,IntervalsSource> function)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(java.util.List<IntervalsSource> sources, java.util.function.Function<java.util.List<IntervalsSource>,IntervalsSource> function)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(java.util.List<IntervalsSource> sources, java.util.function.Function<java.util.List<IntervalsSource>,IntervalsSource> function)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(IntervalsSource source, java.util.function.Function<IntervalsSource,IntervalsSource> function)
static java.util.List<IntervalsSource>
Disjunctions. pullUp(IntervalsSource source, java.util.function.Function<IntervalsSource,IntervalsSource> function)
private static java.util.Collection<IntervalsSource>
DisjunctionIntervalsSource. simplify(java.util.Collection<IntervalsSource> sources)
Constructor parameters in org.apache.lucene.queries.intervals with type arguments of type IntervalsSource Constructor Description BlockIntervalsSource(java.util.List<IntervalsSource> sources)
ConjunctionIntervalsSource(java.util.List<IntervalsSource> subSources, boolean isMinimizing)
DisjunctionIntervalsSource(java.util.Collection<IntervalsSource> subSources, boolean pullUpDisjunctions)
OrderedIntervalsSource(java.util.List<IntervalsSource> sources)
UnorderedIntervalsSource(java.util.List<IntervalsSource> sources)
-