public class SingleTermOp extends Operator
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
IGNORE_LOW_IDF_TERMS| Constructor and Description |
|---|
SingleTermOp(String t) |
SingleTermOp(String t,
String f) |
| Modifier and Type | Method and Description |
|---|---|
SingleTermOp |
clone() |
String |
getField() |
MatchingEntry |
getMatcher(MatchingQueryTerms.QueryTermProperties qtp,
Index index,
Lexicon<String> lexicon,
PostingIndex<Pointer> invertedIndex,
CollectionStatistics collectionStatistics)
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 |
getTerm() |
SingleTermOp |
setField(String newField) |
void |
setTerm(String newTerm) |
String |
toString() |
public SingleTermOp(String t)
public String getTerm()
public void setTerm(String newTerm)
public SingleTermOp setField(String newField)
public SingleTermOp clone()
public org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting> getPostingIterator(Index index) throws IOException
OperatorgetPostingIterator in class OperatorIOExceptionpublic MatchingEntry getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<String> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics) throws IOException
OperatorgetMatcher in class OperatorIOExceptionpublic String getField()
Terrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow