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 java.lang.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 java.util.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 java.util.List<SearchResultWithExcerpt> convertToSearchResultWithExcerpt(SearchResults results)

convertToSearchResultWithExcerpt

public static SearchResultWithExcerpt convertToSearchResultWithExcerpt(SearchResult result)


Copyright © 2003-2014 Atlassian. All Rights Reserved.