lib/esse/backend/index/existance.rb in esse-0.0.5 vs lib/esse/backend/index/existance.rb in esse-0.1.1

- old
+ new

@@ -4,10 +4,10 @@ module Backend class Index module InstanceMethods # Checks the index existance. Returns true or false # - # UsersIndex.backend.exist? #=> true + # UsersIndex.elasticsearch.exist? #=> true # # @param options [Hash] Options hash # @option options [String, nil] :suffix The index suffix. Defaults to the index_version. # Use nil if you want to check existence of the `index_name` index or alias. def exist?(suffix: index_version)