Package org.terrier.matching
Class ScoringMatchingWithFat
- java.lang.Object
-
- org.terrier.matching.FilterMatching
-
- org.terrier.matching.AbstractScoringMatching
-
- org.terrier.matching.ScoringMatching
-
- org.terrier.matching.ScoringMatchingWithFat
-
- All Implemented Interfaces:
Matching
public class ScoringMatchingWithFat extends ScoringMatching
-
-
Field Summary
-
Fields inherited from class org.terrier.matching.AbstractScoringMatching
documentModifiers, dsmNamespace, filterTerm, index, sort, wm
-
Fields inherited from class org.terrier.matching.FilterMatching
parent
-
-
Constructor Summary
Constructors Constructor Description ScoringMatchingWithFat(Index _index, Matching _parent)
ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm)
ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assignScore(int offset, int docid, double score, IterablePosting[] postings)
protected ResultSet
getFinalResultSet()
java.lang.String
getInfo()
Return a human readable description of this Matching classprotected void
makeResultSet(int docCount, java.lang.String[] qs, EntryStatistics[] es, double[] ks, java.util.Set<java.lang.String>[] tags)
-
Methods inherited from class org.terrier.matching.ScoringMatching
doMatch, finalise, setCollectionStatistics
-
Methods inherited from class org.terrier.matching.FilterMatching
doMatch, match
-
-
-
-
Constructor Detail
-
ScoringMatchingWithFat
public ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)
-
ScoringMatchingWithFat
public ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm)
-
-
Method Detail
-
getInfo
public java.lang.String getInfo()
Description copied from interface:Matching
Return a human readable description of this Matching class- Specified by:
getInfo
in interfaceMatching
- Overrides:
getInfo
in classScoringMatching
-
makeResultSet
protected void makeResultSet(int docCount, java.lang.String[] qs, EntryStatistics[] es, double[] ks, java.util.Set<java.lang.String>[] tags)
- Overrides:
makeResultSet
in classScoringMatching
-
assignScore
protected void assignScore(int offset, int docid, double score, IterablePosting[] postings)
- Overrides:
assignScore
in classScoringMatching
-
getFinalResultSet
protected ResultSet getFinalResultSet()
- Overrides:
getFinalResultSet
in classScoringMatching
-
-