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, getPostingIteratorpublic 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 MultiTermOpprotected IterablePosting createFinalPostingIterator(List<IterablePosting> postings, List<EntryStatistics> pointers) throws IOException
createFinalPostingIterator in class MultiTermOpIOExceptionTerrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow