From 07de4303c7ef0bf907edc66e89c378fe2fac936d Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 20 Aug 2020 15:55:20 +0200 Subject: [PATCH] changes --- Advanced-showcases.md => Advanced showcases.md | 0 Apache-proxy-setup.md => Apache proxy setup.md | 0 Archived-notes.md => Archived notes.md | 0 ...ute-inheritance.md => Attribute inheritance.md | 0 Book-note.md => Book note.md | 0 Code-notes.md => Code notes.md | 0 Custom-Widget.md => Custom Widget.md | 0 ...equest-handler.md => Custom request handler.md | 0 Data-directory.md => Data directory.md | 0 Day-notes.md => Day notes.md | 0 ...stallation.md => Docker server installation.md | 0 Evernote-import.md => Evernote import.md | 0 Link-map.md => Link map.md | 0 ...stallation.md => Manual server installation.md | 0 Mobile-frontend.md => Mobile frontend.md | 0 Note-hoisting.md => Note hoisting.md | 0 Note-navigation.md => Note navigation.md | 0 Note-revisions.md => Note revisions.md | 0 ...allation.md => Packaged server installation.md | 0 Promoted-attributes.md => Promoted attributes.md | 0 Protected-notes.md => Protected notes.md | 0 Read-only-note.md => Read only note.md | 0 Saved search.md | 9 +++++++++ Screenshot-tour.md => Screenshot tour.md | 0 Search.md | 15 +-------------- Server-installation.md => Server installation.md | 0 Task-manager.md => Task manager.md | 0 Text-editor.md => Text editor.md | 0 Text-notes.md => Text notes.md | 0 Tree-concepts.md => Tree concepts.md | 0 Tree-manipulation.md => Tree manipulation.md | 0 Upgrading-Trilium.md => Upgrading Trilium.md | 0 Web-clipper.md => Web clipper.md | 0 Weight-tracker.md => Weight tracker.md | 0 34 files changed, 10 insertions(+), 14 deletions(-) rename Advanced-showcases.md => Advanced showcases.md (100%) rename Apache-proxy-setup.md => Apache proxy setup.md (100%) rename Archived-notes.md => Archived notes.md (100%) rename Attribute-inheritance.md => Attribute inheritance.md (100%) rename Book-note.md => Book note.md (100%) rename Code-notes.md => Code notes.md (100%) rename Custom-Widget.md => Custom Widget.md (100%) rename Custom-request-handler.md => Custom request handler.md (100%) rename Data-directory.md => Data directory.md (100%) rename Day-notes.md => Day notes.md (100%) rename Docker-server-installation.md => Docker server installation.md (100%) rename Evernote-import.md => Evernote import.md (100%) rename Link-map.md => Link map.md (100%) rename Manual-server-installation.md => Manual server installation.md (100%) rename Mobile-frontend.md => Mobile frontend.md (100%) rename Note-hoisting.md => Note hoisting.md (100%) rename Note-navigation.md => Note navigation.md (100%) rename Note-revisions.md => Note revisions.md (100%) rename Packaged-server-installation.md => Packaged server installation.md (100%) rename Promoted-attributes.md => Promoted attributes.md (100%) rename Protected-notes.md => Protected notes.md (100%) rename Read-only-note.md => Read only note.md (100%) create mode 100644 Saved search.md rename Screenshot-tour.md => Screenshot tour.md (100%) rename Server-installation.md => Server installation.md (100%) rename Task-manager.md => Task manager.md (100%) rename Text-editor.md => Text editor.md (100%) rename Text-notes.md => Text notes.md (100%) rename Tree-concepts.md => Tree concepts.md (100%) rename Tree-manipulation.md => Tree manipulation.md (100%) rename Upgrading-Trilium.md => Upgrading Trilium.md (100%) rename Web-clipper.md => Web clipper.md (100%) rename Weight-tracker.md => Weight tracker.md (100%) 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