Module: ElasticMap

Defined in:
lib/elastic_map.rb,
lib/elastic_map/index.rb,
lib/elastic_map/config.rb,
lib/elastic_map/version.rb,
lib/elastic_map/field/base.rb,
lib/elastic_map/index/base.rb,
lib/elastic_map/index/mapper.rb,
lib/elastic_map/index/helpers.rb,
lib/elastic_map/search/helpers.rb,
lib/elastic_map/field/type/string.rb,
lib/elastic_map/field/type/integer.rb

Overview

You Know What It Is :D

Defined Under Namespace

Modules: Field Classes: Config, Index, Search

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.clientObject

Main elasticsearch-ruby client instance


24
25
26
# File 'lib/elastic_map.rb', line 24

def client
  ::Elasticsearch::Client.new(configuration)
end

.configObject


28
29
30
# File 'lib/elastic_map.rb', line 28

def config
  ElasticMap::Config.instance
end