com.liferay.portal.kernel.search
Class IndexSearcherHelperUtil
java.lang.Object
com.liferay.portal.kernel.search.IndexSearcherHelperUtil
public class IndexSearcherHelperUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexSearcherHelperUtil
public IndexSearcherHelperUtil()
getQueryString
public static String getQueryString(SearchContext searchContext,
Query query)
search
public static Hits search(SearchContext searchContext,
Query query)
throws SearchException
- Throws:
SearchException
searchCount
public static long searchCount(SearchContext searchContext,
Query query)
throws SearchException
- Throws:
SearchException
spellCheckKeywords
public static String spellCheckKeywords(SearchContext searchContext)
throws SearchException
- Throws:
SearchException
spellCheckKeywords
public static Map<String,List<String>> spellCheckKeywords(SearchContext searchContext,
int max)
throws SearchException
- Throws:
SearchException
suggestKeywordQueries
public static String[] suggestKeywordQueries(SearchContext searchContext,
int max)
throws SearchException
- Throws:
SearchException