Skip to content

Commit 7a02706

Browse files
committed
Add one more relevancy exercise
1 parent 562265e commit 7a02706

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/60_Relevancy/8_Exercises.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Fix this Playground so that the `score` being projected is the relevancy score A
66

77
<Playground url="https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/679cb3c3d0df60f0254e5d68">score not projected</Playground> (<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cb49ce97570c2714a0811">solution</Playground>)
88

9+
## project the score details
10+
11+
* <Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc215e97570c2714a081d">task: add the score details into the results</Playground> (<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc1b2d0df60f0254e5d85">solution</Playground>)
12+
913
## score/sort by the `weight` field
1014
* <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> (<Playground url="https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/679cb6fdd0df60f0254e5d6a">solution</Playground>)
1115

0 commit comments

Comments
 (0)