> For the complete documentation index, see [llms.txt](https://alexandria.enhe.social/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alexandria.enhe.social/features/omni-search.md).

# Omni-Search

Omni-Search is Alexandria's unified search bar, available the moment you open the popup. Start typing and it searches your **history, bookmarks, and Read Later Shelf simultaneously** — no need to go into separate views.

## How it works

Results are ranked with a deliberate priority: Read Later Shelf items surface at the top, since they represent pages you've explicitly chosen to save. Below those, history and bookmarks are blended in a 3:1 ratio (three history results for every bookmark). This reflects how people actually search — "where was that page I visited?" is more common than "what did I bookmark?" — while ensuring bookmarks are never buried.

**Result cap:** Up to 20 results are shown at a time, pulled from a pool of up to 50 history entries plus all matching bookmarks and shelf items. If the initial 20 slots aren't filled, remaining results from either source backfill the list.

## Mixed result indicators

In Omni-Search results, each item shows a small icon to indicate its origin:

* 📝 — from your Read Later Shelf (surfaced at the top)
* 🕒 — from your browsing history
* ⭐ — from your bookmarks

## Regex mode

Power users can toggle **Regex Search** directly from the Omni-Search view. See [Regex Search](/features/regex-search.md) for full details.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alexandria.enhe.social/features/omni-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
