Method: JayAPI::Elasticsearch::Stats::Indices#all

Defined in:
lib/jay_api/elasticsearch/stats/indices.rb

#allEnumerator::Lazy<JayAPI::Elasticsearch::Stats::Index>

Returns A lazy enumerator of Index objects, one for each of the indexes. All indices (system and user-defined are included).

Returns:

  • (Enumerator::Lazy<JayAPI::Elasticsearch::Stats::Index>)

    A lazy enumerator of Index objects, one for each of the indexes. All indices (system and user-defined are included).



25
26
27
# File 'lib/jay_api/elasticsearch/stats/indices.rb', line 25

def all
  @all ||= with_lazy_instantiation { indices }
end