Class SearchCacheProperties
java.lang.Object
com.broadleafcommerce.search.core.cache.SearchCacheProperties
@ConfigurationProperties("broadleaf.search.cache")
public class SearchCacheProperties
extends Object
Properties that influence cache settings for the search service
- Author:
- Jeff Fischer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
Size of the LRUMap cache to use to store Pattern instances for SearchRedirect regex.int
hashCode()
void
setAccessPolicyByType
(Duration accessPolicyByType) void
setByIndexableType
(Duration byIndexableType) void
setBySearchRequest
(Duration bySearchRequest) void
setFacetByFieldDefinitionIds
(Duration facetByFieldDefinitionIds) void
setFacetByIds
(Duration facetByIds) void
setFacetGroupById
(Duration facetGroupById) void
setFacetGroupBySearchSettings
(Duration facetGroupBySearchSettings) void
setFacetsByFacetGroupId
(Duration facetsByFacetGroupId) void
setPatternCacheSize
(int patternCacheSize) Size of the LRUMap cache to use to store Pattern instances for SearchRedirect regex.void
setRelevancyRuleByFieldDefinitionIds
(Duration relevancyRuleByFieldDefinitionIds) void
setRelevancyRuleByIds
(Duration relevancyRuleByIds) void
setRelevancyRuleGroupBySearchSettings
(Duration relevancyRuleGroupBySearchSettings) void
setRelevancyRulesByRelevancyRuleGroupId
(Duration relevancyRulesByRelevancyRuleGroupId) void
setSearchRecommendationByCustomerId
(Duration searchRecommendationByCustomerId) void
setSortByFieldDefinitionIds
(Duration sortByFieldDefinitionIds) void
setSortByIds
(Duration sortByIds) void
setSortGroupById
(Duration sortGroupById) void
setSortGroupBySearchSettings
(Duration sortGroupBySearchSettings) void
setSortsBySortGroupId
(Duration sortsBySortGroupId) toString()
-
Field Details
-
DEFAULT_PATTERN_CACHE_SIZE
public static final int DEFAULT_PATTERN_CACHE_SIZE- See Also:
-
-
Constructor Details
-
SearchCacheProperties
public SearchCacheProperties()
-
-
Method Details
-
getByIndexableType
-
getBySearchRequest
-
getFacetByFieldDefinitionIds
-
getFacetByIds
-
getSortByFieldDefinitionIds
-
getSortByIds
-
getRelevancyRuleByFieldDefinitionIds
-
getRelevancyRuleByIds
-
getFacetGroupById
-
getSortGroupById
-
getFacetsByFacetGroupId
-
getSortsBySortGroupId
-
getRelevancyRulesByRelevancyRuleGroupId
-
getFacetGroupBySearchSettings
-
getSortGroupBySearchSettings
-
getRelevancyRuleGroupBySearchSettings
-
getAccessPolicyByType
-
getSearchRecommendationByCustomerId
-
getPatternCacheSize
public int getPatternCacheSize()Size of the LRUMap cache to use to store Pattern instances for SearchRedirect regex. Default is 500. -
setByIndexableType
-
setBySearchRequest
-
setFacetByFieldDefinitionIds
-
setFacetByIds
-
setSortByFieldDefinitionIds
-
setSortByIds
-
setRelevancyRuleByFieldDefinitionIds
-
setRelevancyRuleByIds
-
setFacetGroupById
-
setSortGroupById
-
setFacetsByFacetGroupId
-
setSortsBySortGroupId
-
setRelevancyRulesByRelevancyRuleGroupId
-
setFacetGroupBySearchSettings
-
setSortGroupBySearchSettings
-
setRelevancyRuleGroupBySearchSettings
-
setAccessPolicyByType
-
setSearchRecommendationByCustomerId
-
setPatternCacheSize
public void setPatternCacheSize(int patternCacheSize) Size of the LRUMap cache to use to store Pattern instances for SearchRedirect regex. Default is 500. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-