Contents
← Folders and formats →Document list and /docs

Search and its modes

The search line is the main place in AnyText. It has a mode (how to search) and a scope (where to search), and both are remembered between launches.

Search scope: one collection or all

Next to the line you choose where to search: in the current collection or in all of them at once.

The chosen scope is visible in the application header.

Four modes

Words and meaning

The default mode: you type ordinary text, nothing needs switching.

By words

Exact search by letters: you need exactly the words you wrote. No models are needed for it — it always works, even without Ollama. The command is /find.

This mode is useful when you need to find a rare word, a number, a surname or an exact phrase.

By meaning

Search by closeness of meaning: it finds documents that say the same thing in other words. It needs a search model (embeddings) and Ollama. The command is /search.

Model answer

Search over documents plus an answer: the model reads the found fragments and formulates an answer with references to sources. It needs an answer model (the “Smart answers from documents” section). The command is /ask.

This mode does not replace search but complements it: the answer always rests on the found pieces, and they are visible next to it.

Commands instead of the switcher

You do not have to switch the mode; you can name it right in the line:

If nothing is found

Example: find a document by meaning

  1. In the search line, leave the “Words and meaning” mode, and next to it choose the scope — a specific collection or “All collections”.
  2. Write the query in your own words, not a single word but a phrase, for example: сколько стоит обслуживание.
  3. Press Enter.

What you get: first the block of exact matches appears (these words are in the documents), below it — “by meaning”: documents that say the same thing in other words.

Example: find an exact phrase

  1. Switch the mode to “By words”.
  2. Type a rare word, a number or a surname the way they are written in the document.
  3. Press Enter.

What you get: only the documents where these letters occur exactly like that. This mode works even without Ollama.

Contents
← Folders and formats →Document list and /docs