Class: Elasticsearch::Transport::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/elasticsearch/xpack.rb

Instance Method Summary collapse

Instance Method Details

#mlObject



37
38
39
# File 'lib/elasticsearch/xpack.rb', line 37

def ml
  @ml ||= xpack.ml
end

#securityObject



33
34
35
# File 'lib/elasticsearch/xpack.rb', line 33

def security
  @security ||= xpack.security
end

#xpackObject



29
30
31
# File 'lib/elasticsearch/xpack.rb', line 29

def xpack
  @xpack_client ||= Elasticsearch::XPack::API::Client.new(self)
end