> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/end-user-and-partner-section/end-user-section/dashboard/smart-search-ranking.md). Agents can also search and read this documentation through its [MCP server](https://docs.docbits.com/~gitbook/mcp).

# Smart Search Ranking

Smart Search Ranking puts the documents you mean at the top of a dashboard search. A keyword search finds every document that contains your word; Smart Search Ranking adds one step: an AI reads the best matches and moves the documents that are really about your search to the top. Exact matches — invoice numbers, order numbers, supplier names — always stay first.

{% embed url="<https://docbits-videos.fra1.cdn.digitaloceanspaces.com/features/smart-search-ranking/preview/en.mp4>" %}
Smart Search Ranking in the dashboard (English narration). [Player with subtitles](https://docbits-videos.fra1.cdn.digitaloceanspaces.com/features/smart-search-ranking/preview/en.html) · [Transcript](https://docbits-videos.fra1.cdn.digitaloceanspaces.com/features/smart-search-ranking/preview/en.txt)
{% endembed %}

## What changes

|                                                        | Keyword order    | With Smart Search Ranking                  |
| ------------------------------------------------------ | ---------------- | ------------------------------------------ |
| Which documents are found                              | The same         | The same                                   |
| Order of the results                                   | By keyword match | Documents that are about your search first |
| Exact matches (invoice number, order number, supplier) | First            | First                                      |
| Column sort, `ocr:` and field searches                 | Unchanged        | Unchanged — these keep their own order     |

## Example

Eleven test invoices all contain the word *screw*: screws, a screwdriver set, a screw compressor service, screw-cap bottles, a screw pine plant, a screw-post binder, a "screwdriver" cocktail, a toy tool case.

* Search for **screw**. In keyword order the screwdriver set is the first result and the invoice for stainless-steel screws is fifth. With Smart Search Ranking the screws come first and the screw assortment moves up; the screwdriver set drops to seventh.
* Search for **screwdriver**. The screwdriver set is first in keyword order and stays first with Smart Search Ranking — this time it is what you meant. The professional screwdrivers move up; the cocktail and the toy move down.

## Where it applies

* The dashboard [Quick Search](https://docs.docbits.com/end-user-and-partner-section/end-user-section/dashboard/quick-search.md) with plain text (not the field-specific `field:` chips).
* The top of the result list is re-ordered; further down, long result lists keep their keyword order.
* If the ranking service does not answer within its time budget, the search shows the normal keyword order. Nothing is hidden and no result is removed.

## How to switch it on

Smart Search Ranking is enabled per organization by DocBits. Ask your DocBits contact to switch it on. It takes effect for all users of the organization within a minute, with no change to how you search.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/end-user-and-partner-section/end-user-section/dashboard/smart-search-ranking.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
