Commit 67cd302ee9fb5d54deb94e77d0c94cc67b5a8565
1 parent
fc7159ad
Exists in
master
and in
21 other branches
Added index name option
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/searchkick/model.rb
@@ -65,6 +65,7 @@ module Searchkick | @@ -65,6 +65,7 @@ module Searchkick | ||
65 | tire do | 65 | tire do |
66 | settings custom_settings | 66 | settings custom_settings |
67 | mapping do | 67 | mapping do |
68 | + index_name options[:index_name] if options[:index_name] | ||
68 | # indexes field, analyzer: "searchkick" | 69 | # indexes field, analyzer: "searchkick" |
69 | if options[:conversions] | 70 | if options[:conversions] |
70 | indexes :conversions, type: "nested" do | 71 | indexes :conversions, type: "nested" do |