|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.contentnames.lucene.DefaultResultCategoriser
public class DefaultResultCategoriser
Constructor Summary | |
---|---|
DefaultResultCategoriser(CategoryMapperFactory categoryMapper)
|
Method Summary | |
---|---|
java.util.Map<Category,org.apache.lucene.search.TopDocCollector> |
categorise(DocumentResultScores resultScores,
ResultTemplate resultTemplate)
Categorises documentScores into categories defined in the specified resultTemplate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultResultCategoriser(CategoryMapperFactory categoryMapper)
Method Detail |
---|
public java.util.Map<Category,org.apache.lucene.search.TopDocCollector> categorise(DocumentResultScores resultScores, ResultTemplate resultTemplate)
ResultCategoriser
TopDocCollector
is assigned that category.
categorise
in interface ResultCategoriser
resultScores
- the scores for each document.resultTemplate
- the required grouping of results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |