|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.gla.terrier.matching.dsms.BlockScoreModifier
public class BlockScoreModifier
This class modifers the scores of documents based on the position of the query terms in the document. This class implements the DocumentScoreModifier interface.
Constructor Summary | |
---|---|
BlockScoreModifier()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getName()
Returns the name of the document score modifier. |
boolean |
modifyScores(Index index,
MatchingQueryTerms query,
ResultSet resultSet)
Modifies scores by applying proximity weighting. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockScoreModifier()
Method Detail |
---|
public java.lang.String getName()
DocumentScoreModifier
getName
in interface DocumentScoreModifier
public boolean modifyScores(Index index, MatchingQueryTerms query, ResultSet resultSet)
modifyScores
in interface DocumentScoreModifier
index
- Index the data structures used for retrieval.query
- TermTreeNodes[] the query termsresultSet
- ResultSet the current set of results.
public java.lang.Object clone()
clone
in interface DocumentScoreModifier
clone
in class java.lang.Object
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |