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 Details

  • Method Details

    • getIntervalsSource

      public org.apache.lucene.queries.intervals.IntervalsSource getIntervalsSource()
    • intervals

      public org.apache.lucene.queries.intervals.IntervalIterator intervals(String field, LeafReaderContext ctx) throws IOException
      Specified by:
      intervals in class org.apache.lucene.queries.intervals.IntervalsSource
      Throws:
      IOException
    • matches

      public org.apache.lucene.queries.intervals.IntervalMatchesIterator matches(String field, LeafReaderContext ctx, int doc) throws IOException
      Specified by:
      matches in class org.apache.lucene.queries.intervals.IntervalsSource
      Throws:
      IOException
    • visit

      public void visit(String field, org.apache.lucene.search.QueryVisitor visitor)
      Specified by:
      visit in class org.apache.lucene.queries.intervals.IntervalsSource
    • minExtent

      public int minExtent()
      Specified by:
      minExtent in class org.apache.lucene.queries.intervals.IntervalsSource
    • pullUpDisjunctions

      public Collection<org.apache.lucene.queries.intervals.IntervalsSource> pullUpDisjunctions()
      Specified by:
      pullUpDisjunctions in class org.apache.lucene.queries.intervals.IntervalsSource
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.lucene.queries.intervals.IntervalsSource
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in class org.apache.lucene.queries.intervals.IntervalsSource
    • toString

      public String toString()
      Specified by:
      toString in class org.apache.lucene.queries.intervals.IntervalsSource