Class: Elasticsearch::Client
- Inherits:
-
Object
- Object
- Elasticsearch::Client
- Defined in:
- lib/elasticsearch/xpack.rb
Constant Summary collapse
- TOP_LEVEL_METHODS =
When a method is called on the client, if it’s one of the xpack root namespace methods, send them to the xpack client. E.g.: client.xpack.usage => client.usage Excluding ‘info` since OSS and XPACK both have info endpoints.
[ :usage, :terms_enum ].freeze
Instance Method Summary collapse
- #async_search ⇒ Object
- #autoscaling ⇒ Object
- #cat ⇒ Object
- #cross_cluster_replication ⇒ Object
- #data_frame ⇒ Object
- #deprecation ⇒ Object
- #enrich ⇒ Object
- #eql ⇒ Object
- #fleet ⇒ Object
- #graph ⇒ Object
- #ilm ⇒ Object
- #indices ⇒ Object
- #license ⇒ Object
- #logstash ⇒ Object
- #migration ⇒ Object
- #ml ⇒ Object
- #rollup ⇒ Object
- #searchable_snapshots ⇒ Object
- #security ⇒ Object
- #snapshot_lifecycle_management ⇒ Object
- #sql ⇒ Object
- #text_structure ⇒ Object
- #transform ⇒ Object
- #watcher ⇒ Object
- #xpack ⇒ Object
Instance Method Details
#async_search ⇒ Object
121 122 123 |
# File 'lib/elasticsearch/xpack.rb', line 121 def async_search @async_search ||= xpack.async_search end |
#autoscaling ⇒ Object
141 142 143 |
# File 'lib/elasticsearch/xpack.rb', line 141 def autoscaling @autoscaling ||= xpack.autoscaling end |
#cat ⇒ Object
125 126 127 |
# File 'lib/elasticsearch/xpack.rb', line 125 def cat @cat ||= xpack.cat end |
#cross_cluster_replication ⇒ Object
137 138 139 |
# File 'lib/elasticsearch/xpack.rb', line 137 def cross_cluster_replication @cross_cluster_replication ||= xpack.cross_cluster_replication end |
#data_frame ⇒ Object
105 106 107 |
# File 'lib/elasticsearch/xpack.rb', line 105 def data_frame @data_frame ||= xpack.data_frame end |
#deprecation ⇒ Object
101 102 103 |
# File 'lib/elasticsearch/xpack.rb', line 101 def deprecation @deprecation ||= xpack.deprecation end |
#enrich ⇒ Object
145 146 147 |
# File 'lib/elasticsearch/xpack.rb', line 145 def enrich @enrich ||= xpack.enrich end |
#eql ⇒ Object
149 150 151 |
# File 'lib/elasticsearch/xpack.rb', line 149 def eql @eql ||= xpack.eql end |
#fleet ⇒ Object
165 166 167 |
# File 'lib/elasticsearch/xpack.rb', line 165 def fleet @fleet ||= xpack.fleet end |
#graph ⇒ Object
89 90 91 |
# File 'lib/elasticsearch/xpack.rb', line 89 def graph @graph ||= xpack.graph end |
#ilm ⇒ Object
109 110 111 |
# File 'lib/elasticsearch/xpack.rb', line 109 def ilm @ilm ||= xpack.ilm end |
#indices ⇒ Object
129 130 131 |
# File 'lib/elasticsearch/xpack.rb', line 129 def indices @indices ||= xpack.indices end |
#license ⇒ Object
113 114 115 |
# File 'lib/elasticsearch/xpack.rb', line 113 def license @license ||= xpack.license end |
#logstash ⇒ Object
161 162 163 |
# File 'lib/elasticsearch/xpack.rb', line 161 def logstash @logstash ||= xpack.logstash end |
#migration ⇒ Object
93 94 95 |
# File 'lib/elasticsearch/xpack.rb', line 93 def migration @migration ||= xpack.migration end |
#ml ⇒ Object
77 78 79 |
# File 'lib/elasticsearch/xpack.rb', line 77 def ml @ml ||= xpack.ml end |
#rollup ⇒ Object
81 82 83 |
# File 'lib/elasticsearch/xpack.rb', line 81 def rollup @rollup ||= xpack.rollup end |
#searchable_snapshots ⇒ Object
133 134 135 |
# File 'lib/elasticsearch/xpack.rb', line 133 def searchable_snapshots @searchable_snapshots ||= xpack.searchable_snapshots end |
#security ⇒ Object
73 74 75 |
# File 'lib/elasticsearch/xpack.rb', line 73 def security @security ||= xpack.security end |
#snapshot_lifecycle_management ⇒ Object
153 154 155 |
# File 'lib/elasticsearch/xpack.rb', line 153 def snapshot_lifecycle_management @snapshot_lifecycle_management ||= xpack.snapshot_lifecycle_management end |
#sql ⇒ Object
97 98 99 |
# File 'lib/elasticsearch/xpack.rb', line 97 def sql @sql ||= xpack.sql end |
#text_structure ⇒ Object
157 158 159 |
# File 'lib/elasticsearch/xpack.rb', line 157 def text_structure @text_structure ||= xpack.text_structure end |
#transform ⇒ Object
117 118 119 |
# File 'lib/elasticsearch/xpack.rb', line 117 def transform @transform ||= xpack.transform end |
#watcher ⇒ Object
85 86 87 |
# File 'lib/elasticsearch/xpack.rb', line 85 def watcher @watcher ||= xpack.watcher end |
#xpack ⇒ Object
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/elasticsearch/xpack.rb', line 62 def xpack unless @xpack warn( 'Deprecation notice: The elasticsearch-xpack gem will be deprecated and all the ' \ "functionality will be available from elasticsearch-api starting in 8.0.0.\n" \ 'See https://github.com/elastic/elasticsearch-ruby/issues/1274' ) end @xpack ||= Elasticsearch::XPack::API::Client.new(self) end |