Uses of Class
org.apache.lucene.queries.intervals.IntervalsSource
Packages that use IntervalsSource
Package
Description
Intervals queries
This package contains classes that implement interval function support for the standard syntax
parser.
-
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) 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 static final IntervalsSourceIntervalBuilder.NO_INTERVALSprivate 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.subSourcesprotected final List<IntervalsSource> MinimizingConjunctionIntervalsSource.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.analyzedText(String text, Analyzer analyzer, String field, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from aTokenStreamreturned fortextby applying the providedAnalyzeras iftextwas the content of the givenfield.static IntervalsSourceIntervals.analyzedText(TokenStream tokenStream, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from the providedTokenStream.private static IntervalsSourceIntervalBuilder.analyzeSynonyms(TokenStream ts, int maxGaps, boolean ordered) private static IntervalsSourceIntervalBuilder.analyzeTerm(TokenStream ts) (package private) static IntervalsSourceIntervalBuilder.analyzeText(CachingTokenFilter stream, int maxGaps, boolean ordered) static 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) private static IntervalsSourceIntervalBuilder.combineSources(List<IntervalsSource> sources, int maxGaps, boolean ordered) static IntervalsSourceIntervals.containedBy(IntervalsSource small, IntervalsSource big) Create a contained-byIntervalsSourcestatic IntervalsSourceIntervals.containing(IntervalsSource big, IntervalsSource small) Create a containingIntervalsSource(package private) static IntervalsSourceDisjunctionIntervalsSource.create(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) private static IntervalsSourceIntervalBuilder.extend(IntervalsSource source, int precedingSpaces) 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 fieldstatic IntervalsSourceA fuzzy termIntervalsSourcematches the disjunction of intervals of terms that are within the specifiedmaxEditsfrom the provided term.static IntervalsSourceIntervals.fuzzyTerm(String term, int maxEdits, int prefixLength, boolean transpositions, int maxExpansions) A fuzzy termIntervalsSourcematches the disjunction of intervals of terms that are within the specifiedmaxEditsfrom the provided term.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(CompiledAutomaton ca, int maxExpansions, String pattern) Expert: Return anIntervalsSourceover the disjunction of all terms that are accepted by the given automatonstatic IntervalsSourceIntervals.multiterm(CompiledAutomaton ca, String pattern) Expert: Return anIntervalsSourceover the disjunction of all terms that are accepted by the given automatonstatic IntervalsSourceIntervals.noIntervals(String reason) Returns a source that produces no intervalsstatic IntervalsSourceIntervals.nonOverlapping(IntervalsSource minuend, IntervalsSource subtrahend) Create a non-overlapping IntervalsSourcestatic IntervalsSourceIntervals.notContainedBy(IntervalsSource small, IntervalsSource big) Create a not-contained-byIntervalsSourcestatic IntervalsSourceIntervals.notContaining(IntervalsSource minuend, IntervalsSource subtrahend) Create a not-containingIntervalsSourcestatic IntervalsSourceIntervals.notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend) Create a not-withinIntervalsSourcestatic 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-sourcesstatic IntervalsSourceIntervals.ordered(IntervalsSource... subSources) Create an orderedIntervalsSourcestatic 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 ofinterval sourcesstatic IntervalsSourceReturn anIntervalsSourceover the disjunction of all terms that begin with a prefixstatic IntervalsSourceExpert: Return anIntervalsSourceover the disjunction of all terms that begin with a prefixstatic 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 unorderedIntervalsSource.static IntervalsSourceIntervals.unorderedNoOverlaps(IntervalsSource a, IntervalsSource b) Create an unorderedIntervalsSourceallowing no overlaps between subsourcesstatic IntervalsSourceReturn anIntervalsSourceover the disjunction of all terms that match a wildcard globstatic IntervalsSourceExpert: Return anIntervalsSourceover the disjunction of all terms that match a wildcard globstatic 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> IntervalBuilder.analyzeGraph(TokenStream source) private static List<IntervalsSource> IntervalBuilder.analyzeTerms(TokenStream ts) 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 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 IntervalsSourceMinimumShouldMatchIntervalsSource.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-byIntervalsSourcestatic IntervalsSourceIntervals.containing(IntervalsSource big, IntervalsSource small) Create a containingIntervalsSourceprivate static IntervalsSourceIntervalBuilder.extend(IntervalsSource source, int precedingSpaces) 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 fieldstatic 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 IntervalsSourcestatic IntervalsSourceIntervals.notContainedBy(IntervalsSource small, IntervalsSource big) Create a not-contained-byIntervalsSourcestatic IntervalsSourceIntervals.notContaining(IntervalsSource minuend, IntervalsSource subtrahend) Create a not-containingIntervalsSourcestatic IntervalsSourceIntervals.notWithin(IntervalsSource minuend, int positions, IntervalsSource subtrahend) Create a not-withinIntervalsSourcestatic 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-sourcesstatic IntervalsSourceIntervals.ordered(IntervalsSource... subSources) Create an orderedIntervalsSourcestatic 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 ofinterval sourcesstatic 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 unorderedIntervalsSource.static IntervalsSourceIntervals.unorderedNoOverlaps(IntervalsSource a, IntervalsSource b) Create an unorderedIntervalsSourceallowing no overlaps between subsourcesstatic 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) private static IntervalsSourceIntervalBuilder.combineSources(List<IntervalsSource> sources, int maxGaps, boolean ordered) (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) privateDisjunctionIntervalsSource(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) protectedMinimizingConjunctionIntervalsSource(List<IntervalsSource> subSources) privateOrderedIntervalsSource(List<IntervalsSource> sources) privateUnorderedIntervalsSource(List<IntervalsSource> sources) -
Uses of IntervalsSource in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn
Methods in org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn that return IntervalsSourceModifier and TypeMethodDescriptionAfter.toIntervalSource(String field, Analyzer analyzer) AnalyzedText.toIntervalSource(String field, Analyzer analyzer) AtLeast.toIntervalSource(String field, Analyzer analyzer) Before.toIntervalSource(String field, Analyzer analyzer) ContainedBy.toIntervalSource(String field, Analyzer analyzer) Containing.toIntervalSource(String field, Analyzer analyzer) Extend.toIntervalSource(String field, Analyzer analyzer) FuzzyTerm.toIntervalSource(String field, Analyzer analyzer) abstract IntervalsSourceIntervalFunction.toIntervalSource(String field, Analyzer analyzer) MaxGaps.toIntervalSource(String field, Analyzer analyzer) MaxWidth.toIntervalSource(String field, Analyzer analyzer) NonOverlapping.toIntervalSource(String field, Analyzer analyzer) NotContainedBy.toIntervalSource(String field, Analyzer analyzer) NotContaining.toIntervalSource(String field, Analyzer analyzer) NotWithin.toIntervalSource(String field, Analyzer analyzer) Or.toIntervalSource(String field, Analyzer analyzer) Ordered.toIntervalSource(String field, Analyzer analyzer) Overlapping.toIntervalSource(String field, Analyzer analyzer) Phrase.toIntervalSource(String field, Analyzer analyzer) Unordered.toIntervalSource(String field, Analyzer analyzer) UnorderedNoOverlaps.toIntervalSource(String field, Analyzer analyzer) Wildcard.toIntervalSource(String field, Analyzer analyzer) Within.toIntervalSource(String field, Analyzer analyzer)