A calm, capable space for your most important work.

Explore the latest release

Knowledge retrieval / Field note 04

Semantic search for notes and PDFs: how it works

Find relevant passages even when your query uses different words from the source. Learn where semantic search helps, where keywords still matter, and how to keep retrieval useful.

Direct answer: Semantic search finds notes and document passages by meaning rather than requiring an exact word match. It represents text as numerical embeddings and retrieves items whose meaning is close to the query. Keyword search remains useful for exact names, identifiers, dates, and phrases, so the two approaches work best together.

What is semantic search for notes and PDFs?

Semantic search converts text into embeddings — numerical representations that capture aspects of meaning. A search query is converted in the same way, then compared with indexed passages. The system can retrieve a passage about a concept even if the query uses a related phrase rather than the exact words in the document.

Keyword search vs semantic search

Keyword search is precise when you know the term you need. It is good for a paper title, an author's name, a product identifier, a date, or a distinctive quoted sentence. Semantic search is useful when you remember the idea but not the phrase, or when different authors describe the same concept in different language.

Approach What it matches
Keyword search Matches exact terms, phrases, and identifiers. Best when wording is known.
Semantic search Matches related meaning and concepts. Best when you remember the topic, not the exact wording.

How does local semantic search work?

  1. Extract text. The application reads supported documents and makes their text searchable. Scanned pages may require OCR before their contents can be searched.
  2. Split into passages. Long documents are divided into smaller chunks so retrieval can point to a relevant part instead of returning an entire file.
  3. Create embeddings. An embedding model turns each passage into a vector. A local-first application can run supported embedding models on the device after they are downloaded.
  4. Retrieve relevant passages. The query is embedded and compared against the index. Results should still be reviewed in their original context.

How to get better semantic search results

  • Ask a specific question rather than entering a broad topic such as “science” or “management”.
  • Include the context you remember: the decision, comparison, mechanism, or claim you are trying to find.
  • Use keyword search for exact names and identifiers, then use semantic search to discover related explanations.
  • Check document extraction quality. Missing OCR text or incomplete imports cannot be retrieved.
  • Treat similarity as relevance, not proof. Open the source passage before relying on it.

A practical workflow for better semantic search

Start by deciding what a successful result looks like. If you need a file name, project code, person, or exact phrase, use keyword search. If you remember the idea but not the wording, describe the relationship or question in natural language. For difficult searches, run both approaches and compare the results instead of assuming one method is always better.

  • Search for one concept at a time; split a question that contains several unrelated requests.
  • Include context such as the decision, method, outcome, or comparison you remember.
  • Narrow the search to a Space or document set when the library is large.
  • Open the original passage and confirm that it answers the question before citing it.

Search quality also depends on the material being indexed. Scanned PDFs need usable OCR text; tables, columns, captions, and unusual layouts can be extracted imperfectly. Very short fragments may lack enough context to represent their meaning, while overly broad chunks can mix several topics. When a document is missing from results, check import status and extracted text before assuming the search model failed.

Knovum combines keyword and semantic search across a Space or the full library. Its local-first design keeps the knowledge library and semantic index in local application data; local model files can be downloaded when a capability needs them.

Explore search in Knovum

Continue reading