public class ResetScores extends Object implements DocumentScoreModifier
Modifier and Type | Field and Description |
---|---|
protected double |
DEFAULT |
Constructor and Description |
---|
ResetScores() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates the close of this object
|
String |
getName()
Returns the name of the document score modifier.
|
boolean |
modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet)
Modifies the scores of the documents for a given
query.
|
public String getName()
DocumentScoreModifier
getName
in interface DocumentScoreModifier
public boolean modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)
DocumentScoreModifier
modifyScores
in interface DocumentScoreModifier
index
- Index the data structures used for retrieval.queryTerms
- TermTreeNodes[] the query termsresultSet
- ResultSet the current set of results.public Object clone()
clone
in interface DocumentScoreModifier
clone
in class Object
Terrier 4.0. Copyright © 2004-2014 University of Glasgow