public class SynonymOp extends MultiTermOp
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
static String |
STRING_PREFIX |
IGNORE_LOW_IDF_TERMS
Constructor and Description |
---|
SynonymOp(Operator[] ts) |
SynonymOp(String[] ts) |
Modifier and Type | Method and Description |
---|---|
protected IterablePosting |
createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
protected EntryStatistics |
mergeStatistics(EntryStatistics[] entryStats,
CollectionStatistics collStats)
Adjust the statistics for the #syn operator:
1.
|
String |
toString() |
addStatistics, clone, getConstituents, getMatcher, getPostingIterator
public static final String STRING_PREFIX
protected static final org.slf4j.Logger logger
public SynonymOp(Operator[] ts)
public SynonymOp(String[] ts)
protected EntryStatistics mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
mergeStatistics
in class MultiTermOp
protected IterablePosting createFinalPostingIterator(List<IterablePosting> postings, List<EntryStatistics> pointers) throws IOException
createFinalPostingIterator
in class MultiTermOp
IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow