Search across documentation

Why it matters

Documentation with more than 20 pages stops being "readable" in a
linear sense. People don't read it cover to cover — they search for
answers: "where's our auth stuff?", "which page describes the
release process?", "do we have anything on rate limiting?"

Fast and precise search is critical documentation infrastructure.
If search is slow or misses the obvious, the team gives up on the
wiki and falls back to "ask in Slack". The Nextdocs goal is that
search always works.

How to open it

The panel opens as a modal over the app: input box on top, results
below. Focus is on the input by default, start typing immediately.

How to phrase a query

Plain words

Type any words — search finds pages where they appear. Order and
case don't matter.

auth flow

Finds pages where both words appear (not necessarily adjacent).

Exact phrase

Quotes — matches the exact phrase.

"JWT rotation"

Returns only pages where those words appear in that exact order.

Mixed query

You can combine: a required phrase plus any extra words.

"JWT rotation" security

Results with the exact phrase "JWT rotation" are ranked higher;
then those that additionally contain security.

Content-type filters

Above the results list — a row of filter buttons:

Clicking a filter narrows results to that type. Handy when a
project has docs + code + lots of tables.

How ranking works

Nextdocs uses a hybrid of BM25 (classical full-text rank) and
semantic search (meaning-based proximity). What influences
ranking:

What results look like

Results are grouped by page:

Search scope

Search always works within projects you have access to:

If a project is public — its pages are found by the internal
search for everyone (including logged-out users) and by Google /
Yandex (see the SEO section in Projects).

Hotkeys in the panel

Key

Action

/

Toggle between results

Enter

Open the selected result

Cmd/Ctrl+Enter

Open in a new tab

Esc

Close search

Tab

Cycle contentType filter

What lands in the index

Not indexed:

Indexing lag

When you change something, the index updates asynchronously:

Sharing searches

Want to share a query? Copy the URL from the address bar with the
panel open:

https://nextdocs.ai/#search=refresh%20token&project=42

The person you send it to (if they have access to those projects)
sees exactly the same results.

Typical scenarios

"Where are our environment variables described?"
env variables → results, with "Environment variables
configuration" in the title. Open.

"Which database do we use for billing?"
billing database → semantic search surfaces "Billing
architecture" which mentions PostgreSQL, even if "PostgreSQL"
isn't in the query.

Specific function in code
handleUserRegistration + Code filter → every place in code
where the function is defined / called.

Exact quote you remember
"we decided to use redis pub/sub" → exact phrase. If it's
nowhere else in the docs — one page comes back.

Difference from the AI agent

Full-text search answers where: "find me pages with words X".
Fast, predictable, deterministic, no LLM in the loop.

The AI agent answers what: "explain how this is built", plus
it can do things: create a page, update a section, move the
tree. See AI Agent.

Both open with Cmd/Ctrl+K and switch with one click in the
panel. In practice the two are used together: fast search first,
if that's not enough — switch to agent mode with a follow-up. If
you need to change something — straight to agent.

Limitations