From 938346659c480036b2bd16ded060c959f035ddac Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Tue, 21 Jan 2025 07:31:12 -0500 Subject: [PATCH] checkpoint --- docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx | 8 ++++++++ docs/30_Index_configuration/2_basic_types.mdx | 4 ++++ docs/40_Analysis/2_language.mdx | 4 ++++ 3 files changed, 16 insertions(+) create mode 100644 docs/40_Analysis/2_language.mdx diff --git a/docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx b/docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx index 65bb981..28df2d1 100644 --- a/docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx +++ b/docs/20_Intro_to_Atlas_Search/2_aggregation_stages.mdx @@ -66,6 +66,14 @@ accessible in the $$SEARCH_META context variable. + IMPORTANT: Always specify the `index` parameter. Otherwise it uses `default`(?) and if there's no + index by that name, you get `[]` not an error. The Playground only has a `default` index. + (and you get an error if you use any other name); be explicit. + + "Yes I double checked that the index name matches." (forum user that has been bitten before) + - https://www.mongodb.com/community/forums/t/no-documents-retrieved-using-dynamic-false/310123 + + ## Post $search-stages * Such as $sort, $group, etc any stage that consumes **all** documents from previous stage. diff --git a/docs/30_Index_configuration/2_basic_types.mdx b/docs/30_Index_configuration/2_basic_types.mdx index 34c2040..5233fcc 100644 --- a/docs/30_Index_configuration/2_basic_types.mdx +++ b/docs/30_Index_configuration/2_basic_types.mdx @@ -56,3 +56,7 @@ Why doesn't this playground match as expected? ``` + +IMPORTANT: Type matters. This detail can make or break your pipeline: + e.g. https://www.mongodb.com/community/forums/t/no-documents-retrieved-using-dynamic-false/310123/3 + \ No newline at end of file diff --git a/docs/40_Analysis/2_language.mdx b/docs/40_Analysis/2_language.mdx new file mode 100644 index 0000000..045e5e5 --- /dev/null +++ b/docs/40_Analysis/2_language.mdx @@ -0,0 +1,4 @@ +# Language + +你好!Bom dia! Hola! +