Uses of Class
org.apache.lucene.queries.intervals.IntervalsSource
Packages that use IntervalsSource
-
Uses of IntervalsSource in org.apache.lucene.queries.intervals
Subclasses of IntervalsSource in org.apache.lucene.queries.intervalsModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class(package private) class(package private) class(package private) classclassAn IntervalsSource that filters the intervals from another IntervalsSourceprivate static classprivate static class(package private) class(package private) class(package private) class(package private) classA source returning no matches(package private) class(package private) class(package private) class(package private) classTracks 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(package private) class(package private) class(package private) classGenerates an iterator that spans repeating instances of a sub-iterator, avoiding minimization.(package private) class(package private) classFields in org.apache.lucene.queries.intervals declared as IntervalsSourceModifier and TypeFieldDescriptionprivate final IntervalsSourceContainedByIntervalsSource.bigprivate final IntervalsSourceContainingIntervalsSource.bigprotected final IntervalsSourceFilteredIntervalsSource.inprivate final IntervalsSourceOffsetIntervalsSource.in(package private) final IntervalsSourceRepeatingIntervalsSource.inprivate final IntervalsSourceIntervalQuery.intervalsSource(package private) final IntervalsSourceDifferenceIntervalsSource.minuendprivate final IntervalsSourceOverlappingIntervalsSource.referenceprivate final IntervalsSourceContainedByIntervalsSource.smallprivate final IntervalsSourceContainingIntervalsSource.small(package private) final IntervalsSourceExtendedIntervalsSource.sourceprivate final IntervalsSourceFixedFieldIntervalsSource.sourceprivate final IntervalsSourceOverlappingIntervalsSource.sourceprivate final IntervalsSource[]MinimumShouldMatchIntervalsSource.sources(package private) final IntervalsSourceDifferenceIntervalsSource.subtrahendFields in org.apache.lucene.queries.intervals with type parameters of type IntervalsSourceModifier and TypeFieldDescriptionprotected final List<IntervalsSource> ConjunctionIntervalsSource.subSources(package private) final Collection<IntervalsSource> DisjunctionIntervalsSource.subSourcesMethods in org.apache.lucene.queries.intervals that return IntervalsSourceModifier and TypeMethodDescriptionstatic 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(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(List<IntervalsSource> sources) (package private) static IntervalsSourceRepeatingIntervalsSource.build(IntervalsSource in, int childCount) (package private) static IntervalsSourceUnorderedIntervalsSource.build(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(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(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 IntervalsSourceDeprecated.static IntervalsSourceDeprecated.static IntervalsSourceIntervals.multiterm(CompiledAutomaton ca, int maxExpansions, 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, 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, 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(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 IntervalsSourceReturn 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 IntervalsSourceReturn anIntervalsSourceover the disjunction of all terms that begin with a prefixstatic IntervalsSourceExpert: 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 IntervalsSourceReturn anIntervalsSourceexposing intervals for a termstatic IntervalsSourceReturn anIntervalsSourceexposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSourceReturn anIntervalsSourceexposing intervals for a termstatic IntervalsSourceReturn 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 IntervalsSourceReturn anIntervalsSourceover the disjunction of all terms that match a wildcard globstatic IntervalsSourceExpert: 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 IntervalsSourceModifier and TypeMethodDescriptionprivate static List<IntervalsSource> OrderedIntervalsSource.deduplicate(List<IntervalsSource> sources) private static List<IntervalsSource> UnorderedIntervalsSource.deduplicate(List<IntervalsSource> sources) private static List<IntervalsSource> BlockIntervalsSource.flatten(List<IntervalsSource> sources) private static List<IntervalsSource> OrderedIntervalsSource.flatten(List<IntervalsSource> sources) private static List<IntervalsSource> UnorderedIntervalsSource.flatten(List<IntervalsSource> sources) static List<IntervalsSource> Disjunctions.pullUp(List<IntervalsSource> sources, Function<List<IntervalsSource>, IntervalsSource> function) static List<IntervalsSource> Disjunctions.pullUp(IntervalsSource source, Function<IntervalsSource, IntervalsSource> function) BlockIntervalsSource.pullUpDisjunctions()ContainedByIntervalsSource.pullUpDisjunctions()ContainingIntervalsSource.pullUpDisjunctions()DisjunctionIntervalsSource.pullUpDisjunctions()ExtendedIntervalsSource.pullUpDisjunctions()FilteredIntervalsSource.MaxWidth.pullUpDisjunctions()FilteredIntervalsSource.pullUpDisjunctions()FixedFieldIntervalsSource.pullUpDisjunctions()abstract Collection<IntervalsSource> IntervalsSource.pullUpDisjunctions()Expert: return the set of disjunctions that make up this IntervalsSource Most implementations can returnCollections.singleton(this)MinimumShouldMatchIntervalsSource.pullUpDisjunctions()MultiTermIntervalsSource.pullUpDisjunctions()NoMatchIntervalsSource.pullUpDisjunctions()NonOverlappingIntervalsSource.pullUpDisjunctions()NotContainedByIntervalsSource.pullUpDisjunctions()NotContainingIntervalsSource.pullUpDisjunctions()OffsetIntervalsSource.pullUpDisjunctions()OrderedIntervalsSource.pullUpDisjunctions()OverlappingIntervalsSource.pullUpDisjunctions()PayloadFilteredTermIntervalsSource.pullUpDisjunctions()RepeatingIntervalsSource.pullUpDisjunctions()TermIntervalsSource.pullUpDisjunctions()UnorderedIntervalsSource.pullUpDisjunctions()private static Collection<IntervalsSource> DisjunctionIntervalsSource.simplify(Collection<IntervalsSource> sources) private static List<IntervalsSource> Disjunctions.splitDisjunctions(IntervalsSource source) Methods in org.apache.lucene.queries.intervals with parameters of type IntervalsSourceModifier and TypeMethodDescriptionstatic 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(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 List<IntervalsSource> Disjunctions.pullUp(IntervalsSource source, Function<IntervalsSource, IntervalsSource> function) private static 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 IntervalsSourceModifier and TypeMethodDescription(package private) static IntervalsSourceBlockIntervalsSource.build(List<IntervalsSource> subSources) (package private) static IntervalsSourceOrderedIntervalsSource.build(List<IntervalsSource> sources) (package private) static IntervalsSourceUnorderedIntervalsSource.build(List<IntervalsSource> sources) (package private) static IntervalsSourceDisjunctionIntervalsSource.create(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) private static List<IntervalsSource> OrderedIntervalsSource.deduplicate(List<IntervalsSource> sources) private static List<IntervalsSource> UnorderedIntervalsSource.deduplicate(List<IntervalsSource> sources) private static List<IntervalsSource> BlockIntervalsSource.flatten(List<IntervalsSource> sources) private static List<IntervalsSource> OrderedIntervalsSource.flatten(List<IntervalsSource> sources) private static List<IntervalsSource> UnorderedIntervalsSource.flatten(List<IntervalsSource> sources) static IntervalsSourceIntervals.or(boolean rewrite, List<IntervalsSource> subSources) Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic IntervalsSourceIntervals.or(List<IntervalsSource> subSources) Return anIntervalsSourceover the disjunction of a set of sub-sourcesstatic List<IntervalsSource> Disjunctions.pullUp(List<IntervalsSource> sources, Function<List<IntervalsSource>, IntervalsSource> function) static List<IntervalsSource> Disjunctions.pullUp(List<IntervalsSource> sources, Function<List<IntervalsSource>, IntervalsSource> function) static List<IntervalsSource> Disjunctions.pullUp(List<IntervalsSource> sources, Function<List<IntervalsSource>, IntervalsSource> function) static List<IntervalsSource> Disjunctions.pullUp(IntervalsSource source, Function<IntervalsSource, IntervalsSource> function) static List<IntervalsSource> Disjunctions.pullUp(IntervalsSource source, Function<IntervalsSource, IntervalsSource> function) private static Collection<IntervalsSource> DisjunctionIntervalsSource.simplify(Collection<IntervalsSource> sources) Constructors in org.apache.lucene.queries.intervals with parameters of type IntervalsSourceModifierConstructorDescriptionprivateContainedByIntervalsSource(IntervalsSource small, IntervalsSource big) privateContainingIntervalsSource(IntervalsSource big, IntervalsSource small) (package private)DifferenceIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend) (package private)ExtendedIntervalsSource(IntervalsSource source, int before, int after) FilteredIntervalsSource(String name, IntervalsSource in) Create a new FilteredIntervalsSource(package private)FixedFieldIntervalsSource(String field, IntervalsSource source) IntervalQuery(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 exponentprivateIntervalQuery(String field, IntervalsSource intervalsSource, IntervalScoreFunction scoreFunction) (package private)MaxGaps(IntervalsSource in, int maxGaps) (package private)MaxWidth(IntervalsSource in, int maxWidth) (package private)MinimumShouldMatchIntervalsSource(IntervalsSource[] sources, int minShouldMatch) (package private)NonOverlappingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend) privateNotContainedByIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend) privateNotContainingIntervalsSource(IntervalsSource minuend, IntervalsSource subtrahend) (package private)OffsetIntervalsSource(IntervalsSource in, boolean before) (package private)OverlappingIntervalsSource(IntervalsSource source, IntervalsSource reference) privateRepeatingIntervalsSource(IntervalsSource in, int childCount) Constructor parameters in org.apache.lucene.queries.intervals with type arguments of type IntervalsSourceModifierConstructorDescriptionprivateBlockIntervalsSource(List<IntervalsSource> sources) protectedConjunctionIntervalsSource(List<IntervalsSource> subSources, boolean isMinimizing) privateDisjunctionIntervalsSource(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) privateOrderedIntervalsSource(List<IntervalsSource> sources) privateUnorderedIntervalsSource(List<IntervalsSource> sources)
Intervals.multiterm(CompiledAutomaton, int, String)