Skip to content

Build your personal knowledge base with Trilium Notes

docs(search): clarify which search terms pre-fill the find bar (#11787)

Elian Doran2b7699a8e5f6
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
index 5f52288da2..b2b7b951d6 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html
@@ -251,8 +251,11 @@
(stored in the <code>searchResultsPageSize</code> option), so you do not
have to reset it on every device.</li>
<li><strong>Clicking a result</strong> opens the note and jumps straight to
- the first match. The in-note find bar opens pre-filled with your search
- terms, so you can step through the remaining matches with the find controls.</li>
+ the first match. The in-note find bar opens pre-filled with the first word
+ of your search, so you can step through its matches with the find controls.
+ To have the find bar look for a whole phrase instead, put the phrase in
+ quotes in the search, e.g. <code>"The Lord of the Rings"</code>. In read-only
+ notes, the other words of the search are highlighted as well.</li>
<li>If a match is inside a <strong>collapsed section</strong> (for example a
folded heading), that section is expanded automatically so the match is
visible.</li>
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
index abdca5d65d..daedcaaee2 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.md
@@ -135,7 +135,7 @@ In addition: 
* The **total number of results** is always shown, so you can immediately tell how broad a query is.
* A **page-size selector** lets you choose how many results to display per page. Your choice is remembered and synced across your devices (stored in the `searchResultsPageSize` option), so you do not have to reset it on every device.
-* **Clicking a result** opens the note and jumps straight to the first match. The in-note find bar opens pre-filled with your search terms, so you can step through the remaining matches with the find controls.
+* **Clicking a result** opens the note and jumps straight to the first match. The in-note find bar opens pre-filled with the first word of your search, so you can step through its matches with the find controls. To have the find bar look for a whole phrase instead, put the phrase in quotes in the search, e.g. `"The Lord of the Rings"`. In read-only notes, the other words of the search are highlighted as well.
* If a match is inside a **collapsed section** (for example a folded heading), that section is expanded automatically so the match is visible.
## Simple Note Search Examples