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()
Matching
protected static boolean containsFieldPostings(WritablePosting[][] postings)
public ResultSet doMatch(String queryNumber, MatchingQueryTerms queryTerms, ResultSet inputRS) throws IOException
IOException
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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow