Package org.terrier.matching.matchops
Class MatchingEntry
- java.lang.Object
-
- org.terrier.matching.matchops.MatchingEntry
-
public class MatchingEntry extends java.lang.Object
A MatchingEntry is the application of a matching Operator to the index at hand, i.e. with statistics, weighting models, and the posting list operator opened- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description MatchingEntry(IterablePosting postingIterator, EntryStatistics entryStats, double keyFreq, WeightingModel[] wmodels, org.terrier.matching.matchops.MatchingEntry.Requirement required, java.util.Set<java.lang.String> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryStatistics
getEntryStats()
double
getKeyFreq()
IterablePosting
getPostingIterator()
org.terrier.matching.matchops.MatchingEntry.Requirement
getRequirement()
java.util.Set<java.lang.String>
getTags()
WeightingModel[]
getWmodels()
boolean
isNegRequired()
boolean
isRequired()
-
-
-
Constructor Detail
-
MatchingEntry
public MatchingEntry(IterablePosting postingIterator, EntryStatistics entryStats, double keyFreq, WeightingModel[] wmodels, org.terrier.matching.matchops.MatchingEntry.Requirement required, java.util.Set<java.lang.String> tags)
-
-
Method Detail
-
getPostingIterator
public IterablePosting getPostingIterator()
-
getEntryStats
public EntryStatistics getEntryStats()
-
getKeyFreq
public double getKeyFreq()
-
getWmodels
public WeightingModel[] getWmodels()
-
getRequirement
public org.terrier.matching.matchops.MatchingEntry.Requirement getRequirement()
-
isRequired
public boolean isRequired()
-
isNegRequired
public boolean isNegRequired()
-
getTags
public java.util.Set<java.lang.String> getTags()
-
-