Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Merge remote-tracking branch 'origin/develop' into calendar
Elian Doran32a6aed93bc0
diff --cc docs/User Guide/!!!meta.jsonindex fe08afb95f,b6647c8bd3..0ea953d4c6--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@@ -1,6 -1,6 +1,6 @@@{"formatVersion": 2,-- "appVersion": "0.92.6",++ "appVersion": "0.92.7","files": [{"isClone": false,@@@ -3152,65 -3511,151 +3511,151 @@@"position": 20},{-- "type": "label",-- "name": "shareAlias",-- "value": "search",- "isInheritable": false,- "position": 20- },- {- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",++ "type": "relation",++ "name": "internalLink",++ "value": "OR8WJ7Iz9K4U","isInheritable": false,- "position": 20+ "position": 30},{- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",+ "type": "relation",+ "name": "internalLink",- "value": "xYmIYSP6wE3F",++ "value": "wX4HbRucYSDD","isInheritable": false,- "position": 30- }- ],- "format": "markdown",- "dataFileName": "Search.md",- "attachments": []- },- {- "isClone": false,- "noteId": "u3YFHC9tQlpm",- "notePath": [- "pOsGYCXsbNQG",- "gh7bpGYxajRS",- "wArbEsdSae6g",- "u3YFHC9tQlpm"- ],- "title": "Bookmarks",- "notePosition": 70,- "prefix": null,- "isExpanded": false,- "type": "text",- "mime": "text/markdown",- "attributes": [+ "position": 40+ },{- "type": "label",- "name": "shareAlias",- "value": "bookmarks",+ "type": "relation",+ "name": "internalLink",- "value": "YtSN43OrfzaA",++ "value": "ivYnonVFBxbQ","isInheritable": false,- "position": 20+ "position": 50},{- "type": "label",- "name": "iconClass",- "value": "bx bx-bookmarks",+ "type": "relation",+ "name": "internalLink",- "value": "OR8WJ7Iz9K4U",++ "value": "xYmIYSP6wE3F","isInheritable": false,- "position": 30- }- ],- "format": "markdown",- "dataFileName": "Bookmarks.md",- "attachments": [- {- "attachmentId": "99dD0P74W8QJ",- "title": "bookmark-folder.png",- "role": "image",- "mime": "image/png",- "position": 10,- "dataFileName": "Bookmarks_bookmark-folder.png"+ "position": 60+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "9sRHySam5fXb",++ "value": "YtSN43OrfzaA",+ "isInheritable": false,+ "position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "m523cpzocqaD",++ "value": "9sRHySam5fXb",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "wX4HbRucYSDD",++ "value": "m523cpzocqaD",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "6f9hih2hXXZk",+ "isInheritable": false,+ "position": 100+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "MKmLg5x6xkor",+ "isInheritable": false,+ "position": 110+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "qzNzp9LYQyPT",+ "isInheritable": false,+ "position": 120+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "ivYnonVFBxbQ",++ "value": "oPVyFC7WL2Lp",+ "isInheritable": false,+ "position": 130+ },+ {- "type": "relation",- "name": "internalLink",- "value": "oPVyFC7WL2Lp",++ "type": "label",++ "name": "shareAlias",++ "value": "search",+ "isInheritable": false,- "position": 140++ "position": 20++ },++ {++ "type": "label",++ "name": "iconClass",++ "value": "bx bx-search-alt-2",++ "isInheritable": false,++ "position": 30+ }+ ],+ "format": "markdown",+ "dataFileName": "Search.md",+ "attachments": [+ {+ "attachmentId": "WkhcA4FN7sGX",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Search_image.png"+ }+ ]+ },+ {+ "isClone": false,+ "noteId": "u3YFHC9tQlpm",+ "notePath": [+ "pOsGYCXsbNQG",+ "gh7bpGYxajRS",+ "wArbEsdSae6g",+ "u3YFHC9tQlpm"+ ],+ "title": "Bookmarks",+ "notePosition": 70,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/markdown",+ "attributes": [+ {+ "type": "label",+ "name": "shareAlias",+ "value": "bookmarks",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bookmarks",+ "isInheritable": false,+ "position": 30+ }+ ],+ "format": "markdown",+ "dataFileName": "Bookmarks.md",+ "attachments": [+ {+ "attachmentId": "99dD0P74W8QJ",+ "title": "bookmark-folder.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Bookmarks_bookmark-folder.png"},{"attachmentId": "9dX71aLlSl9R",@@@ -3382,6 -3834,71 +3834,71 @@@"dataFileName": "Similar Notes_image.png"}]+ },+ {+ "isClone": false,+ "noteId": "McngOG2jbUWX",+ "notePath": [+ "pOsGYCXsbNQG",+ "gh7bpGYxajRS",+ "wArbEsdSae6g",+ "McngOG2jbUWX"+ ],+ "title": "Search in note",+ "notePosition": 110,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/html",+ "attributes": [+ {- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",++ "type": "relation",++ "name": "internalLink",++ "value": "MI26XDLSAlCD",+ "isInheritable": false,+ "position": 10+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "8YBEPzcpUgxw",++ "value": "iPIMuisry3hd",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "6f9hih2hXXZk",+ "isInheritable": false,+ "position": 30+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "iPIMuisry3hd",++ "value": "8YBEPzcpUgxw",+ "isInheritable": false,+ "position": 40+ },+ {- "type": "relation",- "name": "internalLink",- "value": "MI26XDLSAlCD",++ "type": "label",++ "name": "iconClass",++ "value": "bx bx-search-alt-2",+ "isInheritable": false,- "position": 50++ "position": 10+ }+ ],+ "format": "markdown",+ "dataFileName": "Search in note.md",+ "attachments": [+ {+ "attachmentId": "vEq0g2DHEh3O",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Search in note_image.png"+ }+ ]}]},diff --cc src/public/app/doc_notes/en/User Guide/!!!meta.jsonindex 356b29b429,1fdde0cea1..506526e7b9--- a/src/public/app/doc_notes/en/User Guide/!!!meta.json+++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json@@@ -1,6 -1,6 +1,6 @@@{"formatVersion": 2,-- "appVersion": "0.92.6",++ "appVersion": "0.92.7","files": [{"isClone": false,@@@ -3152,65 -3511,151 +3511,151 @@@"position": 20},{-- "type": "label",-- "name": "shareAlias",-- "value": "search",- "isInheritable": false,- "position": 20- },- {- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",++ "type": "relation",++ "name": "internalLink",++ "value": "OR8WJ7Iz9K4U","isInheritable": false,- "position": 20+ "position": 30},{- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",+ "type": "relation",+ "name": "internalLink",- "value": "xYmIYSP6wE3F",++ "value": "wX4HbRucYSDD","isInheritable": false,- "position": 30- }- ],- "format": "html",- "dataFileName": "Search.html",- "attachments": []- },- {- "isClone": false,- "noteId": "u3YFHC9tQlpm",- "notePath": [- "pOsGYCXsbNQG",- "gh7bpGYxajRS",- "wArbEsdSae6g",- "u3YFHC9tQlpm"- ],- "title": "Bookmarks",- "notePosition": 70,- "prefix": null,- "isExpanded": false,- "type": "text",- "mime": "text/markdown",- "attributes": [+ "position": 40+ },{- "type": "label",- "name": "shareAlias",- "value": "bookmarks",+ "type": "relation",+ "name": "internalLink",- "value": "YtSN43OrfzaA",++ "value": "ivYnonVFBxbQ","isInheritable": false,- "position": 20+ "position": 50},{- "type": "label",- "name": "iconClass",- "value": "bx bx-bookmarks",+ "type": "relation",+ "name": "internalLink",- "value": "OR8WJ7Iz9K4U",++ "value": "xYmIYSP6wE3F","isInheritable": false,- "position": 30- }- ],- "format": "html",- "dataFileName": "Bookmarks.html",- "attachments": [- {- "attachmentId": "99dD0P74W8QJ",- "title": "bookmark-folder.png",- "role": "image",- "mime": "image/png",- "position": 10,- "dataFileName": "Bookmarks_bookmark-folder.png"+ "position": 60+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "9sRHySam5fXb",++ "value": "YtSN43OrfzaA",+ "isInheritable": false,+ "position": 70+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "m523cpzocqaD",++ "value": "9sRHySam5fXb",+ "isInheritable": false,+ "position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "wX4HbRucYSDD",++ "value": "m523cpzocqaD",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "6f9hih2hXXZk",+ "isInheritable": false,+ "position": 100+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "MKmLg5x6xkor",+ "isInheritable": false,+ "position": 110+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "qzNzp9LYQyPT",+ "isInheritable": false,+ "position": 120+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "ivYnonVFBxbQ",++ "value": "oPVyFC7WL2Lp",+ "isInheritable": false,+ "position": 130+ },+ {- "type": "relation",- "name": "internalLink",- "value": "oPVyFC7WL2Lp",++ "type": "label",++ "name": "shareAlias",++ "value": "search",+ "isInheritable": false,- "position": 140++ "position": 20++ },++ {++ "type": "label",++ "name": "iconClass",++ "value": "bx bx-search-alt-2",++ "isInheritable": false,++ "position": 30+ }+ ],+ "format": "html",+ "dataFileName": "Search.html",+ "attachments": [+ {+ "attachmentId": "WkhcA4FN7sGX",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Search_image.png"+ }+ ]+ },+ {+ "isClone": false,+ "noteId": "u3YFHC9tQlpm",+ "notePath": [+ "pOsGYCXsbNQG",+ "gh7bpGYxajRS",+ "wArbEsdSae6g",+ "u3YFHC9tQlpm"+ ],+ "title": "Bookmarks",+ "notePosition": 70,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/markdown",+ "attributes": [+ {+ "type": "label",+ "name": "shareAlias",+ "value": "bookmarks",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bookmarks",+ "isInheritable": false,+ "position": 30+ }+ ],+ "format": "html",+ "dataFileName": "Bookmarks.html",+ "attachments": [+ {+ "attachmentId": "99dD0P74W8QJ",+ "title": "bookmark-folder.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Bookmarks_bookmark-folder.png"},{"attachmentId": "9dX71aLlSl9R",@@@ -3382,6 -3834,71 +3834,71 @@@"dataFileName": "Similar Notes_image.png"}]+ },+ {+ "isClone": false,+ "noteId": "McngOG2jbUWX",+ "notePath": [+ "pOsGYCXsbNQG",+ "gh7bpGYxajRS",+ "wArbEsdSae6g",+ "McngOG2jbUWX"+ ],+ "title": "Search in note",+ "notePosition": 110,+ "prefix": null,+ "isExpanded": false,+ "type": "text",+ "mime": "text/html",+ "attributes": [+ {- "type": "label",- "name": "iconClass",- "value": "bx bx-search-alt-2",++ "type": "relation",++ "name": "internalLink",++ "value": "MI26XDLSAlCD",+ "isInheritable": false,+ "position": 10+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "8YBEPzcpUgxw",++ "value": "iPIMuisry3hd",+ "isInheritable": false,+ "position": 20+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "6f9hih2hXXZk",+ "isInheritable": false,+ "position": 30+ },+ {+ "type": "relation",+ "name": "internalLink",- "value": "iPIMuisry3hd",++ "value": "8YBEPzcpUgxw",+ "isInheritable": false,+ "position": 40+ },+ {- "type": "relation",- "name": "internalLink",- "value": "MI26XDLSAlCD",++ "type": "label",++ "name": "iconClass",++ "value": "bx bx-search-alt-2",+ "isInheritable": false,- "position": 50++ "position": 10+ }+ ],+ "format": "html",+ "dataFileName": "Search in note.html",+ "attachments": [+ {+ "attachmentId": "vEq0g2DHEh3O",+ "title": "image.png",+ "role": "image",+ "mime": "image/png",+ "position": 10,+ "dataFileName": "Search in note_image.png"+ }+ ]}]},diff --cc src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.htmlindex 2b4b909ee0,935e6d0d71..6217170075--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.html@@@ -35,21 -35,14 +35,21 @@@<img src="Day Notes_image.png"></p><p>You can see the structure of day notes appearing under "Journal" note- - there's a note for the whole year 2017, under it, you have "12 - December"- which then contains "18 - Monday". This is our "day note" which contains+ - there's a note for the whole year 2025, under it, you have "03 - March"+ which then contains "09 - Monday". This is our "day note" which containssome text in its content and also has some child notes (some of them are- from <a href="Task%20Manager.html">Task manager</a>).</p>- <p>You can also notice how this day note has <a href="../Attributes/Promoted%20Attributes.html">promoted attribute</a> "weight"- where you can track your daily weight. This data is then used in <a href="Weight%20Tracker.html">Weight tracker</a>.</p>+ from <a href="#root/_help_xYjQUYhpbUEW">Task manager</a>).</p>+ <p>You can also notice how this day note has <a href="#root/_help_OFXdgB2nNk1F">promoted attribute</a> "weight"+ where you can track your daily weight. This data is then used in <a href="#root/_help_R7abl2fc6Mxi">Weight tracker</a>.</p>+ <h2>Week Note and Quarter Note</h2>+ <p>Week and quarter notes are disabled by default, since it might be too+ much for some people. To enable them, you need to set <code>#enableWeekNotes</code> and <code>#enableQuarterNotes</code> attributes+ on the root calendar note, which is identified by <code>#calendarRoot</code> label.+ Week note is affected by the first week of year option. Be careful when+ you already have some week notes created, it will not automatically change+ the existing week notes and might lead to some duplicates.</p><h2>Templates</h2>- <p>Trilium provides <a href="../Templates.html">template</a> functionality,+ <p>Trilium provides <a href="#root/_help_KC1HB96bqqHX">template</a> functionality,and it could be used together with day notes.</p><p>You can define one of the following relations on the root of the journal(identified by <code>#calendarRoot</code> label):</p>diff --cc src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.htmlindex 0000000000,5ad1117bda..e7c176de2bmode 000000,100644..100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search in note.html@@@ -1,0 -1,69 +1,68 @@@+ <html>++ <head>+ <meta charset="utf-8">+ <meta name="viewport" content="width=device-width, initial-scale=1">+ <link rel="stylesheet" href="../../../style.css">+ <base target="_parent">+ <title data-trilium-title>Search in note</title>+ </head>++ <body>+ <div class="content">+ <h1 data-trilium-h1>Search in note</h1>++ <div class="ck-content">+ <figure class="image image_resized" style="width:100%;">+ <img style="aspect-ratio:898/93;" src="Search in note_image.png" width="898"+ height="93">+ </figure>+ <p>Local search allows you to search within the currently displayed note. </p>+ <h2>Alternatives</h2>+ <ul>+ <li>Pressing Ctrl+F while in a browser while not focused in a <a class="reference-link"- href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a> or- a <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_6f9hih2hXXZk">Code</a> note- will trigger the browser's native search. This will also find text that- is part of Trilium's UI.</li>- <li>Pressing Ctrl+F in a <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a> note- will reveal <a class="reference-link" href="#root/pOsGYCXsbNQG/tC7s2alapj8V/1YeN2MzFUluU/_help_MI26XDLSAlCD">CKEditor</a>'s++ href="#root/_help_iPIMuisry3hd">Text</a> or a <a class="reference-link"++ href="#root/_help_6f9hih2hXXZk">Code</a> note will trigger the browser's++ native search. This will also find text that is part of Trilium's UI.</li>++ <li>Pressing Ctrl+F in a <a class="reference-link" href="#root/_help_iPIMuisry3hd">Text</a> note++ will reveal <a class="reference-link" href="#root/_help_MI26XDLSAlCD">CKEditor</a>'s+ search functionality.</li>+ </ul>+ <h2>Accessing the search</h2>+ <ul>+ <li>On desktop, press<kbd>Ctrl</kbd> + <kbd>F</kbd>+ </li>- <li>From the <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_8YBEPzcpUgxw">Note buttons</a>,++ <li>From the <a class="reference-link" href="#root/_help_8YBEPzcpUgxw">Note buttons</a>,+ look for the context menu and select <em>Search in note</em>.</li>+ </ul>+ <h2>Interaction</h2>+ <ul>+ <li>Finding:+ <ul>+ <li>Fill in the <em>Find in text…</em> with the text to search for.</li>+ <li>The search will be executed automatically in the background.</li>+ <li>Use up and down arrows of the text box to navigate between results.</li>+ </ul>+ </li>+ <li>Replacing:+ <ul>+ <li>Fill in the <em>Find in text</em>… field with the text to replace.</li>+ <li>Fill in the <em>Replace with…</em> field the text to replace it with.</li>+ <li>Press <em>Replace</em> to replace only the current result.</li>+ <li>Press <em>Replace all</em> to replace all of them at once.</li>+ </ul>+ </li>+ <li>Options:+ <ul>+ <li><em>Case sensitive</em> – the search will distinguish upper case characters+ from lower case (e.g. searching for Hello will not match <code>hello</code>).</li>+ <li><em>Match words</em> - the search will find only exact word matches (e.g.+ searching for <code>Java</code> will not match <code>JavaScript</code>).</li>+ </ul>+ </li>+ </ul>+ </div>+ </div>+ </body>++ </html>diff --cc src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.htmlindex 81c7e98e7e,8d02358afc..85c05ea0c2--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Search.html@@@ -13,19 -13,125 +13,124 @@@<h1 data-trilium-h1>Search</h1><div class="ck-content">- <h2>Local Search</h2>- <p>Local search allows you to search within the currently displayed note.- To initiate a local search, press <kbd>Ctrl</kbd> + <kbd>F</kbd>. If using- a web browser, this will be handled by the browser's native search functionality.- In the desktop (electron) version, a separate dialog will apear.</p>- <h2>Note Search</h2>+ <figure class="image">+ <img style="aspect-ratio:987/725;" src="Search_image.png" width="987"+ height="725">+ </figure><p>Note search enables you to find notes by searching for text in the title,- content, or <a href="../../Advanced%20Usage/Attributes.html">attributes</a> of- the notes. You also have the option to save your searches, which will create- a special search note which is visible on your navigation tree and contains- the search results as sub-items.</p>+ content, or <a href="#root/_help_zEY4DaJG4YT5">attributes</a> of the notes.+ You also have the option to save your searches, which will create a special+ search note which is visible on your navigation tree and contains the search+ results as sub-items.</p>+ <h2>Accessing the search</h2>+ <ul>- <li>From the <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_xYmIYSP6wE3F">Launch Bar</a>,++ <li>From the <a class="reference-link" href="#root/_help_xYmIYSP6wE3F">Launch Bar</a>,+ look for the dedicated search button.</li>+ <li>To limit the search to a note and its children, select <em>Search from subtree</em> from- the <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/oPVyFC7WL2Lp/_help_YtSN43OrfzaA">Note tree contextual menu</a> or++ the <a class="reference-link" href="#root/_help_YtSN43OrfzaA">Note tree contextual menu</a> or+ press <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd>.</li>+ </ul>+ <h2>Interaction</h2><p>To search for notes, click on the magnifying glass icon on the toolbar- or press the <kbd>Ctrl</kbd> + <kbd>S</kbd> keyboard <a href="../Keyboard%20Shortcuts.html">shortcut</a>.</p>+ or press the keyboard <a href="#root/_help_A9Oc6YKKc65v">shortcut</a>.</p>+ <ol>+ <li>Set the text to search for in the <em>Search string</em> field.+ <ol>+ <li>Apart from searching for words ad-literam, there is also the possibility+ to search for attributes or properties of notes.</li>+ <li>See the examples below for more information.</li>+ </ol>+ </li>+ <li>To limit the search to a note and its sub-children, set a note in <em>Ancestor</em>.+ <ol>- <li>This value is also pre-filled if the search is triggered from a <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_OR8WJ7Iz9K4U">hoisted note</a> or- a <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_9sRHySam5fXb">workspace</a>.</li>++ <li>This value is also pre-filled if the search is triggered from a <a href="#root/_help_OR8WJ7Iz9K4U">hoisted note</a> or++ a <a href="#root/_help_9sRHySam5fXb">workspace</a>.</li>+ <li>To search the entire database, keep the value empty.</li>+ </ol>+ </li>+ <li>To limit the search to only a few levels of hierarchy (e.g. look in sub-children+ but not in sub-sub-children of a note), set the <em>depth</em> field to one+ of the provided values.</li>+ <li>In addition to that, the search can be configured via the <em>Add search options</em> buttons,+ as described in the follow-up section.</li>+ <li>Press <em>Search</em> to trigger the search. The results are displayed below+ the search configuration pane.</li>+ <li>The <em>Search & Execute actions</em> button is only relevant if at+ least one action has been added (as described in the section below).</li>+ <li>The <em>Save to note</em> will create a new note with the search configuration.- For more information, see <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_m523cpzocqaD">Saved Search</a>.</li>++ For more information, see <a class="reference-link" href="#root/_help_m523cpzocqaD">Saved Search</a>.</li>+ </ol>+ <h2>Search options</h2>+ <p>Click on which search option to apply from the Add search option section.</p>+ <ul>+ <li>For each search option selected, the search configuration will update+ to reveal the entry. Each search option will have its own configuration.</li>+ <li>To remove a search option, simply press the X button to the right of it.</li>+ </ul>+ <p>The options available are:</p>+ <ol>+ <li>Search script+ <ol>- <li>This feature allows writing a <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_6f9hih2hXXZk">Code</a> note++ <li>This feature allows writing a <a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a> note+ that will handle the search on its own.</li>+ </ol>+ </li>+ <li>Fast search+ <ol>+ <li>The search will not look into the content of the notes, but it will still+ look into note titles and attributes, relations (based on the search query).</li>- <li>This method can speed up the search considerably for large <a href="#root/pOsGYCXsbNQG/tC7s2alapj8V/_help_wX4HbRucYSDD">databases</a>.</li>++ <li>This method can speed up the search considerably for large <a href="#root/_help_wX4HbRucYSDD">databases</a>.</li>+ </ol>+ </li>+ <li>Include archived+ <ol>- <li><a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_MKmLg5x6xkor">Archived Notes</a> will++ <li><a class="reference-link" href="#root/_help_MKmLg5x6xkor">Archived Notes</a> will+ also be included in the results, whereas otherwise they would be ignored.</li>+ </ol>+ </li>+ <li>Order by+ <ol>+ <li>Allows changing the criteria for ordering the results, for example to+ order by creation date or alphabetically instead of by relevancy (default).</li>+ <li>It's also possible to change the order (ascending or descending) of the+ results.</li>+ </ol>+ </li>+ <li>Limit+ <ol>+ <li>Limits the results to a given maximum.</li>+ <li>This can help if the number of results would otherwise be high, at the+ cost of not being able to view all the results.</li>+ </ol>+ </li>+ <li>Debug+ <ol>+ <li>This will print additional information in the server log (see + <a- class="reference-link" href="#root/pOsGYCXsbNQG/BgmBlOIl72jZ/_help_qzNzp9LYQyPT">Error logs</a>), regarding how the search expression was parsed.</li>++ class="reference-link" href="#root/_help_qzNzp9LYQyPT">Error logs</a>), regarding how the search expression was parsed.</li>+ <li>This function is especially useful after understanding the search functionality+ in detail, in order to determine why a complex search query is not working+ as expected.</li>+ </ol>+ </li>+ <li>Action+ <ol>+ <li>Apart from just searching, it is also possible to apply actions such as+ to add a label or a relation to the notes that have been matched by the+ search.</li>+ <li>Unlike other search configurations, here it's possible to apply the same+ action multiple times (i.e. in order to be able to apply multiple labels+ to notes).</li>+ <li>The actions given are the same as the ones in <a class="reference-link"- href="#root/pOsGYCXsbNQG/tC7s2alapj8V/_help_ivYnonVFBxbQ">Bulk Actions</a>,- which is an alternative for operating directly with notes within the - <a- class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_oPVyFC7WL2Lp">Note Tree</a>.</li>++ href="#root/_help_ivYnonVFBxbQ">Bulk Actions</a>, which is an alternative++ for operating directly with notes within the <a class="reference-link"++ href="#root/_help_oPVyFC7WL2Lp">Note Tree</a>.</li>+ <li>After defining the actions, first press <em>Search</em> to check the matched+ notes and then press <em>Search & Execute actions</em> to trigger the+ actions.</li>+ </ol>+ </li>+ </ol><h3>Simple Note Search Examples</h3><ul><li><code>rings tolkien</code>: Full-text search to find notes containing