Uses of Class
org.apache.lucene.search.intervals.IntervalsSource
-
Packages that use IntervalsSource Package Description org.apache.lucene.search.intervals Intervals queries -
-
Uses of IntervalsSource in org.apache.lucene.search.intervals
Methods in org.apache.lucene.search.intervals that return IntervalsSource Modifier and Type Method Description 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. maxwidth(int width, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic 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(IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
Returns intervals in which the subsources all appear in the given orderstatic 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. term(String term)
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Intervals. term(BytesRef term)
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Intervals. unordered(boolean allowOverlaps, IntervalsSource... subSources)
Create an unorderedIntervalsSource
Returns intervals in which all the subsources appear.static IntervalsSource
Intervals. unordered(IntervalsSource... subSources)
Create an unorderedIntervalsSource
Returns intervals in which all the subsources appear.Methods in org.apache.lucene.search.intervals with parameters of type IntervalsSource Modifier and Type Method Description 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. maxwidth(int width, IntervalsSource subSource)
Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic 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(IntervalsSource... subSources)
Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals. ordered(IntervalsSource... subSources)
Create an orderedIntervalsSource
Returns intervals in which the subsources all appear in the given orderstatic IntervalsSource
Intervals. phrase(IntervalsSource... subSources)
Return anIntervalsSource
exposing intervals for a phrase consisting of a list of IntervalsSourcesstatic IntervalsSource
Intervals. unordered(boolean allowOverlaps, IntervalsSource... subSources)
Create an unorderedIntervalsSource
Returns intervals in which all the subsources appear.static IntervalsSource
Intervals. unordered(IntervalsSource... subSources)
Create an unorderedIntervalsSource
Returns intervals in which all the subsources appear.Constructors in org.apache.lucene.search.intervals with parameters of type IntervalsSource Constructor Description IntervalQuery(String field, IntervalsSource intervalsSource)
Create a new IntervalQuery
-