Sha256: b372ce9f5f7affdedfe964626cb0035cf5d1d2a16db1ed59e002b346e7055a05

Contents?: true

Size: 236 Bytes

Versions: 7

Compression:

Stored size: 236 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gummi-0.1.2 lib/gummi/fields/path_hierarchy.rb
gummi-0.1.1 lib/gummi/fields/path_hierarchy.rb
gummi-0.1.0 lib/gummi/fields/path_hierarchy.rb
gummi-0.0.9 lib/gummi/fields/path_hierarchy.rb
gummi-0.0.8 lib/gummi/fields/path_hierarchy.rb
gummi-0.0.7 lib/gummi/fields/path_hierarchy.rb
gummi-0.0.6 lib/gummi/fields/path_hierarchy.rb