public class DefaultProductSearchQueryBuilder extends AbstractCsSolrSearchQueryBuilder<DefaultCsTextFacetSearchCommand>
| Constructor and Description |
|---|
DefaultProductSearchQueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected SearchQuery |
createLegacyQuery(DefaultCsTextFacetSearchCommand command,
CatalogModel catalog,
FacetSearchConfig config,
IndexedType indexedType,
Pageable pageable) |
protected SearchQuery |
createQuery(FacetSearchConfig config,
IndexedType indexedType,
String queryText) |
protected SearchQuery |
createSearchQuery(DefaultCsTextFacetSearchCommand command,
CatalogModel catalog,
FacetSearchConfig config,
Pageable pageable) |
protected FacetSearchConfig |
getFacetSearchConfig(CatalogModel catalog) |
FacetSearchService |
getFacetSearchService() |
protected String |
getItemTypeCode() |
void |
setFacetSearchService(FacetSearchService facetSearchService) |
void |
setItemTypeCode(String itemTypeCode) |
SearchQuery |
translateQuery(DefaultCsTextFacetSearchCommand command,
Pageable pageable)
Build the flexible search query.
|
cleanupLuceneSearchText, findDefaultSortOption, findSortOptionByCode, getAvailableSorts, getDefaultSort, getFacetSearchConfigService, getTypeService, replaceChars, replaceChars, setAvailableSorts, setDefaultSort, setFacetSearchConfigService, setTypeServiceprotected String getItemTypeCode()
public void setItemTypeCode(String itemTypeCode)
public FacetSearchService getFacetSearchService()
public void setFacetSearchService(FacetSearchService facetSearchService)
protected SearchQuery createSearchQuery(DefaultCsTextFacetSearchCommand command, CatalogModel catalog, FacetSearchConfig config, Pageable pageable)
protected SearchQuery createLegacyQuery(DefaultCsTextFacetSearchCommand command, CatalogModel catalog, FacetSearchConfig config, IndexedType indexedType, Pageable pageable)
protected SearchQuery createQuery(FacetSearchConfig config, IndexedType indexedType, String queryText)
public SearchQuery translateQuery(DefaultCsTextFacetSearchCommand command, Pageable pageable)
CsSearchQueryBuildercommand - the search commandpageable - the paging and sorting optionsprotected FacetSearchConfig getFacetSearchConfig(CatalogModel catalog)
Copyright © 2017 SAP SE. All Rights Reserved.