'Setup how do split the field.
:param  separator:  String to split on. default "."
:param  segment:    Which segment to return. (int) default 0
:param  max_split: Limit number of splits. Default: None (no limit)'

def __init__(self, separator='.', segment=0, max_split=None, **kw):

    LOG.warning(('split    plugin    is    deprecated,    add    ".`split(%(sep)s,    %(segment)d,    %(max_split)d)`"    to    your    jsonpath    instead' % dict(sep=separator, segment=segment, max_split=((-1) if (max_split is None) else max_split))))
    self.separator = separator
    self.segment = segment
    self.max_split = max_split
    super(SplitterTraitPlugin, self).__init__(**kw)
