Package de.cxp.ocs.preprocessor
Class CombiFieldBuilder
- java.lang.Object
-
- de.cxp.ocs.preprocessor.CombiFieldBuilder
-
@Deprecated public class CombiFieldBuilder extends Object
Deprecated.fields with multiple source field names are treated in the same way + they also handle attributes. However this preprocessor joins the fields to one string and cares about removing duplicate adjoined tokens. TODO: Add post-processor architecture for IndexableItems where for example searchable fields can be improved in the same way.Builder class which builds so called combi fields, which are fields whose value is composed of the values of multiple other fields. An example would be:searchable_combi where ease the source fields are: title, brand, category_leaf
-
-
Constructor Summary
Constructors Constructor Description CombiFieldBuilder(Map<String,Field> fieldConf)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidbuild(Document targetItem)Deprecated.Builds the combi field and writes it's value into theDataItem.
-