Skip to content

Commit 4f89dff

Browse files
committed
fix typo on JSON
1 parent d2b2d30 commit 4f89dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/60_Relevancy/1_index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## Returning the score
1313

1414
The computed search score is available automatically through the `$meta` context. It can be
15-
added to documents using either `$addFields` or `$project` using `{"$meta", "searchScore"}`
15+
added to documents using either `$addFields` or `$project` using `{"$meta": "searchScore"}`
1616

1717
## Requesting score details
1818

@@ -23,6 +23,6 @@ Like the score, once it has been enabled the score details can be returned using
2323
`$project`.
2424

2525
* Enable the score details by setting `"scoreDetails": true` within `$search`
26-
* The score details are then available using `{"$meta", "searchScoreDetails"}`
26+
* The score details are then available using `{"$meta": "searchScoreDetails"}`
2727

2828
![relevancy example](/img/relevancy_example.png)

0 commit comments

Comments
 (0)