You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/10_Playground/1_intro.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@
3
3
The Atlas Search Playground (or just Playground) is used for the exercises in this workshop. The Playground is a self-contained lightweight, yet feature-rich Atlas Search environment which does not require an Atlas account to use.
4
4
5
5
There are two tools in the Playground:
6
-
* Code Sandbox: your data, an index configuration, an aggregation pipeline, and results
7
-
* Search Demo Builder: a configurable search UI on your data
6
+
*`Code Sandbox`: your data, an index configuration, an aggregation pipeline, and results
7
+
*`Search Demo Builder`: a configurable search UI on your data
8
8
9
-
The exercises will use the Code Sandbox, as it allows saving and sharing links to the full environment and corresponds directly to the configuration and pipeline one would use in a real application.
9
+
The exercises will use the Code Sandbox, as it allows saving and sharing links to the full environment and allows us to work on one topic at a time.
10
10
11
11
## Code Sandbox layout
12
12
13
-
To begin, please navigate to the [Atlas Search Playground](https://search-playground.mongodb.com/). In the next section, you'll work through the first exercise to get familiar with the Playground's Code Sandbox.
13
+
To begin, navigate to the [Atlas Search Playground](https://search-playground.mongodb.com/). In the next section, you'll work through the first exercise to get familiar with the Playground's Code Sandbox.
14
14
15
15
Let's dive into the world of Atlas Search using this convenient and powerful playground!
Copy file name to clipboardExpand all lines: docs/10_Playground/2_lets_go.mdx
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# 👐 Our first playground exercise
2
2
3
+
Here's a gentle first exercise to get you started with the playground. You'll see an index configuration and an aggregation pipeline stage that hasn't been introduced yet, but no worries -
4
+
we'll get there next. See if you can solve it with what you already know or expect.
Last 4 digit of phone number matching (regex extraction during indexing, keyword analysis at query time): https://search-playground.corp.mongodb.com/tools/code-playground/snapshots/669e6c98d49ef6fad98118ba
38
38
Example of being able to do ‘startsWith’ and ‘endsWith’ using wildcard and ‘reverse’ token filter:
Example of being able to do ‘startsWith’, ‘endsWith’ and ‘contains’ using nGrams: https://search-playground.corp.mongodb.com/tools/code-playground/snapshots/6683c999934a05d9b585b6e7
41
+
Example of being able to do ‘startsWith’, ‘endsWith’ and ‘contains’ using nGrams: https://search-playground.mongodb.com/tools/code-playground/snapshots/6683c999934a05d9b585b6e7
42
42
Relevancy
43
43
Example of an as-you-type suggest configuration; sophisticated use of multi and several weighted query clauses: https://search-playground.mongodb.com/tools/code-playground/snapshots/66473b744e0a3f240a5de9e1
44
44
$project score?
@@ -49,5 +49,5 @@ Why?
49
49
Relevancy example: boost each multi uniquely
50
50
Multiple language example: may not know the language of the content and each document could be different - multi across all possible languages, query across them as desired at query-time, let relevancy sort it out
51
51
Example of being able to do ‘startsWith’ and ‘endsWith’ using wildcard and ‘reverse’ token filter:
0 commit comments