Class SplitValueFilter

java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.SplitValueFilter
All Implemented Interfaces:
ValueFilter

@UnitTest public class SplitValueFilter extends Object implements ValueFilter
splits any resolved value around matches of a regular expression (only if the value is of type String)
  • Field Details

  • Constructor Details

    • SplitValueFilter

      public SplitValueFilter()
  • Method Details

    • doFilter

      public Object doFilter(IndexerBatchContext batchContext, IndexedProperty indexedProperty, Object value)
      Specified by:
      doFilter in interface ValueFilter
      Parameters:
      batchContext - - The batch context
      indexedProperty - - The indexed properties that should contains the Bean Id of the formatter bean
      value - - 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