# Uses of Package
org.apache.lucene.queries.intervals

- Packages that use org.apache.lucene.queries.intervals
  Package | Description
  --- | ---
  org.apache.lucene.queries.intervals | Intervals queries

- Classes in org.apache.lucene.queries.intervals used by org.apache.lucene.queries.intervals
  Class and Description
  IntervalIterator A `DocIdSetIterator` that also allows iteration over matching intervals in a document.
  IntervalMatchesIterator An extension of MatchesIterator that allows it to be treated as an IntervalIterator This is necessary to get access to `IntervalIterator.gaps()` and `IntervalIterator.width()` when constructing matches
  IntervalsSource A helper class for `IntervalQuery` that provides an `IntervalIterator` for a given field and segment Static constructor functions for various different sources can be found in the `Intervals` class

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.