public class FatResultsMatching extends Object implements Matching
FatResultSet serialized to disk by WritableOutputFormat.
Properties:
| Constructor and Description |
|---|
FatResultsMatching(Index i) |
FatResultsMatching(String _filename,
int _maxResults) |
| Modifier and Type | Method and Description |
|---|---|
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 FatResultsMatching(String _filename, int _maxResults) throws IOException
IOExceptionpublic FatResultsMatching(Index i) throws IOException
IOExceptionpublic String getInfo()
Matchingpublic 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 Platform 5.2. Copyright © 2004-2019, University of Glasgow