Module org.apache.lucene.queries
Class FilteredIntervalsSource.MaxWidth
java.lang.Object
org.apache.lucene.queries.intervals.IntervalsSource
org.apache.lucene.queries.intervals.FilteredIntervalsSource
org.apache.lucene.queries.intervals.FilteredIntervalsSource.MaxWidth
- Enclosing class:
FilteredIntervalsSource
-
Field Summary
FieldsFields inherited from class org.apache.lucene.queries.intervals.FilteredIntervalsSource
in
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Expert: return the set of disjunctions that make up this IntervalsSource
-
Field Details
-
maxWidth
private final int maxWidth
-
-
Constructor Details
-
MaxWidth
MaxWidth(IntervalsSource in, int maxWidth)
-
-
Method Details
-
accept
- Specified by:
accept
in classFilteredIntervalsSource
- Returns:
false
if the current interval should be filtered out
-
pullUpDisjunctions
Description copied from class:IntervalsSource
Expert: return the set of disjunctions that make up this IntervalsSourceMost implementations can return
Collections.singleton(this)
- Overrides:
pullUpDisjunctions
in classFilteredIntervalsSource
-