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) |
Hits |
search(String searchEngineId,
long companyId,
Query query,
Sort[] sort,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), replaced by
search(SearchContext, 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, setMessageBus, setSynchronousMessageSender, 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
@Deprecated public Hits search(String searchEngineId, long companyId, Query query, Sort[] sort, int start, int end)
search(SearchContext, 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