com.endeca.portal.data.model
Class SearchUtil

java.lang.Object
  extended by com.endeca.portal.data.model.SearchUtil

public class SearchUtil
extends java.lang.Object

Class containing utility methods modeling search-related results.


Field Summary
static java.lang.String MAP_KEY_SEARCH_AUTOSUGGESTION
           
static java.lang.String MAP_KEY_SEARCH_TERMS
           
 
Method Summary
static java.util.ArrayList<java.lang.String> buildSearchKeys(com.endeca.mdex.conversation.Results results)
          Builds a list of search keys and equivalent terms based on search breadcrumbs and search adjustments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAP_KEY_SEARCH_TERMS

public static final java.lang.String MAP_KEY_SEARCH_TERMS
See Also:
Constant Field Values

MAP_KEY_SEARCH_AUTOSUGGESTION

public static final java.lang.String MAP_KEY_SEARCH_AUTOSUGGESTION
See Also:
Constant Field Values
Method Detail

buildSearchKeys

public static java.util.ArrayList<java.lang.String> buildSearchKeys(com.endeca.mdex.conversation.Results results)
                                                             throws DataSourceException
Builds a list of search keys and equivalent terms based on search breadcrumbs and search adjustments. Used primarily for search term highlighting.

Parameters:
results - - query results containing breadcrumbs
Returns:
- a list of search terms
Throws:
DataSourceException