|
||||||||||
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.DefaultResultConverter
public class DefaultResultConverter
Constructor Summary | |
---|---|
DefaultResultConverter(com.atlassian.bonnie.ILuceneConnection luceneConnection)
|
Method Summary | |
---|---|
java.util.List<SearchResult> |
asList(org.apache.lucene.search.TopDocsCollector results)
Converts the results to a list of SearchResult, i.e. |
java.util.Map<Category,java.util.List<SearchResult>> |
categorise(java.util.Map<Category,org.apache.lucene.search.TopDocsCollector> results)
Convert search results and categorise |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultResultConverter(com.atlassian.bonnie.ILuceneConnection luceneConnection)
Method Detail |
---|
public java.util.Map<Category,java.util.List<SearchResult>> categorise(java.util.Map<Category,org.apache.lucene.search.TopDocsCollector> results)
ResultConverter
categorise
in interface ResultConverter
results
- results to convert
public java.util.List<SearchResult> asList(org.apache.lucene.search.TopDocsCollector results)
ResultConverter
asList
in interface ResultConverter
results
- results to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |