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
IOException
public FatResultsMatching(Index i) throws IOException
IOException
public String getInfo()
Matching
public ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
Matching
match
in interface Matching
queryNumber
- - some ID of the queryqueryTerms
- - query terms to matchIOException
- if a problem occurs during matchingpublic void setCollectionStatistics(CollectionStatistics cs)
Matching
setCollectionStatistics
in interface Matching
cs
- CollectionStatistics to use during matchingTerrier 4.0. Copyright © 2004-2014 University of Glasgow