|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScoreModifier
An interface for clases that would like the opportunity to modify document scores at the time that they are being considered for inclusion into a set of results returned from the search engine.
| Method Summary | |
|---|---|
float |
modifyScore(float score,
ResultAccessor ra)
Modifies the provided score, possibly taking into account the data about the current document using the provided result accessor. |
| Method Detail |
|---|
float modifyScore(float score,
ResultAccessor ra)
Note that an implementation of this method may be called thousands or hundreds of thousands of times when deciding whether to add a document to a set of results!
score - the current score for the document under considerationra - a result accessor that can provide information about the
document currently under consideration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||