Module: ES::Index

Extended by:
Index
Included in:
Index
Defined in:
lib/es/index.rb,
lib/es/index/model.rb,
lib/es/index/tasks.rb,
lib/es/index/client.rb,
lib/es/index/config.rb,
lib/es/index/version.rb,
lib/es/index/config/options.rb,
lib/es/index/search_response.rb

Defined Under Namespace

Modules: Client, Config, Model, Tasks Classes: HashResponse, SearchResponse

Constant Summary collapse

VERSION =
"0.0.3"

Instance Method Summary collapse

Instance Method Details

#configureObject Also known as: config



11
12
13
# File 'lib/es/index.rb', line 11

def configure
  block_given? ? yield(ES::Index::Config) : ES::Index::Config
end

#loggerObject



16
17
18
# File 'lib/es/index.rb', line 16

def logger
  ES::Index::Config.logger
end