Skip to content

Commit

Permalink
Use index settings from config.rb when creating the index
Browse files Browse the repository at this point in the history
  • Loading branch information
clintongormley authored and karmi committed Sep 10, 2012
1 parent 66a3f0b commit f98907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hide/indexer.rb
Expand Up @@ -9,7 +9,7 @@ def initialize(index_name)
end

def setup
index.create :mappings => Hide.config(:mappings)
index.create :mappings => Hide.config(:mappings), :settings => Hide.config(:settings)
end

def destroy!
Expand Down

0 comments on commit f98907c

Please sign in to comment.