Skip navigation links

Package org.apache.lucene.queries.intervals

Intervals queries

See: Description

Package org.apache.lucene.queries.intervals Description

Intervals queries

This package contains experimental classes to search over intervals within fields


The IntervalsSource class can be used to construct proximity relationships between terms and intervals. They can be built using static methods in the Intervals class

Basic intervals



An IntervalQuery takes a field name and an IntervalsSource, and matches all documents that contain intervals defined by the source in that field.
Skip navigation links

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