com.atlassian.confluence.search.contentnames.lucene
Interface ResultConverter
- All Known Implementing Classes:
- DefaultResultConverter
public interface ResultConverter
Converts search results from docId's into actual SearchResult
s.
convert
Map<Category,List<SearchResult>> convert(Map<Category,org.apache.lucene.search.TopDocCollector> results)
- Convert search results.
- Parameters:
results
- results to convert
- Returns:
- ordered results keyed by category. Search results are ordered such that highest scoring hits come first.
Copyright © 2003-2011 Atlassian. All Rights Reserved.