This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-v1.7.0' into experimental-logs-route
- Loading branch information
Showing
6 changed files
with
54 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ openapi: 3.1.0 | |
info: | ||
title: Meilisearch Core API | ||
description: 'Search documents, configure and manage the Meilisearch engine.' | ||
version: 1.6.0 | ||
version: 1.7.0 | ||
contact: | ||
name: Meilisearch | ||
email: [email protected] | ||
|
@@ -134,10 +134,16 @@ components: | |
distance: | ||
type: number | ||
description: The distance between the target point and the geoPoint in the document | ||
similarity: | ||
type: number | ||
description: | | ||
the similarity score between the target vector and the value vector. | ||
1.0 means a perfect similarity, 0.0 a perfect dissimilarity. | ||
required: | ||
- order | ||
- value | ||
description: Custom rule in the form of either `attribute:direction` or `_geoPoint(lat, lng):direction`. | ||
description: Custom rule in the form of either `attribute:direction`, `vectorSort(vector)` or `_geoPoint(lat, lng):direction`. | ||
score: | ||
type: number | ||
description: | | ||
|
@@ -154,9 +160,10 @@ components: | |
$ref: '#/components/schemas/order' | ||
matchingWords: | ||
type: integer | ||
description: the number of words from the query found | ||
description: number of words in the query that match in the document. The higher the better. | ||
maxMatchingWords: | ||
type: integer | ||
description: max number of words in the query that can match in the document for this iteration of the words ranking rule. | ||
score: | ||
$ref: '#/components/schemas/score' | ||
required: | ||
|
@@ -197,13 +204,13 @@ components: | |
properties: | ||
order: | ||
$ref: '#/components/schemas/order' | ||
attribute_ranking_order_score: | ||
attributeRankingOrderScore: | ||
type: number | ||
description: | | ||
Score computed depending on the first attribute each word of the query appears in. | ||
The first attribute in the `searchableAttributes` list yields the highest score, the last attribute the lowest. | ||
query_word_distance_score: | ||
queryWordDistanceScore: | ||
type: number | ||
description: | | ||
Score computed depending on the position the attributes where each word of the query appears in. | ||
|
@@ -214,8 +221,8 @@ components: | |
$ref: '#/components/schemas/score' | ||
required: | ||
- order | ||
- attribute_ranking_order_score | ||
- query_word_distance_score | ||
- attributeRankingOrderScore | ||
- queryWordDistanceScore | ||
- score | ||
exactness: | ||
type: object | ||
|
@@ -229,6 +236,14 @@ components: | |
- `exactMatch`: the document contains an attribute that exactly matches the query. | ||
- `matchesStart`: the document contains an attribute that exactly starts with the query. | ||
- `noExactMatch`: any other document. | ||
matchingWords: | ||
type: integer | ||
description: | | ||
for `noExactMatch`, the number of exact words contained in an attribute. The higher the better. | ||
maxMatchingWords: | ||
type: integer | ||
description: | | ||
for `noExactMatch`, the maximum number of exact words contained in an attribute | ||
score: | ||
$ref: '#/components/schemas/score' | ||
required: | ||
|
@@ -237,7 +252,7 @@ components: | |
- score | ||
additionalProperties: | ||
$ref: '#/components/schemas/customRankingRuleDetails' | ||
description: (EXPERIMENTAL) The ranking score per ranking rule. | ||
description: The ranking score per ranking rule. | ||
examples: | ||
With sort: | ||
words: | ||
|
@@ -324,7 +339,7 @@ components: | |
description: Only present if showRankingScore = `true`. The ranking score of that document. | ||
_rankingScoreDetails: | ||
type: object | ||
description: (EXPERIMENTAL) Only present if showRankingScoreDetails = `true`. The ranking score of each ranking rule for that document. | ||
description: Only present if showRankingScoreDetails = `true`. The ranking score of each ranking rule for that document. | ||
properties: | ||
'': | ||
$ref: '#/components/schemas/rankingScoreDetails' | ||
|
@@ -952,7 +967,7 @@ components: | |
default: false | ||
showRankingScoreDetails: | ||
type: boolean | ||
description: (EXPERIMENTAL) Defines whether a `_rankingScoreDetails` object containing information about the score of that document for each ranking rule should be returned or not. | ||
description: Defines whether a `_rankingScoreDetails` object containing information about the score of that document for each ranking rule should be returned or not. | ||
default: false | ||
matchingStrategy: | ||
type: string | ||
|
@@ -4402,16 +4417,20 @@ paths: | |
properties: | ||
vectorStore: | ||
type: boolean | ||
scoreDetails: | ||
metrics: | ||
type: boolean | ||
exportPuffinReports: | ||
type: boolean | ||
required: | ||
- vectorStore | ||
- scoreDetails | ||
- metrics | ||
- exportPuffinReports | ||
examples: | ||
Default status of the features: | ||
value: | ||
vectorStore: false | ||
scoreDetails: false | ||
metrics: true | ||
exportPuffinReports: false | ||
'401': | ||
$ref: '#/components/responses/401' | ||
patch: | ||
|
@@ -4431,14 +4450,17 @@ paths: | |
properties: | ||
vectorStore: | ||
type: boolean | ||
scoreDetails: | ||
metrics: | ||
type: boolean | ||
exportPuffinReports: | ||
type: boolean | ||
additionalProperties: false | ||
examples: | ||
Example: | ||
value: | ||
vectorStore: true | ||
scoreDetails: false | ||
metrics: false | ||
exportPuffinReports: false | ||
responses: | ||
'200': | ||
description: Ok | ||
|
@@ -4450,16 +4472,20 @@ paths: | |
properties: | ||
vectorStore: | ||
type: boolean | ||
scoreDetails: | ||
metrics: | ||
type: boolean | ||
exportPuffinReports: | ||
type: boolean | ||
required: | ||
- vectorStore | ||
- scoreDetails | ||
- metrics | ||
- exportPuffinReports | ||
examples: | ||
Updated status of the feature: | ||
value: | ||
vectorStore: true | ||
scoreDetails: false | ||
metrics: false | ||
exportPuffinReports: false | ||
'401': | ||
$ref: '#/components/responses/401' | ||
/metrics: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters