|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.v2.lucene.query.BoostByModificationDateStrategy
public class BoostByModificationDateStrategy
A BoostStrategy that boost the scores based on the modification date of scored document. Recently modified
Document get a higher boost.
| Constructor Summary | |
|---|---|
BoostByModificationDateStrategy()
|
|
| Method Summary | |
|---|---|
float |
boost(org.apache.lucene.index.IndexReader reader,
int doc,
float score)
Apply a relevant boost to the specified document with the specified score |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoostByModificationDateStrategy()
| Method Detail |
|---|
public float boost(org.apache.lucene.index.IndexReader reader,
int doc,
float score)
throws java.io.IOException
BoostStrategy
boost in interface BoostStrategyreader - a reader instance associated with the current scoring processdoc - the doc idscore - the original score for the document specified by doc
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||