> ## Documentation Index
> Fetch the complete documentation index at: https://docs.denari.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Which of the three ways to find a document to reach for, and when.

There are three ways to find a document, and the right one depends on what you already know. Reaching for the wrong one is what makes finding a document feel slow.

| What you already know | Reach for |
| - | - |
| The client | `⌘K` |
| The client, but you want a subset of their documents (year, service line, type) | `F` |
| Only roughly what the document is about | The search box |

**Narrow with `⌘K` and `F` first. Only type into the search box when you still don't know where the document lives.** Two keystrokes cut the library to a handful of rows; searching across everything is the slower, noisier path.

The two combine, so the fastest route to an awkward document is usually to filter to the client with `⌘K`, then search inside what's left.

## `⌘K`: you know the client

This is the shortcut to learn first. It is how you should start almost every search.

<Steps>
  <Step title="Press ⌘K (Ctrl+K)">The menu opens over the list.</Step>

  <Step title="Type a client name or client ID">
    Matching client groups appear at the top, each with a document count.
  </Step>

  <Step title="Press Enter">
    The top result is applied as a filter and the menu closes. The list is now
    just that client.
  </Step>
</Steps>

<img src="https://mintcdn.com/denari/YL-IiEHUQQPXXrz3/images/documents/command-menu-client.png?fit=max&auto=format&n=YL-IiEHUQQPXXrz3&q=85&s=990fd13efa0d186bab513a83107c4537" alt="The command menu with riverbend typed, showing four matching client groups with document counts." style={{ borderRadius: "0.5rem" }} width="1120" height="580" data-path="images/documents/command-menu-client.png" />

You never have to leave the keyboard, and you never have to know how the tree is grouped.

<Tip>
  `⌘⌫` (`Ctrl+Backspace`) clears every active filter, so you can start the next
  lookup from a clean list without reaching for the mouse.
</Tip>

## `F`: you know the attributes

Once you are on the right client (or when the client is not what you are filtering by), press **F** to narrow by attribute. Works anywhere in the list, as long as you are not typing in a field.

<img src="https://mintcdn.com/denari/YL-IiEHUQQPXXrz3/images/documents/filter-menu.png?fit=max&auto=format&n=YL-IiEHUQQPXXrz3&q=85&s=661a5ce760bf86ceff5a331cce0ee261" alt="The documents filter menu open with Client Entity Name, Service Line, Year, Permanent, Source, File type, and Published to client." style={{ borderRadius: "0.5rem" }} width="1420" height="690" data-path="images/documents/filter-menu.png" />

Pick an attribute, then pick values: **Year 2024**, **Service Line: Tax**, **File type: PDF**. Filters stack, and the active ones show as chips under the search box.

`⌘K` can drill into these same filters from its **Filters** list, so once the shortcut is muscle memory you can stay there for everything.

<img src="https://mintcdn.com/denari/YL-IiEHUQQPXXrz3/images/documents/command-menu.png?fit=max&auto=format&n=YL-IiEHUQQPXXrz3&q=85&s=e341bbe64839493c0418556b7421761a" alt="The command menu showing a client group search box and a Filters list with entries for Client Group, Client Entity, Service Line, Year, Permanent, Source, and File type." style={{ borderRadius: "0.5rem" }} width="1210" height="920" data-path="images/documents/command-menu.png" />

<Note>
  `⌘F` is left alone on purpose, so your browser's find-on-page still works.
</Note>

## The search box: you know none of that

Use the search box for the **generalized** case: you can't name the client, you don't know which attributes were set, you just know roughly what you are after.

<img src="https://mintcdn.com/denari/YL-IiEHUQQPXXrz3/images/documents/search-results.png?fit=max&auto=format&n=YL-IiEHUQQPXXrz3&q=85&s=caf7139945ad2b92924c299a1dead1e4" alt="The documents list searching for depreciation, showing 132 matches with client groups ranked by relevance and pills showing which attribute matched." style={{ borderRadius: "0.5rem" }} width="1600" height="1000" data-path="images/documents/search-results.png" />

Results rank by relevance, groups reorder so the best match is first, and each row carries **pills** showing what matched, so you can see why a document came back. Filename matches always rank above fuzzy ones.

### When attribute search isn't enough

By default the search box only reads **attributes**: filenames, client, year, service line, type, and your custom fields. That is fast and precise, and it is the right default.

When it comes back empty, the words you remember are not in those fields. Widen it from the cog inside the search box.

<img src="https://mintcdn.com/denari/YL-IiEHUQQPXXrz3/images/documents/search-sources.png?fit=max&auto=format&n=YL-IiEHUQQPXXrz3&q=85&s=1680e5a2ab4211ae594c258f2529f799" alt="The search settings menu with Attributes, All attributes, Full text (OCR), and Vibe options." style={{ borderRadius: "0.5rem" }} width="1600" height="629" data-path="images/documents/search-sources.png" />

| Turn on | When | Example |
| - | - | - |
| **Full text (OCR)** | You remember a phrase that appears *inside* the document, not in its name or fields | An account number, a form line, a client's address |
| **Vibe** | You remember what the document was about, but not what it was called or what it says | "the letter about the state notice" |

Both search far more than attributes do, so they are slower and return more noise. Reach for them **after** attribute search comes up short, not before, and turn them back off once you have found what you needed.

<Tip>
  Narrow before you widen. Filtering to one client with `⌘K` and then turning on
  Full text searches that client's documents instead of the whole firm's, which
  is both faster and far easier to read.
</Tip>

## Share what you found

Your search, filters, sorting, and grouping all live in the page URL, so copying the address bar sends a teammate the exact view you are looking at. To link one document instead, use **Share** in its `...` actions menu. Save the searches you run weekly as a [view](/documents/library).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.