Package org.terrier.matching
Class AbstractScoringMatching
- java.lang.Object
-
- org.terrier.matching.FilterMatching
-
- org.terrier.matching.AbstractScoringMatching
-
- All Implemented Interfaces:
Matching
- Direct Known Subclasses:
FatScoringMatching
,ScoringMatching
public abstract class AbstractScoringMatching extends FilterMatching
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<DocumentScoreModifier>
documentModifiers
Contains the document score modifiers to be applied for a query.protected static java.lang.String
dsmNamespace
the default namespace for the document score modifiers that are specified in the properties file.protected java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>>
filterTerm
Index
index
boolean
sort
protected WeightingModel
wm
-
Fields inherited from class org.terrier.matching.FilterMatching
parent
-
-
Constructor Summary
Constructors Constructor Description AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
AbstractScoringMatching(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
-
Methods inherited from class org.terrier.matching.FilterMatching
doMatch, doMatch, match
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.terrier.matching.Matching
getInfo, setCollectionStatistics
-
-
-
-
Field Detail
-
dsmNamespace
protected static java.lang.String dsmNamespace
the default namespace for the document score modifiers that are specified in the properties file.
-
index
public Index index
-
wm
protected WeightingModel wm
-
sort
public boolean sort
-
filterTerm
protected java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> filterTerm
-
documentModifiers
protected java.util.List<DocumentScoreModifier> documentModifiers
Contains the document score modifiers to be applied for a query.
-
-
Constructor Detail
-
AbstractScoringMatching
public AbstractScoringMatching(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)
-
AbstractScoringMatching
public AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
-
-