Class SplitValueFilter
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.SplitValueFilter
- All Implemented Interfaces:
ValueFilter
splits any resolved value around matches of a regular expression (only if the value is of type String)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoFilter(IndexerBatchContext batchContext, IndexedProperty indexedProperty, Object value)
-
Field Details
-
SPLIT_PARAM
- See Also:
-
SPLIT_PARAM_DEFAULT_VALUE
public static final boolean SPLIT_PARAM_DEFAULT_VALUE- See Also:
-
SPLIT_REGEX_PARAM
- See Also:
-
SPLIT_REGEX_PARAM_DEFAULT_VALUE
- See Also:
-
-
Constructor Details
-
SplitValueFilter
public SplitValueFilter()
-
-
Method Details
-
doFilter
public Object doFilter(IndexerBatchContext batchContext, IndexedProperty indexedProperty, Object value) - Specified by:
doFilterin interfaceValueFilter- Parameters:
batchContext- - The batch contextindexedProperty- - The indexed properties that should contains the Bean Id of the formatter beanvalue- - The object to apply Split on in case in case it is of type String- Returns:
- Returns the same value Object in case it is not string and in case it is string return List of the splitted values
-