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) class
class
An IntervalsSource that filters the intervals from another IntervalsSourceprivate static class
private static class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
A source returning no matches(package private) class
(package private) class
(package private) class
(package private) class
Tracks 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) class
Generates an iterator that spans repeating instances of a sub-iterator, avoiding minimization.(package private) class
(package private) class
Fields in org.apache.lucene.queries.intervals declared as IntervalsSourceModifier and TypeFieldDescriptionprivate final IntervalsSource
ContainedByIntervalsSource.big
private final IntervalsSource
ContainingIntervalsSource.big
protected final IntervalsSource
FilteredIntervalsSource.in
private final IntervalsSource
OffsetIntervalsSource.in
(package private) final IntervalsSource
RepeatingIntervalsSource.in
private final IntervalsSource
IntervalQuery.intervalsSource
(package private) final IntervalsSource
DifferenceIntervalsSource.minuend
private static final IntervalsSource
IntervalBuilder.NO_INTERVALS
private final IntervalsSource
OverlappingIntervalsSource.reference
private final IntervalsSource
ContainedByIntervalsSource.small
private final IntervalsSource
ContainingIntervalsSource.small
(package private) final IntervalsSource
ExtendedIntervalsSource.source
private final IntervalsSource
FixedFieldIntervalsSource.source
private final IntervalsSource
OverlappingIntervalsSource.source
private final IntervalsSource[]
MinimumShouldMatchIntervalsSource.sources
(package private) final IntervalsSource
DifferenceIntervalsSource.subtrahend
Fields 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.subSources
protected final List
<IntervalsSource> MinimizingConjunctionIntervalsSource.subSources
Methods in org.apache.lucene.queries.intervals that return IntervalsSourceModifier and TypeMethodDescriptionstatic IntervalsSource
Intervals.after
(IntervalsSource source, IntervalsSource reference) Returns intervals from the source that appear after intervals from the referencestatic IntervalsSource
Intervals.analyzedText
(String text, Analyzer analyzer, String field, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from aTokenStream
returned fortext
by applying the providedAnalyzer
as iftext
was the content of the givenfield
.static IntervalsSource
Intervals.analyzedText
(TokenStream tokenStream, int maxGaps, boolean ordered) Returns intervals that correspond to tokens from the providedTokenStream
.private static IntervalsSource
IntervalBuilder.analyzeSynonyms
(TokenStream ts, int maxGaps, boolean ordered) private static IntervalsSource
IntervalBuilder.analyzeTerm
(TokenStream ts) (package private) static IntervalsSource
IntervalBuilder.analyzeText
(CachingTokenFilter stream, int maxGaps, boolean ordered) static IntervalsSource
Intervals.atLeast
(int minShouldMatch, IntervalsSource... sources) Return intervals that span combinations of intervals fromminShouldMatch
of the sourcesstatic IntervalsSource
Intervals.before
(IntervalsSource source, IntervalsSource reference) Returns intervals from the source that appear before intervals from the reference(package private) static IntervalsSource
BlockIntervalsSource.build
(List<IntervalsSource> subSources) (package private) static IntervalsSource
ContainedByIntervalsSource.build
(IntervalsSource small, IntervalsSource big) (package private) static IntervalsSource
ContainingIntervalsSource.build
(IntervalsSource big, IntervalsSource small) (package private) static IntervalsSource
NotContainedByIntervalsSource.build
(IntervalsSource minuend, IntervalsSource subtrahend) (package private) static IntervalsSource
NotContainingIntervalsSource.build
(IntervalsSource minuend, IntervalsSource subtrahend) (package private) static IntervalsSource
OrderedIntervalsSource.build
(List<IntervalsSource> sources) (package private) static IntervalsSource
RepeatingIntervalsSource.build
(IntervalsSource in, int childCount) (package private) static IntervalsSource
UnorderedIntervalsSource.build
(List<IntervalsSource> sources) private static IntervalsSource
IntervalBuilder.combineSources
(List<IntervalsSource> sources, int maxGaps, boolean ordered) static IntervalsSource
Intervals.containedBy
(IntervalsSource small, IntervalsSource big) Create a contained-byIntervalsSource
static IntervalsSource
Intervals.containing
(IntervalsSource big, IntervalsSource small) Create a containingIntervalsSource
(package private) static IntervalsSource
DisjunctionIntervalsSource.create
(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) private static IntervalsSource
IntervalBuilder.extend
(IntervalsSource source, int precedingSpaces) static IntervalsSource
Intervals.extend
(IntervalsSource source, int before, int after) Create anIntervalsSource
that wraps another source, extending its intervals by a number of positions before and after.static IntervalsSource
Intervals.fixField
(String field, IntervalsSource source) Create anIntervalsSource
that always returns intervals from a specific fieldstatic IntervalsSource
A fuzzy termIntervalsSource
matches the disjunction of intervals of terms that are within the specifiedmaxEdits
from the provided term.static IntervalsSource
Intervals.fuzzyTerm
(String term, int maxEdits, int prefixLength, boolean transpositions, int maxExpansions) A fuzzy termIntervalsSource
matches the disjunction of intervals of terms that are within the specifiedmaxEdits
from the provided term.static IntervalsSource
Intervals.maxgaps
(int gaps, IntervalsSource subSource) Create anIntervalsSource
that filters a sub-source by its gapsstatic IntervalsSource
FilteredIntervalsSource.maxGaps
(IntervalsSource in, int maxGaps) static IntervalsSource
Intervals.maxwidth
(int width, IntervalsSource subSource) Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic IntervalsSource
FilteredIntervalsSource.maxWidth
(IntervalsSource in, int maxWidth) static IntervalsSource
Intervals.multiterm
(CompiledAutomaton ca, int maxExpansions, String pattern) Expert: Return anIntervalsSource
over the disjunction of all terms that are accepted by the given automatonstatic IntervalsSource
Intervals.multiterm
(CompiledAutomaton ca, String pattern) Expert: Return anIntervalsSource
over the disjunction of all terms that are accepted by the given automatonstatic IntervalsSource
Intervals.noIntervals
(String reason) Returns a source that produces no intervalsstatic IntervalsSource
Intervals.nonOverlapping
(IntervalsSource minuend, IntervalsSource subtrahend) Create a non-overlapping IntervalsSourcestatic IntervalsSource
Intervals.notContainedBy
(IntervalsSource small, IntervalsSource big) Create a not-contained-byIntervalsSource
static IntervalsSource
Intervals.notContaining
(IntervalsSource minuend, IntervalsSource subtrahend) Create a not-containingIntervalsSource
static IntervalsSource
Intervals.notWithin
(IntervalsSource minuend, int positions, IntervalsSource subtrahend) Create a not-withinIntervalsSource
static IntervalsSource
Intervals.or
(boolean rewrite, List<IntervalsSource> subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.or
(boolean rewrite, IntervalsSource... subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.or
(List<IntervalsSource> subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.or
(IntervalsSource... subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.ordered
(IntervalsSource... subSources) Create an orderedIntervalsSource
static IntervalsSource
Intervals.overlapping
(IntervalsSource source, IntervalsSource reference) Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSource
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 ofinterval sources
static IntervalsSource
Return anIntervalsSource
over the disjunction of all terms that begin with a prefixstatic IntervalsSource
Expert: Return anIntervalsSource
over the disjunction of all terms that begin with a prefixstatic IntervalsSource
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Return anIntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSource
Return anIntervalsSource
exposing intervals for a termstatic IntervalsSource
Return anIntervalsSource
exposing intervals for a term, filtered by the value of the term's payload at each positionstatic IntervalsSource
Intervals.unordered
(IntervalsSource... subSources) Create an unorderedIntervalsSource
.static IntervalsSource
Intervals.unorderedNoOverlaps
(IntervalsSource a, IntervalsSource b) Create an unorderedIntervalsSource
allowing no overlaps between subsourcesstatic IntervalsSource
Return anIntervalsSource
over the disjunction of all terms that match a wildcard globstatic IntervalsSource
Expert: Return anIntervalsSource
over the disjunction of all terms that match a wildcard globstatic IntervalsSource
Intervals.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 IntervalsSource
Intervals.after
(IntervalsSource source, IntervalsSource reference) Returns intervals from the source that appear after intervals from the referencestatic IntervalsSource
Intervals.atLeast
(int minShouldMatch, IntervalsSource... sources) Return intervals that span combinations of intervals fromminShouldMatch
of the sourcesstatic IntervalsSource
Intervals.before
(IntervalsSource source, IntervalsSource reference) Returns intervals from the source that appear before intervals from the reference(package private) static IntervalsSource
ContainedByIntervalsSource.build
(IntervalsSource small, IntervalsSource big) (package private) static IntervalsSource
ContainingIntervalsSource.build
(IntervalsSource big, IntervalsSource small) (package private) static IntervalsSource
NotContainedByIntervalsSource.build
(IntervalsSource minuend, IntervalsSource subtrahend) (package private) static IntervalsSource
NotContainingIntervalsSource.build
(IntervalsSource minuend, IntervalsSource subtrahend) (package private) static IntervalsSource
RepeatingIntervalsSource.build
(IntervalsSource in, int childCount) static IntervalsSource
Intervals.containedBy
(IntervalsSource small, IntervalsSource big) Create a contained-byIntervalsSource
static IntervalsSource
Intervals.containing
(IntervalsSource big, IntervalsSource small) Create a containingIntervalsSource
private static IntervalsSource
IntervalBuilder.extend
(IntervalsSource source, int precedingSpaces) static IntervalsSource
Intervals.extend
(IntervalsSource source, int before, int after) Create anIntervalsSource
that wraps another source, extending its intervals by a number of positions before and after.static IntervalsSource
Intervals.fixField
(String field, IntervalsSource source) Create anIntervalsSource
that always returns intervals from a specific fieldstatic IntervalsSource
Intervals.maxgaps
(int gaps, IntervalsSource subSource) Create anIntervalsSource
that filters a sub-source by its gapsstatic IntervalsSource
FilteredIntervalsSource.maxGaps
(IntervalsSource in, int maxGaps) static IntervalsSource
Intervals.maxwidth
(int width, IntervalsSource subSource) Create anIntervalsSource
that filters a sub-source by the width of its intervalsstatic IntervalsSource
FilteredIntervalsSource.maxWidth
(IntervalsSource in, int maxWidth) static IntervalsSource
Intervals.nonOverlapping
(IntervalsSource minuend, IntervalsSource subtrahend) Create a non-overlapping IntervalsSourcestatic IntervalsSource
Intervals.notContainedBy
(IntervalsSource small, IntervalsSource big) Create a not-contained-byIntervalsSource
static IntervalsSource
Intervals.notContaining
(IntervalsSource minuend, IntervalsSource subtrahend) Create a not-containingIntervalsSource
static IntervalsSource
Intervals.notWithin
(IntervalsSource minuend, int positions, IntervalsSource subtrahend) Create a not-withinIntervalsSource
static IntervalsSource
Intervals.or
(boolean rewrite, IntervalsSource... subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.or
(IntervalsSource... subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.ordered
(IntervalsSource... subSources) Create an orderedIntervalsSource
static IntervalsSource
Intervals.overlapping
(IntervalsSource source, IntervalsSource reference) Returns intervals from a source that overlap with intervals from another sourcestatic IntervalsSource
Intervals.phrase
(IntervalsSource... subSources) Return anIntervalsSource
exposing intervals for a phrase consisting of a list ofinterval sources
static List
<IntervalsSource> Disjunctions.pullUp
(IntervalsSource source, Function<IntervalsSource, IntervalsSource> function) private static List
<IntervalsSource> Disjunctions.splitDisjunctions
(IntervalsSource source) static IntervalsSource
Intervals.unordered
(IntervalsSource... subSources) Create an unorderedIntervalsSource
.static IntervalsSource
Intervals.unorderedNoOverlaps
(IntervalsSource a, IntervalsSource b) Create an unorderedIntervalsSource
allowing no overlaps between subsourcesstatic IntervalsSource
Intervals.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 IntervalsSource
BlockIntervalsSource.build
(List<IntervalsSource> subSources) (package private) static IntervalsSource
OrderedIntervalsSource.build
(List<IntervalsSource> sources) (package private) static IntervalsSource
UnorderedIntervalsSource.build
(List<IntervalsSource> sources) private static IntervalsSource
IntervalBuilder.combineSources
(List<IntervalsSource> sources, int maxGaps, boolean ordered) (package private) static IntervalsSource
DisjunctionIntervalsSource.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 IntervalsSource
Intervals.or
(boolean rewrite, List<IntervalsSource> subSources) Return anIntervalsSource
over the disjunction of a set of sub-sourcesstatic IntervalsSource
Intervals.or
(List<IntervalsSource> subSources) Return anIntervalsSource
over 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 IntervalsSourceModifierConstructorDescriptionprivate
ContainedByIntervalsSource
(IntervalsSource small, IntervalsSource big) private
ContainingIntervalsSource
(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 exponentprivate
IntervalQuery
(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) private
NotContainedByIntervalsSource
(IntervalsSource minuend, IntervalsSource subtrahend) private
NotContainingIntervalsSource
(IntervalsSource minuend, IntervalsSource subtrahend) (package private)
OffsetIntervalsSource
(IntervalsSource in, boolean before) (package private)
OverlappingIntervalsSource
(IntervalsSource source, IntervalsSource reference) private
RepeatingIntervalsSource
(IntervalsSource in, int childCount) Constructor parameters in org.apache.lucene.queries.intervals with type arguments of type IntervalsSourceModifierConstructorDescriptionprivate
BlockIntervalsSource
(List<IntervalsSource> sources) protected
ConjunctionIntervalsSource
(List<IntervalsSource> subSources) private
DisjunctionIntervalsSource
(Collection<IntervalsSource> subSources, boolean pullUpDisjunctions) protected
MinimizingConjunctionIntervalsSource
(List<IntervalsSource> subSources) private
OrderedIntervalsSource
(List<IntervalsSource> sources) private
UnorderedIntervalsSource
(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 IntervalsSource
IntervalFunction.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)