com.atlassian.confluence.search.v2.lucene.compatibility
Class SearchResultToSearchResultWithExcerptConverter

java.lang.Object
  extended by 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).


Constructor Summary
SearchResultToSearchResultWithExcerptConverter()
           
 
Method Summary
static SearchResultWithExcerpt convertToSearchResultWithExcerpt(SearchResult result)
           
static List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt(SearchResults results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultToSearchResultWithExcerptConverter

public SearchResultToSearchResultWithExcerptConverter()
Method Detail

convertToSearchResultWithExcerpt

public static List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt(SearchResults results)

convertToSearchResultWithExcerpt

public static SearchResultWithExcerpt convertToSearchResultWithExcerpt(SearchResult result)


Copyright © 2003–2015 Atlassian. All rights reserved.