public interface SolrKeywordRedirectService
| Modifier and Type | Method and Description |
|---|---|
SolrSearchResult |
attachKeywordRedirect(SolrSearchResult result)
Attach keyword redirects to a
SolrSearchResult. |
List<KeywordRedirectValue> |
getKeywordRedirect(SearchQuery query)
Get keyword redirect for given query.
|
List<KeywordRedirectValue> getKeywordRedirect(SearchQuery query)
KeywordRedirectSorter.query - used to find redirects.KeywordRedirectValueSolrSearchResult attachKeywordRedirect(SolrSearchResult result)
SolrSearchResult. It use getKeywordRedirect(SearchQuery) to get the
list of keywords. If keywords exists in the result new ones will be added and whole list will be sorted.result - result to attach redirects.SolrSearchResult with attached keyword redirects.Copyright © 2017 SAP SE. All Rights Reserved.