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 booleanExpert: 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:
acceptin classFilteredIntervalsSource- Returns:
falseif the current interval should be filtered out
-
pullUpDisjunctions
Description copied from class:IntervalsSourceExpert: return the set of disjunctions that make up this IntervalsSourceMost implementations can return
Collections.singleton(this)- Overrides:
pullUpDisjunctionsin classFilteredIntervalsSource
-