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() |
void |
setField(String newField) |
void |
setTerm(String newTerm) |
String |
toString() |
public SingleTermOp(String t)
public String getTerm()
public void setTerm(String newTerm)
public void setField(String newField)
public SingleTermOp clone()
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> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics) throws IOException
Operator
getMatcher
in class Operator
IOException
public String getField()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow