public class FatFeaturedScoringMatching extends Object implements Matching
FeaturedResultSet by applying a list of features. The input from a parent matching class is a FatResultSet. 
 Feature names have a particular format:
Matching class becomes a feature.| Constructor and Description | 
|---|
| FatFeaturedScoringMatching(Index _index,
                          Matching _parent) | 
| FatFeaturedScoringMatching(Index _index,
                          Matching _parent,
                          String[] _featureNames) | 
| Modifier and Type | Method and Description | 
|---|---|
| ResultSet | doMatch(String queryNumber,
       MatchingQueryTerms queryTerms,
       FatResultSet fat) | 
| String | getInfo()Return a human readable description of this Matching class | 
| protected void | loadFeatures(String[] featureNames) | 
| 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 FatFeaturedScoringMatching(Index _index, Matching _parent, String[] _featureNames) throws Exception
Exceptionpublic String getInfo()
Matchingpublic ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, FatResultSet fat) throws IOException
IOExceptionpublic ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
Matchingmatch in interface MatchingqueryNumber - - some ID of the queryqueryTerms - - query terms to matchIOException - if a problem occurs during matchingpublic void setCollectionStatistics(CollectionStatistics cs)
MatchingsetCollectionStatistics in interface Matchingcs - CollectionStatistics to use during matchingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow