Skip to content

Commit 8e7993f

Browse files
committed
fix expired relevancy playgrounds, doh
1 parent 3743726 commit 8e7993f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/60_Relevancy/8_Exercises.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
Fix this Playground so that the `score` being projected is the relevancy score Atlas Search uses for default sorting.
66

7-
<Playground url="https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/679cb3c3d0df60f0254e5d68">score not projected</Playground>
7+
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/67d2ef3c808223b17a90bd7a">score not projected</Playground>
88
<details>
99
<summary>Solution</summary>
1010
<div>
1111
The score is available in the pipeline `$meta` context as `searchScore`.
1212
```js
1313
{"$meta": "searchScore"}
1414
```
15-
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cb49ce97570c2714a0811">solution</Playground>
15+
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/67d2ef7e643f61797f19d33e">solution</Playground>
1616
</div>
1717
</details>
1818

1919

2020
## project the score details
2121

22-
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc215e97570c2714a081d">add the score details into the results</Playground>
22+
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/67d2ee9b643f61797f19d33c">add the score details into the results</Playground>
2323
<details>
2424
<summary>Solution</summary>
2525
<div>
@@ -34,13 +34,13 @@ Fix this Playground so that the `score` being projected is the relevancy score A
3434
"$meta": "searchScoreDetails"
3535
}
3636
```
37-
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc1b2d0df60f0254e5d85">solution</Playground>
37+
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/67d2eec2808223b17a90bd78">solution</Playground>
3838
</div>
3939
</details>
4040

4141
## score/sort by the `weight` field
4242

43-
<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cb652e97570c2714a0813">task: set the search (relevance) score to the value of our custom `weight` field</Playground>
43+
<Playground url="https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/67d2eddb643f61797f19d33a">task: set the search (relevance) score to the value of our custom `weight` field</Playground>
4444
<details>
4545
<summary>Solution</summary>
4646
<div>

0 commit comments

Comments
 (0)