public class ScoringMatching extends AbstractScoringMatching
documentModifiers, dsmNamespace, filterTerm, index, sort, wm
parent
Constructor and Description |
---|
ScoringMatching(Index _index,
Matching _parent) |
ScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm) |
ScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm,
Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignScore(int offset,
int docid,
double score,
IterablePosting[] postings) |
ResultSet |
doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet rsInput) |
protected void |
finalise(int numScored) |
protected ResultSet |
getFinalResultSet() |
String |
getInfo()
Return a human readable description of this Matching class
|
protected void |
makeResultSet(String[] qs,
EntryStatistics[] es,
double[] ks) |
void |
setCollectionStatistics(CollectionStatistics cs)
Update the collection statistics being used by this matching instance
|
match
public ScoringMatching(Index _index, Matching _parent, WeightingModel _wm, Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter)
public ScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
public ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, ResultSet rsInput) throws IOException
doMatch
in class FilterMatching
IOException
protected void finalise(int numScored)
protected void makeResultSet(String[] qs, EntryStatistics[] es, double[] ks)
protected void assignScore(int offset, int docid, double score, IterablePosting[] postings)
protected ResultSet getFinalResultSet()
public String getInfo()
Matching
public void setCollectionStatistics(CollectionStatistics cs)
Matching
cs
- CollectionStatistics to use during matchingTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow