# Trilium Search Syntax Reference
Trilium uses a powerful search syntax. Here are the most common patterns:
## Basic Search
- `word1 word2` - Search for notes containing both `word1` and `word2`.
- `"exact phrase"` - Search for the exact phrase.
## Attribute Search
- `#tag` - Find notes with tag `tag`.
- `#tag=value` - Find notes with tag `tag` having value `value`.
- `#dateCreated >= '2024-01-01'` - Find notes created since 2024.
- `!#tag` - Find notes without the tag `tag`.
## Logical Operators
- `word1 AND word2` - Logical AND.
- `word1 OR word2` - Logical OR.
- `NOT word1` - Logical NOT.
## Field Search
- `title *= 'part of title'` - Title contains the string.
- `content *= 'part of content'` - Content contains the string.
- `type = 'text'` - Filter by note type.
## Advanced Examples
- `note.dateCreated >= 2024-05-01 AND note.title *= 'Sync'`
- `#status = 'todo' AND #priority = 'high'`
- `parent.title = 'Project X' AND #todo`
For more details, see the official Trilium [Search documentation](https://github.com/zadam/trilium/wiki/Search).