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) classBlockIntervalsSource(package private) classConjunctionIntervalsSource(package private) classContainedByIntervalsSource(package private) classContainingIntervalsSource(package private) classDifferenceIntervalsSource(package private) classDisjunctionIntervalsSource(package private) classExtendedIntervalsSourceclassFilteredIntervalsSourceAn IntervalsSource that filters the intervals from another IntervalsSourceprivate static classFilteredIntervalsSource.MaxGapsprivate static classFilteredIntervalsSource.MaxWidth(package private) classFixedFieldIntervalsSource(package private) classMinimumShouldMatchIntervalsSource(package private) classMultiTermIntervalsSource(package private) classNoMatchIntervalsSourceA source returning no matches(package private) classNonOverlappingIntervalsSource(package private) classNotContainedByIntervalsSource(package private) classNotContainingIntervalsSource(package private) classOffsetIntervalsSourceTracks 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) classOrderedIntervalsSource(package private) classOverlappingIntervalsSource(package private) classPayloadFilteredTermIntervalsSource(package private) classRepeatingIntervalsSourceGenerates an iterator that spans repeating instances of a sub-iterator, avoiding minimization.(package private) classTermIntervalsSource(package private) classUnorderedIntervalsSourceFields in org.apache.lucene.queries.intervals declared as IntervalsSource Modifier and Type Field Description private IntervalsSourceContainedByIntervalsSource. bigprivate IntervalsSourceContainingIntervalsSource. bigprotected IntervalsSourceFilteredIntervalsSource. inprivate IntervalsSourceOffsetIntervalsSource. in(package private) IntervalsSourceRepeatingIntervalsSource. inprivate IntervalsSourceIntervalQuery. intervalsSource(package private) IntervalsSourceDifferenceIntervalsSource. minuendprivate IntervalsSourceOverlappingIntervalsSource. referenceprivate IntervalsSourceContainedByIntervalsSource. smallprivate IntervalsSourceContainingIntervalsSource. small(package private) IntervalsSourceExtendedIntervalsSource. sourceprivate IntervalsSourceFixedFieldIntervalsSource. sourceprivate IntervalsSourceOverlappingIntervalsSource. sourceprivate IntervalsSource[]MinimumShouldMatchIntervalsSource. sources(package private) IntervalsSourceDifferenceIntervalsSource. subtrahendFields 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. subSourcesMethods in org.apache.lucene.queries.intervals that return IntervalsSource Modifier and Type Method Description static IntervalsSourceIntervals. after(IntervalsSource source, IntervalsSource reference)Returns intervals from the source that appear after intervals from the referencestatic IntervalsSourceIntervals. atLeast(int minShouldMatch, IntervalsSource... sources)Return intervals that span combinations of intervals fromminShouldMatchof the sourcesstatic IntervalsSourceIntervals. before(IntervalsSource source, IntervalsSource reference)Returns intervals from the source that appear before intervals from the reference(package private) static IntervalsSourceBlockIntervalsSource. build(java.util.List<IntervalsSource> subSources)(package private) static IntervalsSourceContainedByIntervalsSource. build(IntervalsSource small, IntervalsSource big)(package private) static IntervalsSourceContainingIntervalsSource. build(IntervalsSource big, IntervalsSource small)(package private) static IntervalsSourceNotContainedByIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)(package private) static IntervalsSourceNotContainingIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)(package private) static IntervalsSourceOrderedIntervalsSource. build(java.util.List<IntervalsSource> sources)(package private) static IntervalsSourceRepeatingIntervalsSource. build(IntervalsSource in, int childCount)(package private) static IntervalsSourceUnorderedIntervalsSource. build(java.util.List<IntervalsSource> sources)static IntervalsSourceIntervals. containedBy(IntervalsSource small, IntervalsSource big)Create a contained-byIntervalsSourceReturns intervals from the small query that appear within intervals of the big querystatic IntervalsSourceIntervals. containing(IntervalsSource big, IntervalsSource small)Create a containingIntervalsSourceReturns intervals from the big source that contain one or more intervals from the small source(package private) static IntervalsSourceDisjunctionIntervalsSource. create(java.util.Collection<IntervalsSource> subSources, boolean pullUpDisjunctions)static IntervalsSourceIntervals. extend(IntervalsSource source, int before, int after)Create anIntervalsSourcethat wraps another source, extending its intervals by a number of positions before and after.static IntervalsSourceIntervals. fixField(java.lang.String field, IntervalsSource source)Create anIntervalsSourcethat 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 IntervalsSourceIntervals. maxgaps(int gaps, IntervalsSource subSource)Create anIntervalsSourcethat filters a sub-source by its gapsstatic IntervalsSourceFilteredIntervalsSource. maxGaps(IntervalsSource in, int maxGaps)static IntervalsSourceIntervals. maxwidth(int width, IntervalsSource subSource)Create anIntervalsSourcethat filters a sub-source by the width of its intervalsstatic IntervalsSourceFilteredIntervalsSource. maxWidth(IntervalsSource in, int maxWidth)static IntervalsSourceIntervals. multiterm(Automaton automaton, int maxExpansions, java.lang.String pattern)Deprecated.static IntervalsSourceIntervals. multiterm(Automaton automaton, java.lang.String pattern)Deprecated.static IntervalsSourceIntervals. multiterm(CompiledAutomaton ca, int maxExpansions, java.lang.String pattern)Expert: Return anIntervalsSourceover the disjunction of all terms that's accepted by the given automaton WARNING: SettingmaxExpansionsto higher than the default value of 128 can be both slow and memory-intensivestatic IntervalsSourceIntervals. multiterm(CompiledAutomaton ca, java.lang.String pattern)Expert: Return anIntervalsSourceover the disjunction of all terms that's accepted by the given automatonstatic IntervalsSourceIntervals. nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend)Create a non-overlapping IntervalsSource Returns intervals of the minuend that do not overlap with intervals from the subtrahendstatic IntervalsSourceIntervals. notContainedBy(IntervalsSource small, IntervalsSource big)Create a not-contained-byIntervalsSourceReturns intervals from the smallIntervalsSourcethat do not appear within intervals from the bigIntervalsSource.static IntervalsSourceIntervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)Create a not-containingIntervalsSourceReturns intervals from the minuend that do not contain intervals of the subtrahendstatic IntervalsSourceIntervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)Create a not-withinIntervalsSourceReturns intervals of the minuend that do not appear within a set number of positions of intervals from the subtrahend querystatic IntervalsSourceIntervals. or(boolean rewrite, java.util.List<IntervalsSource> subSources)Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals. or(boolean rewrite, IntervalsSource... subSources)Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals. or(java.util.List<IntervalsSource> subSources)Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals. or(IntervalsSource... subSources)Return anIntervalsSourceover the disjunction of a set of sub-sources Automatically rewrites if wrapped by an interval source that is sensitive to internal gapsstatic IntervalsSourceIntervals. ordered(IntervalsSource... subSources)Create an orderedIntervalsSourceReturns intervals in which the subsources all appear in the given orderstatic IntervalsSourceIntervals. overlapping(IntervalsSource source, IntervalsSource reference)Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSourceIntervals. phrase(java.lang.String... terms)Return anIntervalsSourceexposing intervals for a phrase consisting of a list of termsstatic IntervalsSourceIntervals. phrase(IntervalsSource... subSources)Return anIntervalsSourceexposing intervals for a phrase consisting of a list of IntervalsSourcesstatic IntervalsSourceIntervals. prefix(BytesRef prefix)Return anIntervalsSourceover the disjunction of all terms that begin with a prefixstatic IntervalsSourceIntervals. prefix(BytesRef prefix, int maxExpansions)Expert: Return anIntervalsSourceover the disjunction of all terms that begin with a prefix WARNING: SettingmaxExpansionsto higher than the default value of 128 can be both slow and memory-intensivestatic IntervalsSourceIntervals. term(java.lang.String term)Return anIntervalsSourceexposing intervals for a termstatic IntervalsSourceIntervals. term(java.lang.String term, java.util.function.Predicate<BytesRef> payloadFilter)Return anIntervalsSourceexposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSourceIntervals. term(BytesRef term)Return anIntervalsSourceexposing intervals for a termstatic IntervalsSourceIntervals. term(BytesRef term, java.util.function.Predicate<BytesRef> payloadFilter)Return anIntervalsSourceexposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSourceIntervals. unordered(IntervalsSource... subSources)Create an unorderedIntervalsSourceReturns intervals in which all the subsources appear.static IntervalsSourceIntervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)Create an unorderedIntervalsSourceallowing no overlaps between subsources Returns intervals in which both the subsources appear and do not overlap.static IntervalsSourceIntervals. wildcard(BytesRef wildcard)Return anIntervalsSourceover the disjunction of all terms that match a wildcard globstatic IntervalsSourceIntervals. wildcard(BytesRef wildcard, int maxExpansions)Expert: Return anIntervalsSourceover the disjunction of all terms that match a wildcard glob WARNING: SettingmaxExpansionsto higher than the default value of 128 can be both slow and memory-intensivestatic IntervalsSourceIntervals. 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 IntervalsSourceIntervals. after(IntervalsSource source, IntervalsSource reference)Returns intervals from the source that appear after intervals from the referencestatic IntervalsSourceIntervals. atLeast(int minShouldMatch, IntervalsSource... sources)Return intervals that span combinations of intervals fromminShouldMatchof the sourcesstatic IntervalsSourceIntervals. before(IntervalsSource source, IntervalsSource reference)Returns intervals from the source that appear before intervals from the reference(package private) static IntervalsSourceContainedByIntervalsSource. build(IntervalsSource small, IntervalsSource big)(package private) static IntervalsSourceContainingIntervalsSource. build(IntervalsSource big, IntervalsSource small)(package private) static IntervalsSourceNotContainedByIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)(package private) static IntervalsSourceNotContainingIntervalsSource. build(IntervalsSource minuend, IntervalsSource subtrahend)(package private) static IntervalsSourceRepeatingIntervalsSource. build(IntervalsSource in, int childCount)static IntervalsSourceIntervals. containedBy(IntervalsSource small, IntervalsSource big)Create a contained-byIntervalsSourceReturns intervals from the small query that appear within intervals of the big querystatic IntervalsSourceIntervals. containing(IntervalsSource big, IntervalsSource small)Create a containingIntervalsSourceReturns intervals from the big source that contain one or more intervals from the small sourcestatic IntervalsSourceIntervals. extend(IntervalsSource source, int before, int after)Create anIntervalsSourcethat wraps another source, extending its intervals by a number of positions before and after.static IntervalsSourceIntervals. fixField(java.lang.String field, IntervalsSource source)Create anIntervalsSourcethat 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 IntervalsSourceIntervals. maxgaps(int gaps, IntervalsSource subSource)Create anIntervalsSourcethat filters a sub-source by its gapsstatic IntervalsSourceFilteredIntervalsSource. maxGaps(IntervalsSource in, int maxGaps)static IntervalsSourceIntervals. maxwidth(int width, IntervalsSource subSource)Create anIntervalsSourcethat filters a sub-source by the width of its intervalsstatic IntervalsSourceFilteredIntervalsSource. maxWidth(IntervalsSource in, int maxWidth)static IntervalsSourceIntervals. nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend)Create a non-overlapping IntervalsSource Returns intervals of the minuend that do not overlap with intervals from the subtrahendstatic IntervalsSourceIntervals. notContainedBy(IntervalsSource small, IntervalsSource big)Create a not-contained-byIntervalsSourceReturns intervals from the smallIntervalsSourcethat do not appear within intervals from the bigIntervalsSource.static IntervalsSourceIntervals. notContaining(IntervalsSource minuend, IntervalsSource subtrahend)Create a not-containingIntervalsSourceReturns intervals from the minuend that do not contain intervals of the subtrahendstatic IntervalsSourceIntervals. notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend)Create a not-withinIntervalsSourceReturns intervals of the minuend that do not appear within a set number of positions of intervals from the subtrahend querystatic IntervalsSourceIntervals. or(boolean rewrite, IntervalsSource... subSources)Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals. or(IntervalsSource... subSources)Return anIntervalsSourceover the disjunction of a set of sub-sources Automatically rewrites if wrapped by an interval source that is sensitive to internal gapsstatic IntervalsSourceIntervals. ordered(IntervalsSource... subSources)Create an orderedIntervalsSourceReturns intervals in which the subsources all appear in the given orderstatic IntervalsSourceIntervals. overlapping(IntervalsSource source, IntervalsSource reference)Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSourceIntervals. phrase(IntervalsSource... subSources)Return anIntervalsSourceexposing 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 IntervalsSourceIntervals. unordered(IntervalsSource... subSources)Create an unorderedIntervalsSourceReturns intervals in which all the subsources appear.static IntervalsSourceIntervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)Create an unorderedIntervalsSourceallowing no overlaps between subsources Returns intervals in which both the subsources appear and do not overlap.static IntervalsSourceIntervals. 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 IntervalsSourceBlockIntervalsSource. build(java.util.List<IntervalsSource> subSources)(package private) static IntervalsSourceOrderedIntervalsSource. build(java.util.List<IntervalsSource> sources)(package private) static IntervalsSourceUnorderedIntervalsSource. build(java.util.List<IntervalsSource> sources)(package private) static IntervalsSourceDisjunctionIntervalsSource. 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 IntervalsSourceIntervals. or(boolean rewrite, java.util.List<IntervalsSource> subSources)Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals. or(java.util.List<IntervalsSource> subSources)Return anIntervalsSourceover 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)
-