diff --git a/lib/ferret_adapter/local_index.rb b/lib/ferret_adapter/local_index.rb index 22a803e..e184c42 100644 --- a/lib/ferret_adapter/local_index.rb +++ b/lib/ferret_adapter/local_index.rb @@ -3,7 +3,7 @@ module Adapters class FerretAdapter::LocalIndex def initialize(options) @options = options - @options = { :path => @options[:path], :key => [:id, :_type] } + @options.merge({:key => [:id, :_type]}) create_or_initialize_index end