You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix various typos
* Fix wrongly tagged routes in open api
* Telemetry policy
* Add new error and api keys actions
* Add experimental features and experimental feature API specs
* Update open API
* Score details (#252)
* ranking score spec
* search API changes
* telemetry policies score
* open api
* Fix typos in spec
Co-authored-by: Maria Craig <marycraig90@gmail.com>
* Add multi search telemetry
---------
Co-authored-by: Maria Craig <marycraig90@gmail.com>
---------
Co-authored-by: Maria Craig <marycraig90@gmail.com>
description: (EXPERIMENTAL) The ranking score per ranking rule.
241
+
examples:
242
+
With sort:
243
+
words:
244
+
order: 0
245
+
matchingWords: 7
246
+
maxMatchingWords: 7
247
+
score: 1.0
248
+
"typo":
249
+
"order": 1
250
+
"typoCount": 0
251
+
"maxTypoCount": 0
252
+
"score": 1.0
253
+
"proximity":
254
+
"order": 2,
255
+
"score": 1.0
256
+
"attribute":
257
+
"order": 3
258
+
"attribute_ranking_order_score": 1.0
259
+
"query_word_distance_score": 1.0
260
+
"score": 1.0
261
+
"title:asc":
262
+
"order": 4
263
+
"value": "batman: the dark knight returns, part 1"
264
+
"release_date:desc":
265
+
"order": 5
266
+
"value": 1345507200.0
267
+
"exactness":
268
+
"order": 6
269
+
"matchType": "exactMatch"
270
+
"score": 1.0
120
271
hit:
121
272
type: object
122
273
additionalProperties: true
@@ -168,6 +319,15 @@ components:
168
319
properties:
169
320
'':
170
321
$ref: '#/components/schemas/matchesPosition'
322
+
_rankingScore:
323
+
type: number
324
+
description: Only present if showRankingScore = `true`. The ranking score of that document.
325
+
_rankingScoreDetails:
326
+
type: object
327
+
description: (EXPERIMENTAL) Only present if showRankingScoreDetails = `true`. The ranking score of each ranking rule for that document.
328
+
properties:
329
+
'':
330
+
$ref: '#/components/schemas/rankingScoreDetails'
171
331
attribute:
172
332
type:
173
333
- string
@@ -759,6 +919,14 @@ components:
759
919
type: boolean
760
920
description: Defines whether an `_matchesPosition` object that contains information about the matches should be returned or not.
761
921
default: false
922
+
showRankingScore:
923
+
type: boolean
924
+
description: Defines whether a `_rankingScore` number representing the relevancy score of that document should be returned or not.
925
+
default: false
926
+
showRankingScoreDetails:
927
+
type: boolean
928
+
description: (EXPERIMENTAL) Defines whether a `_rankingScoreDetails` object containing information about the score of that document for each ranking rule should be returned or not.
929
+
default: false
762
930
matchingStrategy:
763
931
type: string
764
932
description: Defines which strategy to use to match the query terms within the documents as search results. Two different strategies are available, `last` and `all`. By default, the `last` strategy is chosen.
@@ -813,6 +981,8 @@ components:
813
981
attributesToHighlight:
814
982
- overview
815
983
showMatchesPosition: true
984
+
showRankingScore: true
985
+
wordsMatchingStrategy: all
816
986
matchingStrategy: all
817
987
facetSearchQuery:
818
988
type: object
@@ -905,6 +1075,8 @@ components:
905
1075
- keys.create
906
1076
- keys.update
907
1077
- keys.delete
1078
+
- experimental.get
1079
+
- experimental.update
908
1080
indexes:
909
1081
type: array
910
1082
description: 'A list of accesible indexes permitted for the key. ["*"] for all indexes. The * character can be used as a wildcard when located at the last position. e.g. "products_*"" to allow access to all indexes whose names start with "products_".'
@@ -1432,6 +1604,10 @@ tags:
1432
1604
During a [dump export](https://docs.meilisearch.com/reference/api/dump.html#create-a-dump), all indexes of the current instance are exported—together with their documents and settings—and saved as a single `.dump` file.
1433
1605
During a dump import, all indexes contained in the indicated `.dump` file are imported along with their associated documents and settings. Any existing index with the same uid as an index in the dump file will be overwritten.
1434
1606
Dump imports are [performed at launch](https://docs.meilisearch.com/reference/features/configuration.html#import-dump) using an option.
1607
+
- name: Experimental
1608
+
description: |
1609
+
The `experimental-features` endpoint allows enabling and disabling [experimental features](https://github.com/meilisearch/engine-team/blob/main/resources/experimental-features.md) at runtime.
1610
+
Experimental features are features that are not yet covered by [Meilisearch's stability guarantee](https://github.com/meilisearch/engine-team/blob/main/resources/versioning-policy.md) and that could break between minor and patch Meilisearch versions.
1435
1611
paths:
1436
1612
/dumps:
1437
1613
post:
@@ -3900,7 +4076,7 @@ paths:
3900
4076
summary: Get all tasks
3901
4077
description: 'Get all [tasks](https://docs.meilisearch.com/learn/advanced/asynchronous_operations.html)'
0 commit comments