Skip to content

Commit 4f9aa19

Browse files
committed
renumbering config sections and some content updates
1 parent 7c21a23 commit 4f9aa19

File tree

13 files changed

+20
-4
lines changed

13 files changed

+20
-4
lines changed

docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22

33
## $search
44

5-
where the magic happens
5+
Returns matching documents.
6+
7+
Search metadata (count and facets) are available via the $$SEARCH_META aggregation variable.
8+
Results are returned in descending **score** order or in an optional `sort` order.
69

710
## $searchMeta
811

12+
Returns a single document of search result metadata including count of matching documents
13+
and facets requested. No actual collection documents are returned.
14+
915
The `$searchMeta` stage performs the same search that `$search` does,
1016
but only returns the results metadata, not actual matching documents.
1117
Results metadata includes the count of matching results and facets.
1218
This same metadata is available when using `$search` too,
1319
accessible in the $$SEARCH_META context variable.
1420

21+
22+
1523
## Exercises: search pipeline stages
1624

1725
### Step 1

docs/30_Index_configuration/2_index_config.mdx renamed to docs/30_Index_configuration/1_index_config.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ such as fields of type `document`, to be dynamically mapped.
1717
* via Compass
1818
* Atlas CLI
1919
* Driver commands
20-
20+
21+
## Configuration options
22+
23+
* `storedSource`
24+
* `synonyms`

docs/30_Index_configuration/3_field_mapping.mdx renamed to docs/30_Index_configuration/2_basic_types.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Document fields are mapped to a search index based on their BSON data type.
44

5-
When `dynamic: "true"`, a field is indexed if its field type is supported.
5+
When `dynamic: "true"`, a field is indexed if its field type is supported.
66

77
When a field name is explicitly/statically mapped, it will be indexed if the field type also matches the
88
mapped type.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/40_Analysis/index.mdx renamed to docs/40_Analysis/1_index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ lucene.english: standard tokenization plus de-pluralization, stop word removal,
4747
lucene.keyword: Tokenizes text as a single term; suitable for wildcard or regex matching over entire value
4848
Many language-specific analyzers built-in: (lucene.)arabic, armenian, basque, bengali, brazilian, bulgarian, catalan, chinese, cjk, czech, danish, dutch, english, finnish, french, galician, german, greek, hindi, hungarian, indonesian, irish, italian, japanese, korean, kuromoji, latvian, lithuanian, morfologik, nori, norwegian, persian, polish, portuguese, romanian, russian, smartcn, sorani, spanish, swedish, thai, turkish, ukrainian
4949

50+
`searchAnalyzer` vs. `analyzer`
51+
File renamed without changes.
File renamed without changes.

docs/50_Operators/_category_.json renamed to docs/50_Querying/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "Operators",
2+
"label": "Search operators",
33
"link": {
44
"type": "generated-index"
55
}

0 commit comments

Comments
 (0)