algolia 3.12.2 → 3.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/issue.yml +6 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +5 -5
- data/lib/algolia/api/abtesting_client.rb +8 -8
- data/lib/algolia/api/analytics_client.rb +8 -8
- data/lib/algolia/api/ingestion_client.rb +8 -8
- data/lib/algolia/api/insights_client.rb +8 -8
- data/lib/algolia/api/monitoring_client.rb +8 -8
- data/lib/algolia/api/personalization_client.rb +8 -8
- data/lib/algolia/api/query_suggestions_client.rb +8 -8
- data/lib/algolia/api/recommend_client.rb +8 -8
- data/lib/algolia/api/search_client.rb +8 -8
- data/lib/algolia/models/recommend/optional_words.rb +1 -0
- data/lib/algolia/models/search/optional_words.rb +1 -0
- data/lib/algolia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c0c935157ea336a265d218b742c182b0241745ec5d1bc18a368a12b8e14100d
|
4
|
+
data.tar.gz: e5d9c28396d5942d6a1d43e7028166f6455785d85eaff6aa3ef0a639793ddfce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcd428c3ed3b16be111ba38f5e23fe27b5d474a3ad0cbe2003f800e2d7ab0cdd251cfd8ea00d40d79ca6b42362164e5dddef7b6eba9428c66d2185e7bd278253
|
7
|
+
data.tar.gz: 664dcf03d3faa22256529ebd1c62807340d0d50b79c89420a2ea800f50b52942b86a69828bf703dc6251e60143a13f8ccc334d84f6efc77b0dbc08244912b417
|
data/.github/workflows/issue.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [3.12.3](https://github.com/algolia/algoliasearch-client-ruby/compare/3.12.2...3.12.3)
|
2
|
+
|
3
|
+
- [92bd911848](https://github.com/algolia/api-clients-automation/commit/92bd911848) chore(scripts): point jira issues to another epic ([#4505](https://github.com/algolia/api-clients-automation/pull/4505)) by [@millotp](https://github.com/millotp/)
|
4
|
+
- [b8918494d0](https://github.com/algolia/api-clients-automation/commit/b8918494d0) chore(deps): dependencies 2025-03-03 ([#4511](https://github.com/algolia/api-clients-automation/pull/4511)) by [@algolia-bot](https://github.com/algolia-bot/)
|
5
|
+
- [97d2722bc9](https://github.com/algolia/api-clients-automation/commit/97d2722bc9) fix(specs): Increase optionalWords visibility in docs ([#4559](https://github.com/algolia/api-clients-automation/pull/4559)) by [@gazconroy](https://github.com/gazconroy/)
|
6
|
+
|
1
7
|
## [3.12.2](https://github.com/algolia/algoliasearch-client-ruby/compare/3.12.1...3.12.2)
|
2
8
|
|
3
9
|
- [ecd6bc4fed](https://github.com/algolia/api-clients-automation/commit/ecd6bc4fed) chore(deps): dependencies 2025-02-17 ([#4459](https://github.com/algolia/api-clients-automation/pull/4459)) by [@algolia-bot](https://github.com/algolia-bot/)
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
algolia (3.12.
|
4
|
+
algolia (3.12.3)
|
5
5
|
base64 (>= 0.2.0, < 1)
|
6
6
|
faraday (>= 1.0.1, < 3.0)
|
7
7
|
faraday-net_http_persistent (>= 0.15, < 3)
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
base64 (0.2.0)
|
14
|
-
connection_pool (2.
|
14
|
+
connection_pool (2.5.0)
|
15
15
|
faraday (2.12.2)
|
16
16
|
faraday-net_http (>= 2.0, < 3.5)
|
17
17
|
json
|
@@ -21,14 +21,14 @@ GEM
|
|
21
21
|
faraday-net_http_persistent (2.3.0)
|
22
22
|
faraday (~> 2.5)
|
23
23
|
net-http-persistent (>= 4.0.4, < 5)
|
24
|
-
json (2.
|
25
|
-
logger (1.6.
|
24
|
+
json (2.10.1)
|
25
|
+
logger (1.6.6)
|
26
26
|
net-http (0.6.0)
|
27
27
|
uri
|
28
28
|
net-http-persistent (4.0.5)
|
29
29
|
connection_pool (~> 2.2)
|
30
30
|
rake (13.2.1)
|
31
|
-
uri (1.0.
|
31
|
+
uri (1.0.3)
|
32
32
|
|
33
33
|
PLATFORMS
|
34
34
|
aarch64-linux
|
@@ -113,7 +113,7 @@ module Algolia
|
|
113
113
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Abtesting::ABTestResponse")
|
114
114
|
end
|
115
115
|
|
116
|
-
# This method
|
116
|
+
# This method lets you send requests to the Algolia REST API.
|
117
117
|
|
118
118
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
119
119
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -145,7 +145,7 @@ module Algolia
|
|
145
145
|
@api_client.call_api(:DELETE, path, new_options)
|
146
146
|
end
|
147
147
|
|
148
|
-
# This method
|
148
|
+
# This method lets you send requests to the Algolia REST API.
|
149
149
|
|
150
150
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
151
151
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -156,7 +156,7 @@ module Algolia
|
|
156
156
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
157
157
|
end
|
158
158
|
|
159
|
-
# This method
|
159
|
+
# This method lets you send requests to the Algolia REST API.
|
160
160
|
|
161
161
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
162
162
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -188,7 +188,7 @@ module Algolia
|
|
188
188
|
@api_client.call_api(:GET, path, new_options)
|
189
189
|
end
|
190
190
|
|
191
|
-
# This method
|
191
|
+
# This method lets you send requests to the Algolia REST API.
|
192
192
|
|
193
193
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
194
194
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -199,7 +199,7 @@ module Algolia
|
|
199
199
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
200
200
|
end
|
201
201
|
|
202
|
-
# This method
|
202
|
+
# This method lets you send requests to the Algolia REST API.
|
203
203
|
|
204
204
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
205
205
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -232,7 +232,7 @@ module Algolia
|
|
232
232
|
@api_client.call_api(:POST, path, new_options)
|
233
233
|
end
|
234
234
|
|
235
|
-
# This method
|
235
|
+
# This method lets you send requests to the Algolia REST API.
|
236
236
|
|
237
237
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
238
238
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -244,7 +244,7 @@ module Algolia
|
|
244
244
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
245
245
|
end
|
246
246
|
|
247
|
-
# This method
|
247
|
+
# This method lets you send requests to the Algolia REST API.
|
248
248
|
|
249
249
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
250
250
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -277,7 +277,7 @@ module Algolia
|
|
277
277
|
@api_client.call_api(:PUT, path, new_options)
|
278
278
|
end
|
279
279
|
|
280
|
-
# This method
|
280
|
+
# This method lets you send requests to the Algolia REST API.
|
281
281
|
|
282
282
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
283
283
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -69,7 +69,7 @@ module Algolia
|
|
69
69
|
self
|
70
70
|
end
|
71
71
|
|
72
|
-
# This method
|
72
|
+
# This method lets you send requests to the Algolia REST API.
|
73
73
|
|
74
74
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
75
75
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -101,7 +101,7 @@ module Algolia
|
|
101
101
|
@api_client.call_api(:DELETE, path, new_options)
|
102
102
|
end
|
103
103
|
|
104
|
-
# This method
|
104
|
+
# This method lets you send requests to the Algolia REST API.
|
105
105
|
|
106
106
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
107
107
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -112,7 +112,7 @@ module Algolia
|
|
112
112
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
113
113
|
end
|
114
114
|
|
115
|
-
# This method
|
115
|
+
# This method lets you send requests to the Algolia REST API.
|
116
116
|
|
117
117
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
118
118
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -144,7 +144,7 @@ module Algolia
|
|
144
144
|
@api_client.call_api(:GET, path, new_options)
|
145
145
|
end
|
146
146
|
|
147
|
-
# This method
|
147
|
+
# This method lets you send requests to the Algolia REST API.
|
148
148
|
|
149
149
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
150
150
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -155,7 +155,7 @@ module Algolia
|
|
155
155
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
156
156
|
end
|
157
157
|
|
158
|
-
# This method
|
158
|
+
# This method lets you send requests to the Algolia REST API.
|
159
159
|
|
160
160
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
161
161
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -188,7 +188,7 @@ module Algolia
|
|
188
188
|
@api_client.call_api(:POST, path, new_options)
|
189
189
|
end
|
190
190
|
|
191
|
-
# This method
|
191
|
+
# This method lets you send requests to the Algolia REST API.
|
192
192
|
|
193
193
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
194
194
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -200,7 +200,7 @@ module Algolia
|
|
200
200
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
201
201
|
end
|
202
202
|
|
203
|
-
# This method
|
203
|
+
# This method lets you send requests to the Algolia REST API.
|
204
204
|
|
205
205
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
206
206
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -233,7 +233,7 @@ module Algolia
|
|
233
233
|
@api_client.call_api(:PUT, path, new_options)
|
234
234
|
end
|
235
235
|
|
236
|
-
# This method
|
236
|
+
# This method lets you send requests to the Algolia REST API.
|
237
237
|
|
238
238
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
239
239
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -342,7 +342,7 @@ module Algolia
|
|
342
342
|
)
|
343
343
|
end
|
344
344
|
|
345
|
-
# This method
|
345
|
+
# This method lets you send requests to the Algolia REST API.
|
346
346
|
|
347
347
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
348
348
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -374,7 +374,7 @@ module Algolia
|
|
374
374
|
@api_client.call_api(:DELETE, path, new_options)
|
375
375
|
end
|
376
376
|
|
377
|
-
# This method
|
377
|
+
# This method lets you send requests to the Algolia REST API.
|
378
378
|
|
379
379
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
380
380
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -385,7 +385,7 @@ module Algolia
|
|
385
385
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
386
386
|
end
|
387
387
|
|
388
|
-
# This method
|
388
|
+
# This method lets you send requests to the Algolia REST API.
|
389
389
|
|
390
390
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
391
391
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -417,7 +417,7 @@ module Algolia
|
|
417
417
|
@api_client.call_api(:GET, path, new_options)
|
418
418
|
end
|
419
419
|
|
420
|
-
# This method
|
420
|
+
# This method lets you send requests to the Algolia REST API.
|
421
421
|
|
422
422
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
423
423
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -428,7 +428,7 @@ module Algolia
|
|
428
428
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
429
429
|
end
|
430
430
|
|
431
|
-
# This method
|
431
|
+
# This method lets you send requests to the Algolia REST API.
|
432
432
|
|
433
433
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
434
434
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -461,7 +461,7 @@ module Algolia
|
|
461
461
|
@api_client.call_api(:POST, path, new_options)
|
462
462
|
end
|
463
463
|
|
464
|
-
# This method
|
464
|
+
# This method lets you send requests to the Algolia REST API.
|
465
465
|
|
466
466
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
467
467
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -473,7 +473,7 @@ module Algolia
|
|
473
473
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
474
474
|
end
|
475
475
|
|
476
|
-
# This method
|
476
|
+
# This method lets you send requests to the Algolia REST API.
|
477
477
|
|
478
478
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
479
479
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -506,7 +506,7 @@ module Algolia
|
|
506
506
|
@api_client.call_api(:PUT, path, new_options)
|
507
507
|
end
|
508
508
|
|
509
|
-
# This method
|
509
|
+
# This method lets you send requests to the Algolia REST API.
|
510
510
|
|
511
511
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
512
512
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -69,7 +69,7 @@ module Algolia
|
|
69
69
|
self
|
70
70
|
end
|
71
71
|
|
72
|
-
# This method
|
72
|
+
# This method lets you send requests to the Algolia REST API.
|
73
73
|
|
74
74
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
75
75
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -101,7 +101,7 @@ module Algolia
|
|
101
101
|
@api_client.call_api(:DELETE, path, new_options)
|
102
102
|
end
|
103
103
|
|
104
|
-
# This method
|
104
|
+
# This method lets you send requests to the Algolia REST API.
|
105
105
|
|
106
106
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
107
107
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -112,7 +112,7 @@ module Algolia
|
|
112
112
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
113
113
|
end
|
114
114
|
|
115
|
-
# This method
|
115
|
+
# This method lets you send requests to the Algolia REST API.
|
116
116
|
|
117
117
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
118
118
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -144,7 +144,7 @@ module Algolia
|
|
144
144
|
@api_client.call_api(:GET, path, new_options)
|
145
145
|
end
|
146
146
|
|
147
|
-
# This method
|
147
|
+
# This method lets you send requests to the Algolia REST API.
|
148
148
|
|
149
149
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
150
150
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -155,7 +155,7 @@ module Algolia
|
|
155
155
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
156
156
|
end
|
157
157
|
|
158
|
-
# This method
|
158
|
+
# This method lets you send requests to the Algolia REST API.
|
159
159
|
|
160
160
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
161
161
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -188,7 +188,7 @@ module Algolia
|
|
188
188
|
@api_client.call_api(:POST, path, new_options)
|
189
189
|
end
|
190
190
|
|
191
|
-
# This method
|
191
|
+
# This method lets you send requests to the Algolia REST API.
|
192
192
|
|
193
193
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
194
194
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -200,7 +200,7 @@ module Algolia
|
|
200
200
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
201
201
|
end
|
202
202
|
|
203
|
-
# This method
|
203
|
+
# This method lets you send requests to the Algolia REST API.
|
204
204
|
|
205
205
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
206
206
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -233,7 +233,7 @@ module Algolia
|
|
233
233
|
@api_client.call_api(:PUT, path, new_options)
|
234
234
|
end
|
235
235
|
|
236
|
-
# This method
|
236
|
+
# This method lets you send requests to the Algolia REST API.
|
237
237
|
|
238
238
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
239
239
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -42,7 +42,7 @@ module Algolia
|
|
42
42
|
self
|
43
43
|
end
|
44
44
|
|
45
|
-
# This method
|
45
|
+
# This method lets you send requests to the Algolia REST API.
|
46
46
|
|
47
47
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
48
48
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -74,7 +74,7 @@ module Algolia
|
|
74
74
|
@api_client.call_api(:DELETE, path, new_options)
|
75
75
|
end
|
76
76
|
|
77
|
-
# This method
|
77
|
+
# This method lets you send requests to the Algolia REST API.
|
78
78
|
|
79
79
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
80
80
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -85,7 +85,7 @@ module Algolia
|
|
85
85
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
86
86
|
end
|
87
87
|
|
88
|
-
# This method
|
88
|
+
# This method lets you send requests to the Algolia REST API.
|
89
89
|
|
90
90
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
91
91
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -117,7 +117,7 @@ module Algolia
|
|
117
117
|
@api_client.call_api(:GET, path, new_options)
|
118
118
|
end
|
119
119
|
|
120
|
-
# This method
|
120
|
+
# This method lets you send requests to the Algolia REST API.
|
121
121
|
|
122
122
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
123
123
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -128,7 +128,7 @@ module Algolia
|
|
128
128
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
129
129
|
end
|
130
130
|
|
131
|
-
# This method
|
131
|
+
# This method lets you send requests to the Algolia REST API.
|
132
132
|
|
133
133
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
134
134
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -161,7 +161,7 @@ module Algolia
|
|
161
161
|
@api_client.call_api(:POST, path, new_options)
|
162
162
|
end
|
163
163
|
|
164
|
-
# This method
|
164
|
+
# This method lets you send requests to the Algolia REST API.
|
165
165
|
|
166
166
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
167
167
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -173,7 +173,7 @@ module Algolia
|
|
173
173
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
174
174
|
end
|
175
175
|
|
176
|
-
# This method
|
176
|
+
# This method lets you send requests to the Algolia REST API.
|
177
177
|
|
178
178
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
179
179
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -206,7 +206,7 @@ module Algolia
|
|
206
206
|
@api_client.call_api(:PUT, path, new_options)
|
207
207
|
end
|
208
208
|
|
209
|
-
# This method
|
209
|
+
# This method lets you send requests to the Algolia REST API.
|
210
210
|
|
211
211
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
212
212
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -69,7 +69,7 @@ module Algolia
|
|
69
69
|
self
|
70
70
|
end
|
71
71
|
|
72
|
-
# This method
|
72
|
+
# This method lets you send requests to the Algolia REST API.
|
73
73
|
|
74
74
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
75
75
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -101,7 +101,7 @@ module Algolia
|
|
101
101
|
@api_client.call_api(:DELETE, path, new_options)
|
102
102
|
end
|
103
103
|
|
104
|
-
# This method
|
104
|
+
# This method lets you send requests to the Algolia REST API.
|
105
105
|
|
106
106
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
107
107
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -112,7 +112,7 @@ module Algolia
|
|
112
112
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
113
113
|
end
|
114
114
|
|
115
|
-
# This method
|
115
|
+
# This method lets you send requests to the Algolia REST API.
|
116
116
|
|
117
117
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
118
118
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -144,7 +144,7 @@ module Algolia
|
|
144
144
|
@api_client.call_api(:GET, path, new_options)
|
145
145
|
end
|
146
146
|
|
147
|
-
# This method
|
147
|
+
# This method lets you send requests to the Algolia REST API.
|
148
148
|
|
149
149
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
150
150
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -155,7 +155,7 @@ module Algolia
|
|
155
155
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
156
156
|
end
|
157
157
|
|
158
|
-
# This method
|
158
|
+
# This method lets you send requests to the Algolia REST API.
|
159
159
|
|
160
160
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
161
161
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -188,7 +188,7 @@ module Algolia
|
|
188
188
|
@api_client.call_api(:POST, path, new_options)
|
189
189
|
end
|
190
190
|
|
191
|
-
# This method
|
191
|
+
# This method lets you send requests to the Algolia REST API.
|
192
192
|
|
193
193
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
194
194
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -200,7 +200,7 @@ module Algolia
|
|
200
200
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
201
201
|
end
|
202
202
|
|
203
|
-
# This method
|
203
|
+
# This method lets you send requests to the Algolia REST API.
|
204
204
|
|
205
205
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
206
206
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -233,7 +233,7 @@ module Algolia
|
|
233
233
|
@api_client.call_api(:PUT, path, new_options)
|
234
234
|
end
|
235
235
|
|
236
|
-
# This method
|
236
|
+
# This method lets you send requests to the Algolia REST API.
|
237
237
|
|
238
238
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
239
239
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -113,7 +113,7 @@ module Algolia
|
|
113
113
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "QuerySuggestions::BaseResponse")
|
114
114
|
end
|
115
115
|
|
116
|
-
# This method
|
116
|
+
# This method lets you send requests to the Algolia REST API.
|
117
117
|
|
118
118
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
119
119
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -145,7 +145,7 @@ module Algolia
|
|
145
145
|
@api_client.call_api(:DELETE, path, new_options)
|
146
146
|
end
|
147
147
|
|
148
|
-
# This method
|
148
|
+
# This method lets you send requests to the Algolia REST API.
|
149
149
|
|
150
150
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
151
151
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -156,7 +156,7 @@ module Algolia
|
|
156
156
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
157
157
|
end
|
158
158
|
|
159
|
-
# This method
|
159
|
+
# This method lets you send requests to the Algolia REST API.
|
160
160
|
|
161
161
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
162
162
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -188,7 +188,7 @@ module Algolia
|
|
188
188
|
@api_client.call_api(:GET, path, new_options)
|
189
189
|
end
|
190
190
|
|
191
|
-
# This method
|
191
|
+
# This method lets you send requests to the Algolia REST API.
|
192
192
|
|
193
193
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
194
194
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -199,7 +199,7 @@ module Algolia
|
|
199
199
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
200
200
|
end
|
201
201
|
|
202
|
-
# This method
|
202
|
+
# This method lets you send requests to the Algolia REST API.
|
203
203
|
|
204
204
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
205
205
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -232,7 +232,7 @@ module Algolia
|
|
232
232
|
@api_client.call_api(:POST, path, new_options)
|
233
233
|
end
|
234
234
|
|
235
|
-
# This method
|
235
|
+
# This method lets you send requests to the Algolia REST API.
|
236
236
|
|
237
237
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
238
238
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -244,7 +244,7 @@ module Algolia
|
|
244
244
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
245
245
|
end
|
246
246
|
|
247
|
-
# This method
|
247
|
+
# This method lets you send requests to the Algolia REST API.
|
248
248
|
|
249
249
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
250
250
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -277,7 +277,7 @@ module Algolia
|
|
277
277
|
@api_client.call_api(:PUT, path, new_options)
|
278
278
|
end
|
279
279
|
|
280
|
-
# This method
|
280
|
+
# This method lets you send requests to the Algolia REST API.
|
281
281
|
|
282
282
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
283
283
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -107,7 +107,7 @@ module Algolia
|
|
107
107
|
)
|
108
108
|
end
|
109
109
|
|
110
|
-
# This method
|
110
|
+
# This method lets you send requests to the Algolia REST API.
|
111
111
|
|
112
112
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
113
113
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -139,7 +139,7 @@ module Algolia
|
|
139
139
|
@api_client.call_api(:DELETE, path, new_options)
|
140
140
|
end
|
141
141
|
|
142
|
-
# This method
|
142
|
+
# This method lets you send requests to the Algolia REST API.
|
143
143
|
|
144
144
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
145
145
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -150,7 +150,7 @@ module Algolia
|
|
150
150
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
151
151
|
end
|
152
152
|
|
153
|
-
# This method
|
153
|
+
# This method lets you send requests to the Algolia REST API.
|
154
154
|
|
155
155
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
156
156
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -182,7 +182,7 @@ module Algolia
|
|
182
182
|
@api_client.call_api(:GET, path, new_options)
|
183
183
|
end
|
184
184
|
|
185
|
-
# This method
|
185
|
+
# This method lets you send requests to the Algolia REST API.
|
186
186
|
|
187
187
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
188
188
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -193,7 +193,7 @@ module Algolia
|
|
193
193
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
194
194
|
end
|
195
195
|
|
196
|
-
# This method
|
196
|
+
# This method lets you send requests to the Algolia REST API.
|
197
197
|
|
198
198
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
199
199
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -226,7 +226,7 @@ module Algolia
|
|
226
226
|
@api_client.call_api(:POST, path, new_options)
|
227
227
|
end
|
228
228
|
|
229
|
-
# This method
|
229
|
+
# This method lets you send requests to the Algolia REST API.
|
230
230
|
|
231
231
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
232
232
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -238,7 +238,7 @@ module Algolia
|
|
238
238
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
239
239
|
end
|
240
240
|
|
241
|
-
# This method
|
241
|
+
# This method lets you send requests to the Algolia REST API.
|
242
242
|
|
243
243
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
244
244
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -271,7 +271,7 @@ module Algolia
|
|
271
271
|
@api_client.call_api(:PUT, path, new_options)
|
272
272
|
end
|
273
273
|
|
274
|
-
# This method
|
274
|
+
# This method lets you send requests to the Algolia REST API.
|
275
275
|
|
276
276
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
277
277
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -598,7 +598,7 @@ module Algolia
|
|
598
598
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::UpdatedAtResponse")
|
599
599
|
end
|
600
600
|
|
601
|
-
# This method
|
601
|
+
# This method lets you send requests to the Algolia REST API.
|
602
602
|
|
603
603
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
604
604
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -630,7 +630,7 @@ module Algolia
|
|
630
630
|
@api_client.call_api(:DELETE, path, new_options)
|
631
631
|
end
|
632
632
|
|
633
|
-
# This method
|
633
|
+
# This method lets you send requests to the Algolia REST API.
|
634
634
|
|
635
635
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
636
636
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -641,7 +641,7 @@ module Algolia
|
|
641
641
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
642
642
|
end
|
643
643
|
|
644
|
-
# This method
|
644
|
+
# This method lets you send requests to the Algolia REST API.
|
645
645
|
|
646
646
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
647
647
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -673,7 +673,7 @@ module Algolia
|
|
673
673
|
@api_client.call_api(:GET, path, new_options)
|
674
674
|
end
|
675
675
|
|
676
|
-
# This method
|
676
|
+
# This method lets you send requests to the Algolia REST API.
|
677
677
|
|
678
678
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
679
679
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -684,7 +684,7 @@ module Algolia
|
|
684
684
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
685
685
|
end
|
686
686
|
|
687
|
-
# This method
|
687
|
+
# This method lets you send requests to the Algolia REST API.
|
688
688
|
|
689
689
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
690
690
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -717,7 +717,7 @@ module Algolia
|
|
717
717
|
@api_client.call_api(:POST, path, new_options)
|
718
718
|
end
|
719
719
|
|
720
|
-
# This method
|
720
|
+
# This method lets you send requests to the Algolia REST API.
|
721
721
|
|
722
722
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
723
723
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -729,7 +729,7 @@ module Algolia
|
|
729
729
|
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
|
730
730
|
end
|
731
731
|
|
732
|
-
# This method
|
732
|
+
# This method lets you send requests to the Algolia REST API.
|
733
733
|
|
734
734
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
735
735
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -762,7 +762,7 @@ module Algolia
|
|
762
762
|
@api_client.call_api(:PUT, path, new_options)
|
763
763
|
end
|
764
764
|
|
765
|
-
# This method
|
765
|
+
# This method lets you send requests to the Algolia REST API.
|
766
766
|
|
767
767
|
# @param path [String] Path of the endpoint, anything after \"/1\" must be specified. (required)
|
768
768
|
# @param parameters [Hash<String, Object>] Query parameters to apply to the current query.
|
@@ -7,6 +7,7 @@ require "time"
|
|
7
7
|
|
8
8
|
module Algolia
|
9
9
|
module Recommend
|
10
|
+
# Words that should be considered optional when found in the query. By default, records must match all words in the search query to be included in the search results. Adding optional words can help to increase the number of search results by running an additional search query that doesn't include the optional words. For example, if the search query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more words **and** all its words are optional, the number of matched words required for a record to be included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
|
10
11
|
module OptionalWords
|
11
12
|
class << self
|
12
13
|
# List of class defined in oneOf (OpenAPI v3)
|
@@ -7,6 +7,7 @@ require "time"
|
|
7
7
|
|
8
8
|
module Algolia
|
9
9
|
module Search
|
10
|
+
# Words that should be considered optional when found in the query. By default, records must match all words in the search query to be included in the search results. Adding optional words can help to increase the number of search results by running an additional search query that doesn't include the optional words. For example, if the search query is \"action video\" and \"video\" is an optional word, the search engine runs two queries. One for \"action video\" and one for \"action\". Records that match all words are ranked higher. For a search query with 4 or more words **and** all its words are optional, the number of matched words required for a record to be included in the search results increases for every 1,000 records: - If `optionalWords` has less than 10 words, the required number of matched words increases by 1: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 2 matched words. - If `optionalWords` has 10 or more words, the number of required matched words increases by the number of optional words divided by 5 (rounded down). For example, with 18 optional words: results 1 to 1,000 require 1 matched word, results 1,001 to 2000 need 4 matched words. For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
|
10
11
|
module OptionalWords
|
11
12
|
class << self
|
12
13
|
# List of class defined in oneOf (OpenAPI v3)
|
data/lib/algolia/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.12.
|
4
|
+
version: 3.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://alg.li/support
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-05 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: faraday
|