public final class IntervalQuery extends Query
IntervalsSource
Static constructor functions for various different sources can be found in the
Intervals class| Constructor and Description |
|---|
IntervalQuery(String field,
IntervalsSource intervalsSource)
Create a new IntervalQuery
|
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
boolean |
equals(Object o) |
String |
getField() |
int |
hashCode() |
String |
toString(String field) |
classHash, rewrite, sameClassAs, toStringpublic IntervalQuery(String field, IntervalsSource intervalsSource)
field - the field to queryintervalsSource - an IntervalsSource to retrieve intervals frompublic String getField()
public Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class QueryIOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.