Class 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 Detail

      • CombiFieldBuilder

        public CombiFieldBuilder​(Map<String,​Field> fieldConf)
        Deprecated.
    • Method Detail

      • build

        public void build​(Document targetItem)
        Deprecated.
        Builds the combi field and writes it's value into the DataItem.
        Parameters:
        targetItem - the item to index.