Commit 67cd302ee9fb5d54deb94e77d0c94cc67b5a8565

Authored by Andrew Kane
1 parent fc7159ad

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 65 tire do
66 66 settings custom_settings
67 67 mapping do
  68 + index_name options[:index_name] if options[:index_name]
68 69 # indexes field, analyzer: "searchkick"
69 70 if options[:conversions]
70 71 indexes :conversions, type: "nested" do
... ...