com.atlassian.confluence.search.v2.lucene.compatibility
Class SearchResultToSearchResultWithExcerptConverter
java.lang.Object
com.atlassian.confluence.search.v2.lucene.compatibility.SearchResultToSearchResultWithExcerptConverter
public class SearchResultToSearchResultWithExcerptConverter
- extends Object
Convert search results to old-form SearchResultWithExcerpt objects. This conversion only puts enough information
into the result map to allow the recently-updated macro to work (the only place I can see where the SmartListManager
is called with loadObjects == false).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResultToSearchResultWithExcerptConverter
public SearchResultToSearchResultWithExcerptConverter()
convertToSearchResultWithExcerpt
public static List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt(SearchResults results)
convertToSearchResultWithExcerpt
public static SearchResultWithExcerpt convertToSearchResultWithExcerpt(SearchResult result)