module Gummi module Fields class PathHierarchy < Virtus::Attribute def coerce(value) value end def mapping {type: 'string', index_analyzer: 'path_hierarchy_analyzer' } end end end end