Package org.elasticsearch.index.query
Class SourceIntervalsSource
java.lang.Object
org.apache.lucene.queries.intervals.IntervalsSource
org.elasticsearch.index.query.SourceIntervalsSource
public final class SourceIntervalsSource
extends org.apache.lucene.queries.intervals.IntervalsSource
A wrapper of
IntervalsSource for the case when positions are not indexed.-
Constructor Summary
ConstructorsConstructorDescriptionSourceIntervalsSource(org.apache.lucene.queries.intervals.IntervalsSource in, org.apache.lucene.search.Query approximation, Function<org.apache.lucene.index.LeafReaderContext,org.elasticsearch.common.CheckedIntFunction<List<Object>,IOException>> valueFetcherProvider, org.apache.lucene.analysis.Analyzer indexAnalyzer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.lucene.queries.intervals.IntervalsSourceinthashCode()org.apache.lucene.queries.intervals.IntervalIteratororg.apache.lucene.queries.intervals.IntervalMatchesIteratorintCollection<org.apache.lucene.queries.intervals.IntervalsSource>toString()void
-
Constructor Details
-
SourceIntervalsSource
public SourceIntervalsSource(org.apache.lucene.queries.intervals.IntervalsSource in, org.apache.lucene.search.Query approximation, Function<org.apache.lucene.index.LeafReaderContext,org.elasticsearch.common.CheckedIntFunction<List<Object>,IOException>> valueFetcherProvider, org.apache.lucene.analysis.Analyzer indexAnalyzer)
-
-
Method Details
-
getIntervalsSource
public org.apache.lucene.queries.intervals.IntervalsSource getIntervalsSource() -
intervals
public org.apache.lucene.queries.intervals.IntervalIterator intervals(String field, org.apache.lucene.index.LeafReaderContext ctx) throws IOException- Specified by:
intervalsin classorg.apache.lucene.queries.intervals.IntervalsSource- Throws:
IOException
-
matches
public org.apache.lucene.queries.intervals.IntervalMatchesIterator matches(String field, org.apache.lucene.index.LeafReaderContext ctx, int doc) throws IOException- Specified by:
matchesin classorg.apache.lucene.queries.intervals.IntervalsSource- Throws:
IOException
-
visit
- Specified by:
visitin classorg.apache.lucene.queries.intervals.IntervalsSource
-
minExtent
public int minExtent()- Specified by:
minExtentin classorg.apache.lucene.queries.intervals.IntervalsSource
-
pullUpDisjunctions
- Specified by:
pullUpDisjunctionsin classorg.apache.lucene.queries.intervals.IntervalsSource
-
hashCode
public int hashCode()- Specified by:
hashCodein classorg.apache.lucene.queries.intervals.IntervalsSource
-
equals
- Specified by:
equalsin classorg.apache.lucene.queries.intervals.IntervalsSource
-
toString
- Specified by:
toStringin classorg.apache.lucene.queries.intervals.IntervalsSource
-