public class FatScoringMatching extends AbstractScoringMatching
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
SCORE_ONLY_FROM_MQT |
documentModifiers, dsmNamespace, filterTerm, index, sort, wmparent| 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()
Matchingprotected static boolean containsFieldPostings(WritablePosting[][] postings)
public ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS) throws IOException
doMatch in class FilterMatchingIOExceptionpublic ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
Matchingmatch in interface Matchingmatch in class FilterMatchingqueryNumber - - some ID of the queryqueryTerms - - query terms to matchIOException - if a problem occurs during matchingpublic void setCollectionStatistics(CollectionStatistics cs)
Matchingcs - CollectionStatistics to use during matchingTerrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow