public interface IndexSearcherHelper
Modifier and Type | Method and Description |
---|---|
String |
getQueryString(SearchContext searchContext,
Query query) |
Hits |
search(SearchContext searchContext,
Query query) |
long |
searchCount(SearchContext searchContext,
Query query) |
String |
spellCheckKeywords(SearchContext searchContext) |
Map<String,List<String>> |
spellCheckKeywords(SearchContext searchContext,
int max) |
String[] |
suggestKeywordQueries(SearchContext searchContext,
int max) |
String getQueryString(SearchContext searchContext, Query query)
Hits search(SearchContext searchContext, Query query) throws SearchException
SearchException
long searchCount(SearchContext searchContext, Query query) throws SearchException
SearchException
String spellCheckKeywords(SearchContext searchContext) throws SearchException
SearchException
Map<String,List<String>> spellCheckKeywords(SearchContext searchContext, int max) throws SearchException
SearchException
String[] suggestKeywordQueries(SearchContext searchContext, int max) throws SearchException
SearchException