4.6 KiB
Vendored
Quick search

The Quick search function does a full-text search (that is, it searches through the content of notes and not just the title of a note) and displays the result in an easy-to-access manner.
The alternative to the quick search is the Search function, which opens in a dedicated tab and has support for advanced queries.
For even faster navigation, it's possible to use Jump to... which will only search through the note titles instead of the content.
Layout
Based on the Vertical and horizontal layout, the quick search is placed:
- On the vertical layout, it is displayed right above the Note Tree.
- On the horizontal layout, it is displayed in the Launch Bar, where it can be positioned just like any other icon.
Search Features
Quick search includes the following features:
Content Previews
Search results now display a 200-character preview of the note content below the note title. This preview shows the context where your search terms appear, making it easier to identify the right note without opening it.
Infinite Scrolling
Results are loaded progressively as you scroll:
- Initial display shows 15 results
- Scrolling near the bottom automatically loads 10 more results
- Continue scrolling to load all matching notes
Visual Features
- Highlighting: Search terms appear in bold with accent colors
- Separation: Results are separated with dividers
- Theme Support: Highlighting colors adapt to light/dark themes
Search Behavior
Quick search uses progressive search:
- Shows exact matches first
- Includes fuzzy matches when exact results are fewer than 5
- Exact matches appear before fuzzy matches
Keyboard Navigation
- Press
Enterto open the first result - Use arrow keys to navigate through results
- Press
Escapeto close the quick search
Using Quick Search
- Typo tolerance: Search finds results despite minor typos
- Content previews: 200-character snippets show match context
- Infinite scrolling: Additional results load on scroll
- Specific terms: Specific search terms return more focused results
- Match locations: Bold text indicates where matches occur
Quick Search - Exact Match Operator
Quick Search now supports the exact match operator (=) at the beginning of your search query. This allows you to search for notes where the title or content exactly matches your search term, rather than just containing it.
Usage
To use exact match in Quick Search:
- Start your search query with the
=operator - Follow it immediately with your search term (no space after
=)
Examples
=example- Finds notes with title exactly "example" or content exactly "example"=Project Plan- Finds notes with title exactly "Project Plan" or content exactly "Project Plan"='hello world'- Use quotes for multi-word exact matches
Comparison with Regular Search
| Query | Behavior |
|---|---|
example |
Finds all notes containing "example" anywhere in title or content |
=example |
Finds only notes where the title equals "example" or content equals "example" exactly |
Technical Details
When you use the = operator:
- The search performs an exact match on note titles
- For note content, it looks for exact matches of the entire content
- Partial word matches are excluded
- The search is case-insensitive
Limitations
- The
=operator must be at the very beginning of the search query - Spaces after
=will treat it as a regular search - Multiple
=operators (like==example) are treated as regular text search
Use Cases
This feature is particularly useful when:
- You know the exact title of a note
- You want to find notes with specific, complete content
- You need to distinguish between notes with similar but not identical titles
- You want to avoid false positives from partial matches
Related Features
- For more complex exact matching queries, use the full Search functionality
- For fuzzy matching (finding results despite typos), use the
~=operator in the full search - For partial matches with wildcards, use operators like
*=*,=*, or*=in the full search