| Modifier and Type | Field and Description |
|---|---|
protected List<DocumentScoreModifier> |
documentModifiers
Contains the document score modifiers to be applied for a query.
|
protected static String |
dsmNamespace
the default namespace for the document score modifiers that are specified in the properties
file.
|
boolean |
sort |
| Constructor and Description |
|---|
FatScoringMatching(Index _index,
Matching _parent) |
FatScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm) |
| 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
|
protected static String dsmNamespace
protected List<DocumentScoreModifier> documentModifiers
public boolean sort
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
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 4.0. Copyright © 2004-2014 University of Glasgow