public class DateRangeOp extends Operator
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
static String |
STRING_PREFIX |
IGNORE_LOW_IDF_TERMS
Constructor and Description |
---|
DateRangeOp(Date _lo,
Date _hi) |
Modifier and Type | Method and Description |
---|---|
MatchingEntry |
getMatcher(MatchingQueryTerms.QueryTermProperties qtp,
Index index,
Lexicon<String> lexTerm,
PostingIndex<Pointer> invTerm,
CollectionStatistics collectionStats)
get an entry for matching for this query op.
|
org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> |
getPostingIterator(Index index)
get posting iterator for this query op.
|
String |
toString() |
public static final String STRING_PREFIX
protected static final org.slf4j.Logger logger
public org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> getPostingIterator(Index index) throws IOException
Operator
getPostingIterator
in class Operator
IOException
public MatchingEntry getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<String> lexTerm, PostingIndex<Pointer> invTerm, CollectionStatistics collectionStats) throws IOException
Operator
getMatcher
in class Operator
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow