Search
How searching Files matches names, tags, fields and attachments, and how to filter and sort the results.
The search box in Files looks at everything stored about a file:
- its name,
- its tags,
- its fields (text, long text, choice and list fields; see Include in search),
- its text and Markdown attachments, such as OCR text.
A file matches when every word you typed starts a word somewhere on the file. The words don't have to be in the same place: a file tagged docker with an attachment saying "connection refused" matches docker connection refused. A file's name also matches when it contains what you typed anywhere in it (ceipt finds receipt.png).
| You type | Finds files |
|---|---|
plumb invoice | with words starting plumb and invoice, anywhere on the file |
"connection refused" | where that exact phrase appears in one place: the name, one tag, one field or one attachment |
receipt -paid | with a word starting receipt and no word starting paid anywhere |
-draft | in the current scope without a word starting draft |
Each file is listed once, however many places it matches. Searching or clearing the search in a folder stays in that folder.
Under each result, a line shows why it matched, with your words highlighted: Alt text: A tabby cat asleep, Tagged receipts, or an attachment's name and a line from it. Text a workflow stored shows the icon of the step that made it, such as the scan icon for text read by Extract text.
Word matching ignores case and accents. Up to 8 words and phrases are used, and other punctuation is ignored, so symbols are safe to type.
Filters
Filters narrow a search to files with a tag, of a type, in a folder, or with a field value. Choose Filters next to the search box to build them: pick what to filter, a condition and a value. Each filter also appears in the search box as text, and under it as a chip you can select to edit or remove. Typing a filter in the search box does the same thing as building it.
| You type | Finds files |
|---|---|
tag:receipts | tagged receipts |
tag:receipts,invoices | tagged with either |
tag:receipts tag:2026 | tagged with both |
-tag:draft | not tagged draft |
tag: / -tag: | with any tag / with no tags |
type:image | of that type: image, video, audio, document, text, archive or other |
in:Screenshots | in that folder or its subfolders |
in:"Work/Screenshots" | in that folder, by its path, when several folders share a name |
alt-text:cat | whose Alt text field has a word starting cat |
alt-text:"black cat" | whose Alt text field has that phrase |
status:done | whose choice field is Done, or whose list field includes done |
rating>3, rating<=2 | whose number field is above 3, or at most 2 (>, >=, <, <=) |
due:2026-06-01, due<2026-06-01 | whose date field is that day, or before it |
reviewed:yes | whose yes/no field is yes |
alt-text: / -alt-text: | where the field has a value / has none |
Fields are named by their key, not their name, so alt-text is the key of a field called Alt text; see Fields. Keys ignore case. Words, phrases and filters combine: cat -dog tag:pets rating>3 finds pets rated above 3 with cat somewhere and dog nowhere.
- Separate filters must all match. Commas inside one filter mean any of them.
-before a filter leaves out the files it matches.- Put a value in quotes when it has spaces or commas:
tag:"tax 2026". Inside quotes, write\"for a quote and\\for a backslash. - A word with a colon that isn't a filter needs quotes, such as
"10:30". - A field that's left out of search can still be filtered. Its text matches anywhere in the value.
When a filter can't run
A filter that names a field, tag or folder you don't have, compares a text field, or has a value that doesn't fit (a word in a number field, a choice the field doesn't offer) shows in red with the reason, and the search shows no files until you fix or remove it. Tessra never quietly drops part of a search, so the files you see always match everything you asked for. This also happens when you open an old link after the field or tag it names was deleted.
Best match
While a search has words, Best match appears in the sort menu and is chosen for you; clearing the search puts back the sort you had. Best match ranks each file by its strongest match for each word: a match in the file's name first, then a tag that is exactly the word, another tag, a field, and attachment text last. A file whose whole name is what you typed, with or without its extension, comes first, followed by names that start with it and names that contain it. Ties are newest first. Having many matching places doesn't push a file up, only having better ones.
Ctrl K
Ctrl K (⌘ K on a Mac) searches the same way from anywhere, as does the file picker in a workflow test, both ranked by Best match. View all results at the end of the files opens the full list on Files, across the whole library.
Who can find what
Search only ever looks at your own files. Other people's files, tags and fields are never searched or shown, even when their tags or field keys have the same names as yours. Share pages have no search.
Keeping the index up to date
Tessra updates the search index in the same step as the change: renaming a file, tagging it, setting a field (by hand, through the API or from a workflow), adding an attachment, or deleting a file. Workflow test runs never touch it. Every 6 hours Tessra checks the index for missing, outdated or leftover entries and fixes them, and after restoring a backup it rebuilds the index itself. To rebuild it by hand:
docker compose exec tessra dotnet Tessra.Api.dll admin rebuild-search