Class ExternalCatalogSearchProviderProperties
java.lang.Object
com.broadleafcommerce.catalogbrowse.service.provider.external.search.ExternalCatalogSearchProviderProperties
@ConfigurationProperties("broadleaf.catalogbrowse.catalogsearchprovider")
public class ExternalCatalogSearchProviderProperties
extends Object
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe context path to the catalog search endpointThe service client to use when calling search.The context path to the catalog search suggestions endpointgetUrl()The base url for an external search service:https://localhost:8447/search.booleanDetermines whether an additional call to Catalog Services should be made to hydrate the search results with additional product assets.voidsetHydrateAssets(boolean hydrateAssets) Determines whether an additional call to Catalog Services should be made to hydrate the search results with additional product assets.voidsetSearchUri(String searchUri) The context path to the catalog search endpointvoidsetServiceClient(String serviceClient) The service client to use when calling search.voidsetSuggestUri(String suggestUri) The context path to the catalog search suggestions endpointvoidThe base url for an external search service:https://localhost:8447/search.
-
Constructor Details
-
ExternalCatalogSearchProviderProperties
public ExternalCatalogSearchProviderProperties()
-
-
Method Details
-
getUrl
The base url for an external search service:https://localhost:8447/search. -
setUrl
The base url for an external search service:https://localhost:8447/search. -
getSearchUri
The context path to the catalog search endpoint -
setSearchUri
The context path to the catalog search endpoint -
getSuggestUri
The context path to the catalog search suggestions endpoint -
setSuggestUri
The context path to the catalog search suggestions endpoint -
isHydrateAssets
public boolean isHydrateAssets()Determines whether an additional call to Catalog Services should be made to hydrate the search results with additional product assets. -
setHydrateAssets
public void setHydrateAssets(boolean hydrateAssets) Determines whether an additional call to Catalog Services should be made to hydrate the search results with additional product assets. -
getServiceClient
The service client to use when calling search. Default is "catalogbrowseclient" -
setServiceClient
The service client to use when calling search. Default is "catalogbrowseclient"
-