mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Updated Search (markdown)
parent
d73dc83ad1
commit
c4a64aae2a
45
Search.md
45
Search.md
@ -54,26 +54,31 @@
|
|||||||
|
|
||||||
Note has certain properties which can be also used for searching:
|
Note has certain properties which can be also used for searching:
|
||||||
|
|
||||||
* noteId
|
* `noteId`
|
||||||
* dateModified - local dates are in the format "2019-05-19 16:39:47.003+0200"
|
* `dateModified` - local dates are in the format "2019-05-19 16:39:47.003+0200"
|
||||||
* dateCreated
|
* `dateCreated`
|
||||||
* utcDateModified - UTC dates are in the format "2019-05-19 14:39:47.003Z"
|
* `utcDateModified` - UTC dates are in the format "2019-05-19 14:39:47.003Z"
|
||||||
* utcDateCreated
|
* `utcDateCreated`
|
||||||
* isProtected (true, false)
|
* `isProtected` (true, false)
|
||||||
* type (text, code, search, relation-map, book)
|
* `type` (text, code, search, relation-map, book)
|
||||||
* title (when you want to search specifically the title)
|
* `title` (when you want to search specifically the title)
|
||||||
* text - search through note title and content
|
* `text` - search through note title and content
|
||||||
* content - search just through note content
|
* `content` - search just through note content
|
||||||
* rawContent - search through raw note content (HTML tags are kept). Since v0.46.
|
* `rawContent` - search through raw note content (HTML tags are kept). Since v0.46.
|
||||||
* labelCount
|
* `ownedLabelCount`
|
||||||
* relationCount
|
* `labelCount` (includes inherited labels)
|
||||||
* attributeCount - labelCount + relationCount
|
* `ownedRelationCount`
|
||||||
* parentCount
|
* `relationCount` (includes inherited relations)
|
||||||
* childrenCount
|
* `ownedRelationCountIncludingLinks` and `relationCountIncludingLinks` - count also includes auto-generated relations `imageLink`, `internalLink`, `relationMapLink` and `includeNoteLink`
|
||||||
* isArchived (true, false)
|
* `ownedAttributeCount` = `ownedLabelCount` + `ownedRelationCount`
|
||||||
* contentSize - size of note content in bytes. Since v0.46.
|
* `attributeCount` = `labelCount` + `relationCount`
|
||||||
* noteSize - estimated size of complete note (chiefly note content + note revision contents). Since v0.46.
|
* `targetRelationCount` - number of relations targeting this note
|
||||||
* revisionCount - number of note revisions. Since v0.46.
|
* `parentCount` - essentially number of [[clones|cloning]]
|
||||||
|
* `childrenCount`
|
||||||
|
* `isArchived` (true, false)
|
||||||
|
* `contentSize` - size of note content in bytes. Since v0.46.
|
||||||
|
* `noteSize` - estimated size of complete note (chiefly note content + note revision contents). Since v0.46.
|
||||||
|
* `revisionCount` - number of note revisions. Since v0.46.
|
||||||
|
|
||||||
These are accessed through `note.`, e.g.:
|
These are accessed through `note.`, e.g.:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user