Skip to content

Commit 59842a6

Browse files
committed
checkpoint before review
1 parent 7a02706 commit 59842a6

File tree

4 files changed

+43
-3
lines changed

4 files changed

+43
-3
lines changed

docs/40_Analysis/1_index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ flowchart TD
88
style BB fill:#00C853, color:#FFFFFF
99
```
1010

11+
12+
1113
Terminology: analysis, tokenization, tokens, terms
1214

1315
* Diagrams of tokens that are generated from various analyzers

docs/60_Relevancy/8_Exercises.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ Fix this Playground so that the `score` being projected is the relevancy score A
88

99
## project the score details
1010

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>)
11+
* <Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc215e97570c2714a081d">task: add the score details into the results</Playground>
12+
13+
14+
(<Playground url="https://search-playground.mongodb.com/tools/code-sandbox/snapshots/679cc1b2d0df60f0254e5d85">solution</Playground>)
1215

1316
## score/sort by the `weight` field
1417
* <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>)

docs/70_Data_Modeling/1_index.mdx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,21 @@ This is much like the Single Collection Pattern (TODO: link)
3636

3737
`<etc>`: any other useful fields needed for sorting, matching, filtering, ranking, or display
3838

39-
* Tips: `$merge` can be your good friend!
39+
* Tips: `$merge` can be your good friend!
40+
41+
42+
```
43+
{
44+
"mappings": {
45+
"dynamic": false,
46+
"fields": {
47+
"metadata": [
48+
{
49+
"type": "document",
50+
"dynamic": true
51+
}
52+
]
53+
}
54+
}
55+
}
56+
```

docs/90_Summary.mdx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,22 @@ https://search-playground.corp.mongodb.com/tools/code-playground/snapshots/669e8
2626
https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/6797f2b4e68ae0bae860ea80
2727

2828
### Highlighting
29-
* https://search-playground.mongodb.com/tools/code-sandbox/snapshots/6785d30eb6487c1cfd0bb817
29+
* https://search-playground.mongodb.com/tools/code-sandbox/snapshots/6785d30eb6487c1cfd0bb817
30+
31+
32+
```mermaid
33+
sequenceDiagram
34+
ST->>LT: lowercase
35+
```
36+
37+
```mermaid
38+
classDiagram
39+
class Entity{
40+
+String _id
41+
+String type
42+
+String name
43+
}
44+
45+
Entity <|-- Cast
46+
Cast: type cast
47+
```

0 commit comments

Comments
 (0)