public interface ResultCategoriser
DocumentResultScores
.
Results are categorised according to the ResultTemplate
specified.Modifier and Type | Method and Description |
---|---|
Map<Category,org.apache.lucene.search.TopScoreDocCollector> |
categorise(DocumentResultScores documentResultScores,
ResultTemplate resultTemplate)
Categorises documentScores into categories defined in the specified resultTemplate.
|
Map<Category,org.apache.lucene.search.TopScoreDocCollector> categorise(DocumentResultScores documentResultScores, ResultTemplate resultTemplate)
TopScoreDocCollector
is assigned that category.documentResultScores
- the scores for each document.resultTemplate
- the required grouping of resultsIllegalArgumentException
- if documentScores or resultTemplate is null.Copyright © 2003–2015 Atlassian. All rights reserved.