class Elasticsearch::Model::Indexing::Settings

Wraps the [index settings](www.elastic.co/guide/en/elasticsearch/reference/current/index.html)

Attributes

settings[RW]

Public Class Methods

new(settings = {}) click to toggle source
# File lib/elasticsearch/model/indexing.rb, line 38
def initialize(settings = {})
  @settings = settings
end

Public Instance Methods

as_json(options = {}) click to toggle source
# File lib/elasticsearch/model/indexing.rb, line 46
def as_json(options = {})
  to_hash
end
to_hash() click to toggle source
# File lib/elasticsearch/model/indexing.rb, line 42
def to_hash
  @settings
end