elastic-enterprise-search 8.2.0 → 8.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.ci/Dockerfile +14 -1
  3. data/.ci/jobs/elastic+enterprise-search-ruby+8.1.yml +12 -0
  4. data/.ci/jobs/elastic+enterprise-search-ruby+8.2.yml +12 -0
  5. data/.ci/jobs/elastic+enterprise-search-ruby+8.3.yml +12 -0
  6. data/.ci/make.sh +3 -1
  7. data/.ci/test-matrix.yml +1 -1
  8. data/README.md +1 -1
  9. data/docs/guide/app-search-api.asciidoc +4 -3
  10. data/docs/guide/connecting.asciidoc +14 -1
  11. data/docs/guide/enterprise-search-api.asciidoc +17 -2
  12. data/docs/guide/index.asciidoc +1 -1
  13. data/docs/guide/installation.asciidoc +2 -2
  14. data/docs/guide/overview.asciidoc +35 -4
  15. data/docs/guide/release_notes/80.asciidoc +11 -0
  16. data/docs/guide/release_notes/81.asciidoc +11 -0
  17. data/docs/guide/release_notes/82.asciidoc +11 -0
  18. data/docs/guide/release_notes/83.asciidoc +14 -0
  19. data/docs/guide/release_notes/84.asciidoc +36 -0
  20. data/docs/guide/release_notes/index.asciidoc +4 -0
  21. data/docs/guide/workplace-search-api.asciidoc +24 -4
  22. data/elastic-enterprise-search.gemspec +1 -1
  23. data/lib/elastic/app-search/api/multi_search.rb +7 -6
  24. data/lib/elastic/app-search/api/search_es_search.rb +3 -4
  25. data/lib/elastic/enterprise-search/api/search_engines.rb +43 -0
  26. data/lib/elastic/enterprise-search/client.rb +13 -1
  27. data/lib/elastic/enterprise-search/request.rb +1 -1
  28. data/lib/elastic/enterprise-search/version.rb +1 -1
  29. data/lib/elastic/workplace-search/workplace_search.rb +9 -2
  30. data/rake_tasks/unified_release_tasks.rake +21 -0
  31. data/spec/fixtures/vcr/workplace_search/create_analytics_event.yml +1 -1
  32. data/spec/fixtures/vcr/workplace_search/oauth_request_token.yml +1 -1
  33. data/spec/fixtures/vcr/workplace_search/search_request.yml +1 -1
  34. data/spec/integration/app-search/elasticsearch_search_spec.rb +17 -3
  35. data/spec/integration/enterprise_search_api_spec.rb +11 -0
  36. data/spec/workplace-search/client_spec.rb +10 -2
  37. metadata +13 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5beefad27301e777c767b0759b154f6e0bba47db65e0e02cacd206f4ff2c2696
4
- data.tar.gz: 86610a1a51529bf54c454e93f2977a1968887e3737e1bfd2ef058b255a1b1975
3
+ metadata.gz: 29385166cdc5e9a328cf67da13cab2a4aa66a99319cea68f18589dffe02aa10f
4
+ data.tar.gz: '08f62bbcfd1b0b86f75642410aeb6b13a6af5e2342d6570a1ff503fc204d0db3'
5
5
  SHA512:
6
- metadata.gz: f0e0e3f3bcf5994ea89f6dc399527c1a02b5b2699ed3af62fedf9d7bf62b32d2c475b104988190b7be5f1d1368ed73241f53392c6934663a76425648bfadf5f7
7
- data.tar.gz: 691d3a79357db4880f777fd4a6975c9a434ade303037d7a94523d82e67266c553d7fded40e7f883b6e283d438b7a66d8d8dce7a72a48c4387c65b746c359aa4b
6
+ metadata.gz: 19cad7d9137c49c057702b95628eab683f0e5797e56245569e92b36edaf4824e26ebeeb40793f97b634e037b948e6e69df3d1217a9e8affe52dd1a1596282c2d
7
+ data.tar.gz: ab239465521ca6f25d5e4ca3e32e8f74bab95420123a32ae73e8bcecd29a3f23765b30fa6dbd7ab0c3c4d485e95d6923f3442c0d555a5f684fb8413ae962ec3a
data/.ci/Dockerfile CHANGED
@@ -1,12 +1,25 @@
1
1
  ARG RUBY_VERSION=2.7
2
2
  FROM ruby:${RUBY_VERSION}
3
3
 
4
+ # Default UID/GID to 1000
5
+ # it can be overridden at build time
6
+ ARG BUILDER_UID=1000
7
+ ARG BUILDER_GID=1000
8
+ ENV BUILDER_USER elastic
9
+ ENV BUILDER_GROUP elastic
10
+
4
11
  ENV GEM_HOME="/usr/local/bundle"
5
12
  ENV PATH $GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH
6
13
  ENV QUIET=true
7
14
  ENV CI=true
8
15
 
16
+ # Create user
17
+ RUN groupadd --system -g ${BUILDER_GID} ${BUILDER_GROUP} \
18
+ && useradd --system --shell /bin/bash -u ${BUILDER_UID} -g ${BUILDER_GROUP} -d /var/lib/elastic -m elastic 1>/dev/null 2>/dev/null \
19
+ && mkdir -p /code/enterprise-search-ruby && touch /Gemfile.lock \
20
+ && chown -R ${BUILDER_USER}:${BUILDER_GROUP} /code/enterprise-search-ruby /Gemfile.lock
21
+
9
22
  WORKDIR /code/enterprise-search-ruby
10
23
 
11
- COPY . .
24
+ COPY --chown=$BUILDER_USER:$BUILDER_GROUP . .
12
25
  RUN bundle install
@@ -0,0 +1,12 @@
1
+ ---
2
+ - job:
3
+ name: elastic+enterprise-search-ruby+8.1
4
+ display-name: 'elastic / enterprise-search-ruby # 8.1'
5
+ description: Testing the enterprise-search-ruby 8.1 branch.
6
+ junit_results: "*-junit.xml"
7
+ parameters:
8
+ - string:
9
+ name: branch_specifier
10
+ default: refs/heads/8.1
11
+ description: the Git branch specifier to build (<branchName>, <tagName>,
12
+ <commitId>, etc.)
@@ -0,0 +1,12 @@
1
+ ---
2
+ - job:
3
+ name: elastic+enterprise-search-ruby+8.2
4
+ display-name: 'elastic / enterprise-search-ruby # 8.2'
5
+ description: Testing the enterprise-search-ruby 8.2 branch.
6
+ junit_results: "*-junit.xml"
7
+ parameters:
8
+ - string:
9
+ name: branch_specifier
10
+ default: refs/heads/8.2
11
+ description: the Git branch specifier to build (<branchName>, <tagName>,
12
+ <commitId>, etc.)
@@ -0,0 +1,12 @@
1
+ ---
2
+ - job:
3
+ name: elastic+enterprise-search-ruby+8.3
4
+ display-name: 'elastic / enterprise-search-ruby # 8.3'
5
+ description: Testing the enterprise-search-ruby 8.3 branch.
6
+ junit_results: "*-junit.xml"
7
+ parameters:
8
+ - string:
9
+ name: branch_specifier
10
+ default: refs/heads/8.3
11
+ description: the Git branch specifier to build (<branchName>, <tagName>,
12
+ <commitId>, etc.)
data/.ci/make.sh CHANGED
@@ -113,6 +113,7 @@ esac
113
113
  echo -e "\033[34;1mINFO: building $product container\033[0m"
114
114
 
115
115
  docker build --file .ci/Dockerfile --tag ${product} \
116
+ --build-arg BUILDER_UID="$(id -u)" \
116
117
  --build-arg USER_ID="$(id -u)" \
117
118
  --build-arg GROUP_ID="$(id -g)" .
118
119
 
@@ -128,10 +129,11 @@ args_string="${TASK_ARGS[*]}"
128
129
  args_string="${args_string// /,}"
129
130
 
130
131
  docker run \
132
+ -u "$(id -u)" \
131
133
  --env "RUBY_TEST_VERSION=${RUBY_TEST_VERSION}" \
132
134
  --name test-runner \
133
135
  --volume $REPO_BINDING \
134
- --volume $repo:/usr/src/app \
136
+ --volume $repo:/code/enterprise-search-ruby \
135
137
  --rm \
136
138
  $product \
137
139
  bundle exec rake unified_release:"$TASK"["$args_string"]
data/.ci/test-matrix.yml CHANGED
@@ -5,7 +5,7 @@ RUBY_VERSION:
5
5
  - 2.7
6
6
 
7
7
  STACK_VERSION:
8
- - 8.2.0-SNAPSHOT
8
+ - 8.4.0-SNAPSHOT
9
9
 
10
10
  SERVICE:
11
11
  - appsearch
data/README.md CHANGED
@@ -34,7 +34,7 @@ If an adapter is not specified, the client will try to auto-detect available lib
34
34
 
35
35
  [See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/index.html) for usage, code examples, configuring the client, and an API reference.
36
36
 
37
- See code examples of usage for the [Enteprise Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/enterprise-search-api.html), [App Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/app-search-api.html) and [Workplace Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/workplace-search-api.html) APIs.
37
+ See code examples of usage for the [Enterprise Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/enterprise-search-api.html), [App Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/app-search-api.html) and [Workplace Search](https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/workplace-search-api.html) APIs.
38
38
 
39
39
  ## Compatibility
40
40
 
@@ -338,12 +338,13 @@ client.refresh_adaptive_relevance_update_process(engine_name, adaptive_relevance
338
338
 
339
339
  === Elasticsearch Search
340
340
 
341
- Utilize the API to passthrough and execute raw Elasticsearch queries against the indices that power Enterprise Search engines.
341
+ Submit an Elasticsearch search request to the document indices that power an App Search engine and retrieve the results. You can use this API with regular engines and meta engines. See https://www.elastic.co/guide/en/app-search/current/elasticsearch-search-api-reference.html[Elasticsearch search API for App Search] for more information and requirements for using this API.
342
+
342
343
 
343
344
  [source,rb]
344
345
  ----------------------------
345
- es_request = { body: { query: { bool: { must: { term: { title: 'test' } } } } } }
346
- client.search_es_search(engine_name, body: { request: es_request })
346
+ es_request = { query: { bool: { must: { term: { title: 'test' } } } } }
347
+ client.search_es_search(engine_name, body: es_request)
347
348
  ----------------------------
348
349
 
349
350
  === Search Explain
@@ -1,13 +1,13 @@
1
1
  [[connecting]]
2
2
  == Connecting
3
3
 
4
-
5
4
  This page contains the information you need to connect and use the Client with Elastic Enterprise Search.
6
5
 
7
6
  **On this page**
8
7
 
9
8
  * <<authentication>>
10
9
  * <<custom_headers>>
10
+ * <<transport>>
11
11
 
12
12
 
13
13
  [discrete]
@@ -169,3 +169,16 @@ workplace_search_client.index_documents(
169
169
  { body: documents, headers: headers }
170
170
  )
171
171
  ----------------------------
172
+
173
+ [discrete]
174
+ [[transport]]
175
+ === Transport
176
+
177
+ The Enterprise Search Ruby client is powered by the https://github.com/elastic/elastic-transport-ruby/[`elastic-transport`] gem. You can read more about it https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/transport.html[here]. The client accepts a transport object as an initializer:
178
+
179
+ [source,rb]
180
+ ----------------------------
181
+ transport = Elastic::Transport::Transport::HTTP::Curb.new
182
+ ent_client = Elastic::EnterpriseSearch::Client.new(transport: transport)
183
+ ----------------------------
184
+
@@ -3,6 +3,8 @@
3
3
 
4
4
  === Health API
5
5
 
6
+ Get information on the health of a deployment and basic statistics around resource usage.
7
+
6
8
  [source,rb]
7
9
  ----------------------------
8
10
  > response = ent_client.health
@@ -17,6 +19,8 @@
17
19
 
18
20
  === Version API
19
21
 
22
+ Get version information for the server.
23
+
20
24
  [source,rb]
21
25
  ----------------------------
22
26
  > response = ent_client.version
@@ -29,14 +33,16 @@
29
33
  [source,rb]
30
34
  ----------------------------
31
35
  # Set read-only flag state
32
- ent_client.put_read_only(body: { enabled: false })
36
+ > ent_client.put_read_only(body: { enabled: false })
33
37
 
34
38
  # Get read-only flag state
35
- ent_client.read_only
39
+ > ent_client.read_only
36
40
  ----------------------------
37
41
 
38
42
  === Stats API
39
43
 
44
+ Get information about the resource usage of the application, the state of different internal queues, etc.
45
+
40
46
  [source,rb]
41
47
  ----------------------------
42
48
  > ent_client.stats.body
@@ -44,3 +50,12 @@ ent_client.read_only
44
50
  "queues"=>{"connectors"=>{...}, "document_destroyer"=>{...}, "engine_destroyer"=>{...}, "index_adder"=>{...}, ...},
45
51
  "connectors"=>{"alive"=>true, "pool"=>{...}, "job_store"=>{...}}}}
46
52
  ----------------------------
53
+
54
+ === Search Engines
55
+
56
+ Retrieve information about search engines
57
+
58
+ [source,rb]
59
+ ----------------------------
60
+ > ent_client.search_engines
61
+ ----------------------------
@@ -1,4 +1,4 @@
1
- = enterprise-search-ruby
1
+ = Enterprise Search Ruby client
2
2
 
3
3
  :doctype: book
4
4
 
@@ -5,7 +5,7 @@ You can install Enterprise Search Client from Rubygems:
5
5
 
6
6
  [source,sh]
7
7
  ---------------------------------------------------
8
- $ gem install elastic-enterprise-search --pre
8
+ $ gem install elastic-enterprise-search
9
9
  ---------------------------------------------------
10
10
 
11
11
  Or add it to your project's Gemfile:
@@ -15,4 +15,4 @@ Or add it to your project's Gemfile:
15
15
  gem 'elastic-enterprise-search'
16
16
  ---------------------------------------------------
17
17
 
18
- The version follows the Elastic Stack version so 7.10.0 is compatible with Enterprise Search released in Elastic Stack 7.10.0.
18
+ The version follows the Elastic Stack version so 7.10.0 is compatible with Enterprise Search released in Elastic Stack 7.10.0, 8.1.0 is compatible with Enterprise Search released in Elastic Stack 8.1.0, and so on.
@@ -10,11 +10,14 @@ Current development happens in the main branch.
10
10
 
11
11
  The library is compatible with all Elastic Enterprise Search versions since `7.x` but you **have to use a matching major version**:
12
12
 
13
- For **Elastic Enterprise Search 7.0** and later, use the major version 7 (`7.x.y`) of the library.
13
+ * For **Elastic Enterprise Search 7.0** and later, use the major version 7 (`7.x.y`) of the library.
14
+ * For **Elastic Enterprise Search 8.0** and later, use the major version 8 (`8.x.y`) of the library.
15
+
14
16
 
15
17
  [discrete]
16
18
  === HTTP Library
17
- This library uses https://github.com/elastic/elastic-transport-ruby[elastic-transport], the low-level Ruby client for connecting to an Elastic clusters - also used in the official https://github.com/elastic/elasticsearch-ruby[Elasticsearch Ruby Client]. It uses https://rubygems.org/gems/faraday[Faraday], which supports several https://lostisland.github.io/faraday/adapters/[adapters] and will use `Net::HTTP` by default. For optimal performance with the Enterprise Search API, we suggest using an HTTP library which supports persistent ("keep-alive") connections. For the standard Ruby implementation, this could be https://github.com/drbrain/net-http-persistent[Net::HTTP::Persistent], https://github.com/toland/patron[patron] or https://github.com/typhoeus/typhoeus[Typhoeus]. For JRuby, https://github.com/cheald/manticore[Manticore] is a great option as well. Require the library for the adapter in your code and then pass in the `:adapter` parameter to the client when you initialize it:
19
+
20
+ This library uses https://github.com/elastic/elastic-transport-ruby[elastic-transport], the low-level Ruby client for connecting to an Elastic cluster - also used in the official https://github.com/elastic/elasticsearch-ruby[Elasticsearch Ruby Client]. It uses https://rubygems.org/gems/faraday[Faraday], which supports several https://lostisland.github.io/faraday/adapters/[adapters] and will use `Net::HTTP` by default. For optimal performance with the Enterprise Search API, we suggest using an HTTP library which supports persistent ("keep-alive") connections. For the standard Ruby implementation, this could be https://github.com/drbrain/net-http-persistent[Net::HTTP::Persistent], https://github.com/toland/patron[patron] or https://github.com/typhoeus/typhoeus[Typhoeus]. For JRuby, https://github.com/cheald/manticore[Manticore] is a great option as well. Require the library for the adapter in your code and then pass in the `:adapter` parameter to the client when you initialize it:
18
21
 
19
22
  [source,ruby]
20
23
  ---------------------------------------------------
@@ -26,7 +29,7 @@ client = Elastic::EnterpriseSearch::Client.new(adapter: :net_http_persistent)
26
29
 
27
30
  All requests, if successful, will return an `Elastic::Transport::Transport::Response` instance. You can access the response `body`, `headers` and `status`.
28
31
 
29
- `elastic-transport` defines a https://github.com/elastic/elastic-transport-ruby/blob/main/lib/elastic/transport/transport/errors.rb[number of exception classes] for various client and server errors, as well as unsuccessful HTTP responses, making it possible to rescue specific exceptions with desired granularity. More details https://github.com/elastic/elastic-transport-ruby#exception-handling[here]. You can find the full documentation for `elastic-transport` at https://rubydoc.info/gems/elastic-transport[RubyDoc].
32
+ `elastic-transport` defines a https://github.com/elastic/elastic-transport-ruby/blob/main/lib/elastic/transport/transport/errors.rb[number of exception classes] for various client and server errors, as well as unsuccessful HTTP responses, making it possible to rescue specific exceptions with desired granularity. More details https://github.com/elastic/elastic-transport-ruby#exception-handling[here]. You can find the full documentation for `elastic-transport` at https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/transport.html[our official documentation] and https://rubydoc.info/gems/elastic-transport[RubyDoc].
30
33
 
31
34
  The clients pass different options to transport, you can check them out https://rubydoc.info/github/elastic/enterprise-search-ruby/Elastic/EnterpriseSearch/Client[on RubyDocs].
32
35
 
@@ -38,7 +41,7 @@ If you don't specify a host and port, the client will default to `http://localho
38
41
  [discrete]
39
42
  === Logging
40
43
 
41
- You can enable logging with the default logger by passing `log: true` as a parameter to the client's initializer, or pass in a Logger object with the `:logger` parameter:
44
+ You can enable logging with the default logger by passing `log: true` as a parameter to the client's initializer. You can also pass in a Logger object with the `:logger` parameter, any confoming logger implementation will work:
42
45
 
43
46
  [source,rb]
44
47
  ----------------------------
@@ -46,6 +49,34 @@ logger = MyLogger.new
46
49
  client = Elastic::EnterpriseSearch::Client.new(logger: logger)
47
50
  ----------------------------
48
51
 
52
+ To trace requests and responses in the _Curl_ format, set the `trace` argument:
53
+
54
+ [source,rb]
55
+ ----------------------------
56
+ > client = Elastic::EnterpriseSearch::Client.new(trace: true)
57
+ > client.health
58
+ curl -X GET -H 'x-elastic-client-meta: ent=8.3.0,rb=3.1.2,t=8.0.1,fd=1.10.0,nh=0.2.0, User-Agent: elastic-transport-ruby/8.0.1 (RUBY_VERSION: 3.1.2; linux x86_64; Faraday v1.10.0), Content-Type: application/json
59
+ ' 'http://localhost:9200/api/ent/v1/internal/health/?pretty'
60
+
61
+ # 2022-05-23T08:39:09+01:00 [200] (0.049s)
62
+ #
63
+ # {"name":"5b8067bf95fb", ...
64
+ =>
65
+ #<Elastic::API::Response:0x00007f9096e15f90
66
+ @response=
67
+ #<Elastic::Transport::Transport::Response:0x00007f9096e160a8
68
+ @body=
69
+ {"name"=>"5b8067bf95fb",
70
+ ...
71
+ ----------------------------
72
+
73
+ This will use the `elastic-transport` default logger. But you can pass in a custom logger with:
74
+
75
+ [source,rb]
76
+ ----------------------------
77
+ client = Elastic::EnterpriseSearch::Client.new(tracer: my_tracer)
78
+ ----------------------------
79
+
49
80
  [discrete]
50
81
  === License
51
82
 
@@ -1,4 +1,15 @@
1
1
  [[release_notes_80]]
2
+ === 8.0 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_801]]
6
+ === 8.0.1 Release notes
7
+
8
+ - Adds tracer parameters to enable tracing in elastic-transport. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/overview.html#_logging[logging] for more information.
9
+ - Updates Workplace Search OAuth implementation. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/workplace-search-api.html#ws-oauth-authentication[OAuth Authentication] for changes in the OAuth process.
10
+
11
+ [discrete]
12
+ [[release_notes_800]]
2
13
  === 8.0.0 Release notes
3
14
 
4
15
  [discrete]
@@ -1,4 +1,15 @@
1
1
  [[release_notes_81]]
2
+ === 8.1 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_811]]
6
+ === 8.1.1 Release notes
7
+
8
+ - Adds tracer parameters to enable tracing in elastic-transport. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/overview.html#_logging[logging] for more information.
9
+ - Updates Workplace Search OAuth implementation. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/workplace-search-api.html#ws-oauth-authentication[OAuth Authentication] for changes in the OAuth process.
10
+
11
+ [discrete]
12
+ [[release_notes_810]]
2
13
  === 8.1.0 Release notes
3
14
 
4
15
  [discrete]
@@ -1,4 +1,15 @@
1
1
  [[release_notes_82]]
2
+ === 8.2 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_821]]
6
+ === 8.2.1 Release notes
7
+
8
+ - Adds tracer parameters to enable tracing in elastic-transport. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/overview.html#_logging[logging] for more information.
9
+ - Updates Workplace Search OAuth implementation. See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/workplace-search-api.html#ws-oauth-authentication[OAuth Authentication] for changes in the OAuth process.
10
+
11
+ [discrete]
12
+ [[release_notes_820]]
2
13
  === 8.2.0 Release notes
3
14
 
4
15
  [discrete]
@@ -0,0 +1,14 @@
1
+ [[release_notes_83]]
2
+ === 8.3 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_830]]
6
+ === 8.3.0 Release notes
7
+
8
+ - Tested versions of Ruby for 8.3.0: Ruby (MRI) 2.7, 3.0 and 3.1, JRuby 9.3.
9
+ - General small improvements in documentation.
10
+ - Updated for compatibility with Elastic Enterprise Search 8.3's API.
11
+
12
+ [discrete]
13
+ ==== Enterprise Search
14
+ New API: `search_engines` - Retrieve information about search engines
@@ -0,0 +1,36 @@
1
+ [[release_notes_84]]
2
+ === 8.4 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_840]]
6
+ === 8.4.0 Release notes
7
+
8
+ - Tested versions of Ruby for 8.4.0: Ruby (MRI) 2.7, 3.0 and 3.1, JRuby 9.3.
9
+ - Updated for compatibility with Elastic Enterprise Search 8.4's API.
10
+ - Fixed client name String in meta header
11
+
12
+ ==== Changes to Elasticsearch Search in App Search
13
+
14
+ [CAUTION]
15
+ ====
16
+ The Elasticsearch search API for App Search is a beta feature. Beta features are subject to change and are not covered by the support SLA of generally available (GA) features. Elastic plans to promote this feature to GA in a future release.
17
+ ====
18
+
19
+ The Elasticsearch Search API `search_es_search` has been updated to be more consistent with the Elasticsearch `_search` API.
20
+
21
+ In the previous version, a `request` object was required in the request:
22
+
23
+ [source,rb]
24
+ ----------------------------
25
+ # DEPRECATED - This worked for 8.3 but has been updated in 8.4:
26
+ es_request = { body: { query: { bool: { must: { term: { title: 'test' } } } } } }
27
+ client.search_es_search(engine_name, body: { request: es_request })
28
+ ----------------------------
29
+
30
+ This has been simplified to:
31
+
32
+ [source,rb]
33
+ ----------------------------
34
+ es_request = { query: { bool: { must: { term: { title: 'test' } } } } }
35
+ client.search_es_search(engine_name, body: es_request)
36
+ ----------------------------
@@ -4,6 +4,8 @@
4
4
  [discrete]
5
5
  === 8.x
6
6
 
7
+ * <<release_notes_84, 8.4.0 Release Notes>>
8
+ * <<release_notes_83, 8.3.0 Release Notes>>
7
9
  * <<release_notes_82, 8.2.0 Release Notes>>
8
10
  * <<release_notes_81, 8.1.0 Release Notes>>
9
11
  * <<release_notes_80, 8.0.0 Release Notes>>
@@ -20,6 +22,8 @@
20
22
  * <<release_notes_711, 7.11.0 Release Notes>>
21
23
  * <<release_notes_710, 7.10.0.beta.1 Release Notes>>
22
24
 
25
+ include::84.asciidoc[]
26
+ include::83.asciidoc[]
23
27
  include::82.asciidoc[]
24
28
  include::81.asciidoc[]
25
29
  include::80.asciidoc[]
@@ -76,22 +76,42 @@ client.delete_documents_by_query(content_source_id, query: query)
76
76
  [[ws-oauth-authentication]]
77
77
  === OAuth Authentication
78
78
 
79
- You need to configure the OAuth Application for Search in order to use the Workplace Search client's `search` and `create_analytics` endpoints. You need to follow the steps in https://www.elastic.co/guide/en/workplace-search/current/building-custom-search-workplace-search.html#configuring-search-oauth[Configuring the OAuth Application for Search] to retrieve the credentials: Client ID and Client Secret to request access tokens from the authentication server.
79
+ You need to configure the OAuth Application for Search in order to use the Workplace Search client's `search` and `create_analytics` endpoints. You need to follow the steps in https://www.elastic.co/guide/en/workplace-search/current/building-custom-search-workplace-search.html#configuring-search-oauth[Configuring the OAuth Application for Search] to retrieve the credentials: **Client ID** and **Client Secret** to request access tokens from the authentication server.
80
+
81
+ The client implements https://www.elastic.co/guide/en/workplace-search/current/building-custom-search-workplace-search.html#authenticating-search-user-confidential[Authenticating Users with a Confidential OAuth Flow]. It provides a helper to obtain the autorization URL directly from the client once you've set the necessary values.
82
+
83
+ The authorization endpoint is hosted by your Kibana deployment, so you need to provide the client with the https://www.elastic.co/guide/en/enterprise-search/current/endpoints-ref.html#kibana-base-url[base URL of your Kibana instance]. You can do this when you initialize the client:
84
+
85
+ [source,rb]
86
+ ----------------------------
87
+ client = Elastic::EnterpriseSearch::WorkplaceSearch::Client.new(http_auth: <access_token>, kibana_url: <kibana_url>)
88
+ ----------------------------
89
+
90
+ Or you can set in an existing client:
80
91
 
81
92
  [source,rb]
82
93
  ----------------------------
83
94
  client = Elastic::EnterpriseSearch::WorkplaceSearch::Client.new(http_auth: <access_token>)
95
+ client.kibana_url = <kibana_url>
96
+ ----------------------------
84
97
 
98
+ Once you've instantiated a client and the base URL of your Kibana instance is set, you can get the URL for authorization like so:
99
+ [source,rb]
100
+ ----------------------------
101
+ # You get the values for client_id and client_secret when configuring the OAuth Application:
85
102
  client_id = <client_id>
86
103
  client_secret = <client_secret>
87
104
  redirect_uri = <redirect_uri>
88
105
 
89
106
  # Get the authorization URL:
90
107
  client.authorization_url(client_id, redirect_uri)
91
- > https://host:port/ws/oauth/authorize?response_type=code&client_id=client_id&redirect_uri=https%3A%2F%2Flocalhost%3A3002
108
+ > https://kibana_url/app/enterprise_search/workplace_search/p/oauth/authorize?response_type=code&client_id=client_id&redirect_uri=https%3A%2F%2Flocalhost%3A3002
109
+
92
110
  ----------------------------
93
111
 
94
- Open the URL to authorize your application. Successful authorization redirects the user in accordance to the redirect URI provided (and configured for the application). The application server must now request for an access_token, which is generated by Workplace Search using the oauth/token endpoint, using the Client ID and Client Secret.
112
+ Open the URL to authorize your application. Successful authorization redirects the user in accordance to the redirect URI provided (and configured for the application).
113
+
114
+ The application server must now request for an `access_token`, which is generated by Workplace Search using the `oauth/token` endpoint, using the **Client ID** and **Client Secret**.
95
115
 
96
116
  [source,rb]
97
117
  ----------------------------
@@ -100,7 +120,7 @@ authorization_code = '<paste code from redirect>'
100
120
  access_token = client.request_access_token(client_id, client_secret, authorization_code, redirect_uri)
101
121
 
102
122
  # The access_token can now be used to issue a search request:
103
- client.search(body: {query: 'search query'}, access_token: access_token)
123
+ client.search(body: { query: 'search query' }, access_token: access_token)
104
124
  ----------------------------
105
125
 
106
126
  See https://www.elastic.co/guide/en/workplace-search/current/workplace-search-search-api.html#search-api-overview[Search API Overview] for more search parameters.
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
47
47
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
48
48
  s.require_paths = ['lib']
49
49
 
50
- s.add_dependency 'elastic-transport', '8.0.0.pre.3'
50
+ s.add_dependency 'elastic-transport', '~> 8'
51
51
  s.add_runtime_dependency 'jwt', '>= 1.5', '< 3.0'
52
52
  s.add_development_dependency 'awesome_print'
53
53
  s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION)
@@ -21,22 +21,23 @@ module Elastic
21
21
  module EnterpriseSearch
22
22
  module AppSearch
23
23
  module Actions
24
- # Search - Run several search in the same request
24
+ # MultiSearch - Submit a multi search
25
+ # Submit a multi search query and receive a set of results with meta data
25
26
  #
26
- # @param engine_name [String] (*Required*)
27
- # @param arguments [Hash] endpoint arguments
28
- # @option arguments [Object] :body One or more queries to execute in parallel (*Required*)
27
+ # @param [String] engine_name Name of the engine (*Required*)
28
+ # @param [Hash] arguments endpoint arguments
29
+ # @option arguments [Hash] :body (Required: queries)
30
+ # @option body :queries
29
31
  # @option arguments [Hash] :headers optional HTTP headers to send with the request
30
32
  #
31
33
  # @see https://www.elastic.co/guide/en/app-search/current/multi-search.html
32
34
  #
33
35
  def multi_search(engine_name, arguments = {})
34
36
  raise ArgumentError, "Required parameter 'engine_name' missing" unless engine_name
35
- raise ArgumentError, "Required parameter 'body' missing" unless arguments[:body]
37
+ raise ArgumentError, "Required parameter 'body (queries)' missing" unless arguments[:body]
36
38
 
37
39
  body = arguments.delete(:body) || {}
38
40
  headers = arguments.delete(:headers) || {}
39
-
40
41
  request(
41
42
  :post,
42
43
  "api/as/v1/engines/#{engine_name}/multi_search/",
@@ -26,16 +26,15 @@ module Elastic
26
26
  #
27
27
  # @param [String] engine_name Name of the engine (*Required*)
28
28
  # @param [Hash] arguments endpoint arguments
29
- # @option arguments [Hash] :body (Required: request)
30
- # @option body :request
31
- # @option body :analytics
29
+ # @option arguments [Hash] :body Query parameters to be passed to Elasticsearch _search API
32
30
  # @option arguments [Hash] :headers optional HTTP headers to send with the request
31
+ # @option headers [String] :X-Enterprise-Search-Analytics The search query associated with this request when recording search analytics
32
+ # @option headers [String] :X-Enterprise-Search-Analytics-Tags Analytics tags to be applied with this search request
33
33
  #
34
34
  # @see https://www.elastic.co/guide/en/app-search/current/elasticsearch-search-api-reference.html
35
35
  #
36
36
  def search_es_search(engine_name, arguments = {})
37
37
  raise ArgumentError, "Required parameter 'engine_name' missing" unless engine_name
38
- raise ArgumentError, "Required parameter 'body (request)' missing" unless arguments[:body]
39
38
 
40
39
  body = arguments.delete(:body) || {}
41
40
  headers = arguments.delete(:headers) || {}
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Licensed to Elasticsearch B.V. under one or more contributor
4
+ # license agreements. See the NOTICE file distributed with
5
+ # this work for additional information regarding copyright
6
+ # ownership. Elasticsearch B.V. licenses this file to you under
7
+ # the Apache License, Version 2.0 (the "License"); you may
8
+ # not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing,
14
+ # software distributed under the License is distributed on an
15
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ # KIND, either express or implied. See the License for the
17
+ # specific language governing permissions and limitations
18
+ # under the License.
19
+
20
+ module Elastic
21
+ module EnterpriseSearch
22
+ module Actions
23
+ # SearchEngines - Retrieve information about search engines
24
+ # Retrieve information about search engines
25
+ #
26
+ # @param [Hash] arguments endpoint arguments
27
+ # @option arguments [Hash] :headers optional HTTP headers to send with the request
28
+ #
29
+ # @see https://www.elastic.co/guide/en/enterprise-search/current/search-engines-apis.html
30
+ #
31
+ def search_engines(arguments = {})
32
+ headers = arguments.delete(:headers) || {}
33
+ request(
34
+ :get,
35
+ 'api/search_engines/',
36
+ arguments,
37
+ nil,
38
+ headers
39
+ )
40
+ end
41
+ end
42
+ end
43
+ end
@@ -58,6 +58,8 @@ module Elastic
58
58
  # @option options [String] :proxy url of proxy to use, ex: "http://localhost:8888"
59
59
  # @option options [Boolean] :log Use the default logger (disabled by default)
60
60
  # @option arguments [Object] :logger An instance of a Logger-compatible object
61
+ # @option arguments [Boolean] :trace Use the default tracer (disabled by default)
62
+ # @option arguments [Object] :tracer An instance of a Logger-compatible object
61
63
  # @option arguments [Symbol] :adapter A specific adapter for Faraday (e.g. `:patron`)
62
64
  # @option enable_meta_header [Boolean] :enable_meta_header Enable sending the meta data header to Cloud.
63
65
  # (Default: true)
@@ -77,7 +79,9 @@ module Elastic
77
79
  transport_options: {
78
80
  request: { open_timeout: open_timeout }
79
81
  },
80
- enable_meta_header: @options[:enable_meta_header] || true
82
+ enable_meta_header: @options[:enable_meta_header] || true,
83
+ trace: trace,
84
+ tracer: tracer
81
85
  )
82
86
  end
83
87
 
@@ -109,6 +113,14 @@ module Elastic
109
113
  @options[:adapter]
110
114
  end
111
115
 
116
+ def tracer
117
+ @options[:tracer]
118
+ end
119
+
120
+ def trace
121
+ @options[:trace]
122
+ end
123
+
112
124
  def host
113
125
  return DEFAULT_HOST unless @options[:host]
114
126
 
@@ -25,7 +25,7 @@ require 'base64'
25
25
 
26
26
  module Elastic
27
27
  module EnterpriseSearch
28
- CLIENT_NAME = 'elastic-enteprise-search-ruby'
28
+ CLIENT_NAME = 'elastic-enterprise-search-ruby'
29
29
  CLIENT_VERSION = Elastic::EnterpriseSearch::VERSION
30
30
 
31
31
  # Module included in Elastic::Enterprise::Client for http requests.
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Elastic
21
21
  module EnterpriseSearch
22
- VERSION = '8.2.0'
22
+ VERSION = '8.4.0'
23
23
  end
24
24
  end
@@ -27,12 +27,17 @@ module Elastic
27
27
  include Elastic::EnterpriseSearch::WorkplaceSearch::Actions
28
28
  include Elastic::EnterpriseSearch::Utils
29
29
 
30
+ attr_accessor :kibana_url
31
+
30
32
  # Create a new Elastic::EnterpriseSearch::WorkplaceSearch::Client client
31
33
  #
32
34
  # @param options [Hash] a hash of configuration options
33
35
  # @option options [String] :access_token the access token for workplace search
34
36
  # @option options [String] :endpoint the endpoint Workplace Search
37
+ # @option options [String] :kibana_url The base URL of your Kibana instance
38
+ #
35
39
  def initialize(options = {})
40
+ @kibana_url = options[:kibana_url]
36
41
  super(options)
37
42
  end
38
43
 
@@ -45,9 +50,11 @@ module Elastic
45
50
  end
46
51
 
47
52
  def authorization_url(client_id, redirect_uri)
53
+ raise ArgumentError, 'kibana_url The base URL of your Kibana instance must be set in the client' unless kibana_url
54
+
48
55
  [
49
- host,
50
- '/ws/oauth/authorize?',
56
+ kibana_url,
57
+ '/app/enterprise_search/workplace_search/p/oauth/authorize?',
51
58
  'response_type=code&',
52
59
  "client_id=#{client_id}&",
53
60
  "redirect_uri=#{CGI.escape(redirect_uri)}"
@@ -17,6 +17,7 @@
17
17
 
18
18
  # frozen_string_literal: true
19
19
 
20
+ # rubocop:disable Metrics/BlockLength
20
21
  namespace :unified_release do
21
22
  desc <<-DESC
22
23
  Update Rubygems versions in version.rb and *.gemspec files
@@ -43,4 +44,24 @@ namespace :unified_release do
43
44
  rescue StandardError => e
44
45
  abort "[!!!] #{e.class} : #{e.message}"
45
46
  end
47
+
48
+ desc 'Update Stack Versions in test matrices (.github/workflows and .ci/test-matrix.yml)'
49
+ task :update_matrices, :version do |_, args|
50
+ @version = args[:version]
51
+ error = 'Error: version must be passed in and needs to be a version format: 9.1.0, 8.7.15.'
52
+ raise ArgumentError, error unless @version&.match?(/[0-9.]/)
53
+
54
+ # Replace in test-matrix.yml
55
+ file = File.expand_path('./.ci/test-matrix.yml')
56
+ regex = /(STACK_VERSION:\s+- )([0-9.]+(-SNAPSHOT)?)/
57
+ replace_version(regex, file)
58
+ end
59
+
60
+ def replace_version(regex, file)
61
+ content = File.read(file)
62
+ match = content.match(regex)
63
+ content = content.gsub(regex, "#{match[1]}#{@version}")
64
+ File.open(file, 'w') { |f| f.puts content }
65
+ end
46
66
  end
67
+ # rubocop:enable Metrics/BlockLength
@@ -10,7 +10,7 @@ http_interactions:
10
10
  X-Elastic-Client-Meta:
11
11
  - es=7.11.0.pre.1,rb=2.7.2,t=7.11.0.pre.1,fd=1.3.0,nh=1.1
12
12
  User-Agent:
13
- - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
13
+ - 'elastic-enterprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
14
14
  elasticsearch-transport: 7.11.0.pre.1)'
15
15
  Content-Type:
16
16
  - application/json
@@ -10,7 +10,7 @@ http_interactions:
10
10
  X-Elastic-Client-Meta:
11
11
  - es=7.11.0.pre.1,rb=2.7.2,t=7.11.0.pre.1,fd=1.3.0,nh=1.1
12
12
  User-Agent:
13
- - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
13
+ - 'elastic-enterprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
14
14
  elasticsearch-transport: 7.11.0.pre.1)'
15
15
  Content-Type:
16
16
  - application/json
@@ -10,7 +10,7 @@ http_interactions:
10
10
  X-Elastic-Client-Meta:
11
11
  - es=7.11.0.pre.1,rb=2.7.2,t=7.11.0.pre.1,fd=1.3.0,nh=1.1
12
12
  User-Agent:
13
- - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
13
+ - 'elastic-enterprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
14
14
  elasticsearch-transport: 7.11.0.pre.1)'
15
15
  Content-Type:
16
16
  - application/json
@@ -51,12 +51,26 @@ describe Elastic::EnterpriseSearch::AppSearch::Client do
51
51
  end
52
52
 
53
53
  it 'performs an ES search' do
54
- es_request = { body: { query: { bool: { must: { term: { author: 'panciroli' } } } } } }
55
- response = client.search_es_search(engine_name, body: { request: es_request })
54
+ es_request = { query: { bool: { must: { term: { author: 'panciroli' } } } } }
55
+ response = client.search_es_search(engine_name, body: es_request)
56
56
  expect(response.status).to eq 200
57
57
  expect(response.body['hits']['hits'].count).to eq 2
58
58
  expect do
59
- response.body['hits']['hits'].map { |a| a['_source']['author'] } == ['Elsa Panciroli', 'Dr. Elsa Panciroli']
59
+ response.body['hits']['hits'].map do |a|
60
+ a['_source']['author']
61
+ end == ['Elsa Panciroli', 'Dr. Elsa Panciroli']
62
+ end
63
+ end
64
+
65
+ it 'performs an ES search with query parameters' do
66
+ es_request = { query: { bool: { must: { term: { author: 'panciroli' } } } } }
67
+ response = client.search_es_search(engine_name, body: es_request, sort: "{ 'author': 'desc' }")
68
+ expect(response.status).to eq 200
69
+ expect(response.body['hits']['hits'].count).to eq 2
70
+ expect do
71
+ response.body['hits']['hits'].map do |a|
72
+ a['_source']['author']
73
+ end == ['Dr. Elsa Panciroli', 'Elsa Panciroli']
60
74
  end
61
75
  end
62
76
  end
@@ -97,4 +97,15 @@ describe Elastic::EnterpriseSearch::Client do
97
97
  end
98
98
  end
99
99
  end
100
+
101
+ context 'unversioned API' do
102
+ context 'search_engines' do
103
+ it 'makes GET request' do
104
+ response = client.search_engines
105
+
106
+ expect(response.status).to eq 200
107
+ expect(response.body['results'])
108
+ end
109
+ end
110
+ end
100
111
  end
@@ -91,10 +91,18 @@ describe Elastic::EnterpriseSearch::WorkplaceSearch::Client do
91
91
  context 'OAuth' do
92
92
  let(:client) { Elastic::EnterpriseSearch::WorkplaceSearch::Client.new(host: host) }
93
93
 
94
- it 'generates an authorization url' do
95
- authorization_url = 'http://localhost:3002/ws/oauth/authorize?response_type=code&client_id=client_id&redirect_uri=https%3A%2F%2Flocalhost%3A3002'
94
+ it 'generates an authorization url when kibana url has been set' do
95
+ client.kibana_url = 'http://localhost:5601'
96
+ authorization_url = "#{client.kibana_url}/app/enterprise_search/workplace_search/p/oauth/authorize?" \
97
+ 'response_type=code&client_id=client_id&redirect_uri=https%3A%2F%2Flocalhost%3A3002'
96
98
  expect(client.authorization_url('client_id', 'https://localhost:3002')).to eq authorization_url
97
99
  end
100
+
101
+ it 'raises an error when kibana url is not set' do
102
+ expect do
103
+ client.authorization_url('client_id', 'https://localhost:3002')
104
+ end.to raise_exception(ArgumentError)
105
+ end
98
106
  end
99
107
 
100
108
  context 'adapters' do
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-enterprise-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Briano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-11 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elastic-transport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 8.0.0.pre.3
19
+ version: '8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 8.0.0.pre.3
26
+ version: '8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jwt
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -166,6 +166,9 @@ files:
166
166
  - ".ci/jobs/defaults.yml"
167
167
  - ".ci/jobs/elastic+enterprise-search-ruby+7.17.yml"
168
168
  - ".ci/jobs/elastic+enterprise-search-ruby+8.0.yml"
169
+ - ".ci/jobs/elastic+enterprise-search-ruby+8.1.yml"
170
+ - ".ci/jobs/elastic+enterprise-search-ruby+8.2.yml"
171
+ - ".ci/jobs/elastic+enterprise-search-ruby+8.3.yml"
169
172
  - ".ci/jobs/elastic+enterprise-search-ruby+main.yml"
170
173
  - ".ci/jobs/elastic+enterprise-search-ruby+pull-request.yml"
171
174
  - ".ci/make.sh"
@@ -208,6 +211,8 @@ files:
208
211
  - docs/guide/release_notes/80.asciidoc
209
212
  - docs/guide/release_notes/81.asciidoc
210
213
  - docs/guide/release_notes/82.asciidoc
214
+ - docs/guide/release_notes/83.asciidoc
215
+ - docs/guide/release_notes/84.asciidoc
211
216
  - docs/guide/release_notes/index.asciidoc
212
217
  - docs/guide/workplace-search-api.asciidoc
213
218
  - elastic-enterprise-search.gemspec
@@ -301,6 +306,7 @@ files:
301
306
  - lib/elastic/enterprise-search/api/health.rb
302
307
  - lib/elastic/enterprise-search/api/put_read_only.rb
303
308
  - lib/elastic/enterprise-search/api/read_only.rb
309
+ - lib/elastic/enterprise-search/api/search_engines.rb
304
310
  - lib/elastic/enterprise-search/api/stats.rb
305
311
  - lib/elastic/enterprise-search/api/version.rb
306
312
  - lib/elastic/enterprise-search/client.rb
@@ -419,7 +425,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
419
425
  - !ruby/object:Gem::Version
420
426
  version: '0'
421
427
  requirements: []
422
- rubygems_version: 3.3.3
428
+ rubygems_version: 3.3.7
423
429
  signing_key:
424
430
  specification_version: 4
425
431
  summary: Official API client for Elastic Enterprise Search