Method: Elasticsearch::Persistence::Repository#index_exists?

Defined in:
lib/elasticsearch/persistence/repository.rb

#index_exists?(*args) ⇒ true, false

Determine whether the index with this repository’s index name exists.

Examples:

repository.index_exists?

Returns:

  • (true, false)

    Whether the index exists.

Since:

  • 6.0.0

[View source]

203
204
205
# File 'lib/elasticsearch/persistence/repository.rb', line 203

def index_exists?(*args)
  super
end