public abstract class MultiTermOp extends Operator
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
IGNORE_LOW_IDF_TERMS
Constructor and Description |
---|
MultiTermOp(Operator[] _ts) |
MultiTermOp(String[] ts) |
Modifier and Type | Method and Description |
---|---|
static EntryStatistics |
addStatistics(EntryStatistics[] entryStats)
merges several EntryStatistics for a single effective term simply by adding
|
MultiTermOp |
clone() |
protected abstract IterablePosting |
createFinalPostingIterator(List<IterablePosting> postings,
List<EntryStatistics> pointers) |
Operator[] |
getConstituents() |
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.
|
protected EntryStatistics |
mergeStatistics(EntryStatistics[] entryStats,
CollectionStatistics collStats) |
public MultiTermOp(String[] ts)
public MultiTermOp(Operator[] _ts)
public Operator[] getConstituents()
public static EntryStatistics addStatistics(EntryStatistics[] entryStats)
protected EntryStatistics mergeStatistics(EntryStatistics[] entryStats, CollectionStatistics collStats)
protected abstract IterablePosting createFinalPostingIterator(List<IterablePosting> postings, List<EntryStatistics> pointers) throws IOException
IOException
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 MultiTermOp clone()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow