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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow