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()
DocumentScoreModifiergetName in interface DocumentScoreModifierpublic boolean modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)
DocumentScoreModifiermodifyScores in interface DocumentScoreModifierindex - Index the data structures used for retrieval.queryTerms - TermTreeNodes[] the query termsresultSet - ResultSet the current set of results.public Object clone()
clone in interface DocumentScoreModifierclone in class ObjectTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow