diff --git a/Advanced-showcases.md b/Advanced showcases.md similarity index 100% rename from Advanced-showcases.md rename to Advanced showcases.md diff --git a/Apache-proxy-setup.md b/Apache proxy setup.md similarity index 100% rename from Apache-proxy-setup.md rename to Apache proxy setup.md diff --git a/Archived-notes.md b/Archived notes.md similarity index 100% rename from Archived-notes.md rename to Archived notes.md diff --git a/Attribute-inheritance.md b/Attribute inheritance.md similarity index 100% rename from Attribute-inheritance.md rename to Attribute inheritance.md diff --git a/Book-note.md b/Book note.md similarity index 100% rename from Book-note.md rename to Book note.md diff --git a/Code-notes.md b/Code notes.md similarity index 100% rename from Code-notes.md rename to Code notes.md diff --git a/Custom-Widget.md b/Custom Widget.md similarity index 100% rename from Custom-Widget.md rename to Custom Widget.md diff --git a/Custom-request-handler.md b/Custom request handler.md similarity index 100% rename from Custom-request-handler.md rename to Custom request handler.md diff --git a/Data-directory.md b/Data directory.md similarity index 100% rename from Data-directory.md rename to Data directory.md diff --git a/Day-notes.md b/Day notes.md similarity index 100% rename from Day-notes.md rename to Day notes.md diff --git a/Docker-server-installation.md b/Docker server installation.md similarity index 100% rename from Docker-server-installation.md rename to Docker server installation.md diff --git a/Evernote-import.md b/Evernote import.md similarity index 100% rename from Evernote-import.md rename to Evernote import.md diff --git a/Link-map.md b/Link map.md similarity index 100% rename from Link-map.md rename to Link map.md diff --git a/Manual-server-installation.md b/Manual server installation.md similarity index 100% rename from Manual-server-installation.md rename to Manual server installation.md diff --git a/Mobile-frontend.md b/Mobile frontend.md similarity index 100% rename from Mobile-frontend.md rename to Mobile frontend.md diff --git a/Note-hoisting.md b/Note hoisting.md similarity index 100% rename from Note-hoisting.md rename to Note hoisting.md diff --git a/Note-navigation.md b/Note navigation.md similarity index 100% rename from Note-navigation.md rename to Note navigation.md diff --git a/Note-revisions.md b/Note revisions.md similarity index 100% rename from Note-revisions.md rename to Note revisions.md diff --git a/Packaged-server-installation.md b/Packaged server installation.md similarity index 100% rename from Packaged-server-installation.md rename to Packaged server installation.md diff --git a/Promoted-attributes.md b/Promoted attributes.md similarity index 100% rename from Promoted-attributes.md rename to Promoted attributes.md diff --git a/Protected-notes.md b/Protected notes.md similarity index 100% rename from Protected-notes.md rename to Protected notes.md diff --git a/Read-only-note.md b/Read only note.md similarity index 100% rename from Read-only-note.md rename to Read only note.md diff --git a/Saved search.md b/Saved search.md new file mode 100644 index 0000000..ef39b2c --- /dev/null +++ b/Saved search.md @@ -0,0 +1,9 @@ +Trilium provides a way to save common search as a note in the note tree. Search results will then appear as subnotes of this "saved search" note. You can see how this works in action: + +[[gifs/saved-search.gif]] + +### Saved search with script relation + +If saved search string starts with `=`, then the following string is taken as a relation name and the target script is executed to get the list of note results. + +So let's say the search string is `=handler`, then Trilium tries to find this saved note's relation with name "handler". Relation is expected to point to [[script|scripts]] which is then executed - script is expected to return a list of notes which should be presented as search results. This option exists for use cases where normal attribute/fulltext search doesn't cover all needs. \ No newline at end of file diff --git a/Screenshot-tour.md b/Screenshot tour.md similarity index 100% rename from Screenshot-tour.md rename to Screenshot tour.md diff --git a/Search.md b/Search.md index dab5ed6..aee8003 100644 --- a/Search.md +++ b/Search.md @@ -2,9 +2,7 @@ Trilium supports searching in notes. There are several ways to search notes: * local search - searches within currently displayed note. Press `CTRL-F` to open the search dialog. In server version this is handled by the browser, in desktop (electron) version there's a separate dialog. -* full text search - search in text and [[code note|code notes]] content. Since this is implemented as a database search, this works only for not protected notes (doesn't matter if you're in protected session or not) - -* [[attribute|Attributes]] search - you can e.g. search for notes having certain label - see *Attribute query syntax* below. +* note search - you can find notes by search for text in the title, note's content or note's [attributes]. You can also [[save search|saved search]]. * you can save search string (composed of either fulltext or attribute search) into so-called "saved search" note. If you expand this note, you will see the search results as child notes. * saved search can also reference [[script|scripts]] through relation - upon expanding, the script will provide a list of results @@ -89,17 +87,6 @@ Using this you can create queries like: * `@dateModified>=NOW-3600` - show me notes changed in the last hour * `@dateCreated=*TODAY-1` - show me notes created during whole yesterday -## Saved search - -Trilium provides a way to save common search as a note in the note tree. Search results will then appear as subnotes of this "saved search" note. You can see how this works in action: - -[[gifs/saved-search.gif]] - -### Saved search with script relation - -If saved search string starts with `=`, then the following string is taken as a relation name and the target script is executed to get the list of note results. - -So let's say the search string is `=handler`, then Trilium tries to find this saved note's relation with name "handler". Relation is expected to point to [[script|scripts]] which is then executed - script is expected to return a list of notes which should be presented as search results. This option exists for use cases where normal attribute/fulltext search doesn't cover all needs. ## Auto trigger search from URL diff --git a/Server-installation.md b/Server installation.md similarity index 100% rename from Server-installation.md rename to Server installation.md diff --git a/Task-manager.md b/Task manager.md similarity index 100% rename from Task-manager.md rename to Task manager.md diff --git a/Text-editor.md b/Text editor.md similarity index 100% rename from Text-editor.md rename to Text editor.md diff --git a/Text-notes.md b/Text notes.md similarity index 100% rename from Text-notes.md rename to Text notes.md diff --git a/Tree-concepts.md b/Tree concepts.md similarity index 100% rename from Tree-concepts.md rename to Tree concepts.md diff --git a/Tree-manipulation.md b/Tree manipulation.md similarity index 100% rename from Tree-manipulation.md rename to Tree manipulation.md diff --git a/Upgrading-Trilium.md b/Upgrading Trilium.md similarity index 100% rename from Upgrading-Trilium.md rename to Upgrading Trilium.md diff --git a/Web-clipper.md b/Web clipper.md similarity index 100% rename from Web-clipper.md rename to Web clipper.md diff --git a/Weight-tracker.md b/Weight tracker.md similarity index 100% rename from Weight-tracker.md rename to Weight tracker.md