@Service(value="blI18nSolrSearchServiceExtensionHandler") public class I18nSolrSearchServiceExtensionHandler extends AbstractSolrSearchServiceExtensionHandler implements SolrSearchServiceExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
protected SolrSearchServiceExtensionManager |
extensionManager |
protected LocaleService |
localeService |
protected SolrHelperService |
shs |
protected TranslationService |
translationService |
enabled, priority| Constructor and Description |
|---|
I18nSolrSearchServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
buildPrefixListForIndexField(IndexField field,
FieldType fieldType,
List<String> prefixList)
Returns a prefix if required for the passed in searchable field.
|
protected ExtensionResultStatusType |
getLocalePrefix(Field field,
List<String> prefixList)
If the field is translatable, take the current locale and add that as a prefix.
|
int |
getPriority() |
protected boolean |
getTranslationEnabled() |
void |
init() |
addAdditionalCategoryIds, attachFacet, attachFacet, attachSortField, batchFetchCatalogData, buildActiveFacetFilter, buildActiveFacetFilter, filterSearchFacetRanges, getCategoryId, getCategorySearchFacets, getPropertyNameForIndexField, getQueryField, getSearchableIndexFields, getSearchFacets, modifySearchResults, modifySolrQuery, modifySolrQuery, setFacetResultsisEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAdditionalCategoryIds, attachFacet, attachFacet, attachSortField, batchFetchCatalogData, buildActiveFacetFilter, buildActiveFacetFilter, filterSearchFacetRanges, getCategoryId, getCategorySearchFacets, getPropertyNameForIndexField, getQueryField, getSearchableIndexFields, getSearchFacets, modifySearchResults, modifySolrQuery, modifySolrQuery, setFacetResultsisEnabledprotected SolrHelperService shs
protected SolrSearchServiceExtensionManager extensionManager
protected TranslationService translationService
protected LocaleService localeService
public I18nSolrSearchServiceExtensionHandler()
protected boolean getTranslationEnabled()
@PostConstruct public void init()
public ExtensionResultStatusType buildPrefixListForIndexField(IndexField field, FieldType fieldType, List<String> prefixList)
SolrSearchServiceExtensionHandlerbuildPrefixListForIndexField in interface SolrSearchServiceExtensionHandlerbuildPrefixListForIndexField in class AbstractSolrSearchServiceExtensionHandlerprotected ExtensionResultStatusType getLocalePrefix(Field field, List<String> prefixList)
context - field - public int getPriority()
getPriority in interface ExtensionHandlergetPriority in class AbstractExtensionHandlerCopyright © 2021. All rights reserved.