Skip to content

Commit

Permalink
Merge pull request #36 from Meg528/patch-9
Browse files Browse the repository at this point in the history
Update 3-test-search.mdx
  • Loading branch information
sis0k0 authored Sep 18, 2024
2 parents 93b436d + ce611ea commit b76cf05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/2-search/3-test-search.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 👐 Testing the Search index
# 👐 Testing the Search Index

Now that you have a search index, you can test it out.

Expand All @@ -14,14 +14,14 @@ By using the **Query** button above, you will open the **Search Tester**. In the
cooking
```

and look at the results you get.
Look at the results you get.

<Screenshot src="img/screenshots/2-search/3-test-search/2-search-tester.png" alt="The Search Tester" url="https://cloud.mongodb.com" />

You can see that you get a list of books back including:
* Pennsylvania Dutch _Cooking_: A Mennonite Community Cookbook
* Pennsylvania Dutch _Cooking_: A Mennonite Community Cookbook.
* Semi-Homemade _Cooking_: Quick, Marvelous Meals and Nothing is Made from…
* Cookin' Cajun _Cooking_ School Cookbook - Creole and Cajun Cuisine from
* Cookin' Cajun _Cooking_ School Cookbook - Creole and Cajun Cuisine from…

All those results match the word _cooking_. Notice how capitalization doesn't matter. Neither does the placement of the word in the title. The search index is smart enough to find the word _cooking_ in all those titles.

Expand Down Expand Up @@ -64,4 +64,4 @@ You can find more information about how to construct a query path in the [Search
</div>
</details>

You will see the same results, but ordered differently. This has to do with relevancy, but we'll cover that in a later section.
You will see the same results but ordered differently. This has to do with relevancy, but we'll cover that in a later section.

0 comments on commit b76cf05

Please sign in to comment.