public class IndexSearcherProxyBean extends BaseMultiDestinationProxyBean implements IndexSearcher
Constructor and Description |
---|
IndexSearcherProxyBean() |
Modifier and Type | Method and Description |
---|---|
String |
getDestinationName(ProxyRequest proxyRequest) |
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) |
SuggesterResults |
suggest(SearchContext searchContext,
Suggester suggester) |
String[] |
suggestKeywordQueries(SearchContext searchContext,
int max) |
afterPropertiesSet, buildMessage, send, setSynchronousMessageSenderMode, synchronousSend
public String getDestinationName(ProxyRequest proxyRequest)
getDestinationName
in class BaseMultiDestinationProxyBean
public String getQueryString(SearchContext searchContext, Query query)
getQueryString
in interface IndexSearcher
public Hits search(SearchContext searchContext, Query query)
search
in interface IndexSearcher
public long searchCount(SearchContext searchContext, Query query)
searchCount
in interface IndexSearcher
public String spellCheckKeywords(SearchContext searchContext)
spellCheckKeywords
in interface QuerySuggester
public Map<String,List<String>> spellCheckKeywords(SearchContext searchContext, int max)
spellCheckKeywords
in interface QuerySuggester
public SuggesterResults suggest(SearchContext searchContext, Suggester suggester)
suggest
in interface QuerySuggester
public String[] suggestKeywordQueries(SearchContext searchContext, int max)
suggestKeywordQueries
in interface QuerySuggester