public class FatScoringMatching extends AbstractScoringMatching
Modifier and Type | Field and Description |
---|---|
protected static boolean |
SCORE_ONLY_FROM_MQT |
documentModifiers, dsmNamespace, filterTerm, index, sort, wm
parent
Constructor and Description |
---|
FatScoringMatching(Index _index,
Matching _parent) |
FatScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm) |
FatScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm,
Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
containsFieldPostings(WritablePosting[][] postings) |
ResultSet |
doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet inputRS) |
String |
getInfo()
Return a human readable description of this Matching class
|
ResultSet |
match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
void |
setCollectionStatistics(CollectionStatistics cs)
Update the collection statistics being used by this matching instance
|
public FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm, Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter)
public FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm)
public String getInfo()
Matching
protected static boolean containsFieldPostings(WritablePosting[][] postings)
public ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS) throws IOException
doMatch
in class FilterMatching
IOException
public ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
Matching
match
in interface Matching
match
in class FilterMatching
queryNumber
- - some ID of the queryqueryTerms
- - query terms to matchIOException
- if a problem occurs during matchingpublic void setCollectionStatistics(CollectionStatistics cs)
Matching
cs
- CollectionStatistics to use during matchingTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow