Method: Elastictastic.client
- Defined in:
- lib/elastictastic.rb
.client ⇒ Client
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a lower-level ElasticSearch client. This is likely to be extracted into a separate gem in the future.
81 82 83 |
# File 'lib/elastictastic.rb', line 81 def client Thread.current['Elastictastic::client'] ||= Client.new(config) end |