public class

SearchResultToSearchResultWithExcerptConverter

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.lucene.compatibility.SearchResultToSearchResultWithExcerptConverter

Class Overview

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).

Summary

Public Constructors
SearchResultToSearchResultWithExcerptConverter()
Public Methods
static SearchResultWithExcerpt convertToSearchResultWithExcerpt(SearchResult result)
static List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt(SearchResults results)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SearchResultToSearchResultWithExcerptConverter ()

Public Methods

public static SearchResultWithExcerpt convertToSearchResultWithExcerpt (SearchResult result)

public static List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt (SearchResults results)