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 classFilteredIntervalsSourceAn IntervalsSource that filters the intervals from another IntervalsSourceFields in org.apache.lucene.queries.intervals declared as IntervalsSource Modifier and Type Field Description protected IntervalsSourceFilteredIntervalsSource. inMethods 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. 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.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 referencestatic IntervalsSourceIntervals. containedBy(IntervalsSource small, IntervalsSource big)Create a contained-byIntervalsSourcestatic IntervalsSourceIntervals. containing(IntervalsSource big, IntervalsSource small)Create a containingIntervalsSourcestatic 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. fuzzyTerm(String term, int maxEdits)A 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 IntervalsSourceIntervals. phrase(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 ofinterval sourcesstatic 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 prefixstatic IntervalsSourceIntervals. range(BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper)Return anIntervalsSourceover the disjunction of all terms that fall within the given rangestatic IntervalsSourceIntervals. range(BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper, int maxExpansions)Expert: Return anIntervalsSourceover the disjunction of all terms that fall within the given rangestatic IntervalsSourceIntervals. regexp(BytesRef regexp)Return anIntervalsSourceover the disjunction of all terms that match a regular expressionstatic IntervalsSourceIntervals. regexp(BytesRef regexp, int maxExpansions)Expert: Return anIntervalsSourceover the disjunction of all terms that match a regular expressionstatic IntervalsSourceIntervals. term(String term)Return anIntervalsSourceexposing intervals for a termstatic IntervalsSourceIntervals. term(String term, 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, 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 unorderedIntervalsSource.static IntervalsSourceIntervals. unorderedNoOverlaps(IntervalsSource a, IntervalsSource b)Create an unorderedIntervalsSourceallowing no overlaps between subsourcesstatic 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 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 IntervalsSource Modifier and Type Method Description Collection<IntervalsSource>FilteredIntervalsSource. pullUpDisjunctions()abstract Collection<IntervalsSource>IntervalsSource. pullUpDisjunctions()Expert: return the set of disjunctions that make up this IntervalsSourceMethods 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 referencestatic IntervalsSourceIntervals. containedBy(IntervalsSource small, IntervalsSource big)Create a contained-byIntervalsSourcestatic IntervalsSourceIntervals. containing(IntervalsSource big, IntervalsSource small)Create a containingIntervalsSourcestatic 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 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 IntervalsSource Modifier and Type Method Description 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-sourcesConstructors in org.apache.lucene.queries.intervals with parameters of type IntervalsSource Constructor Description FilteredIntervalsSource(String name, IntervalsSource in)Create a new FilteredIntervalsSourceIntervalQuery(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 exponent
-