Skip to content

Search

Lokus indexes every note for full-text search. Results rank by relevance with title matches weighted highest, then tags, then body content. Search runs in under 200ms for typical vaults.

Press Cmd+F (macOS) or Ctrl+F (Windows/Linux) to open the search overlay. Start typing to see results instantly.

The search engine indexes five fields per note:

FieldBoostDescription
title3xNote title / filename
tags2xAll tags on the note
content1xStripped Markdown body text
folder1xParent folder path
codeBlocks1xExtracted code block contents

Search supports fuzzy matching (tolerance of 0.2) and prefix matching, so partial words return results.

Narrow results by combining your query with filters:

FilterValues
tagFilter to notes with a specific tag
folderFilter to notes in a folder path
modifiedtoday, yesterday, last7days, last30days, or a date string
createdSame date options as modified

Smart search augments text matches with knowledge graph data. When enabled, each result includes related notes discovered by traversing wiki links. Configure the traversal depth (1-3 hops) to control how far the graph exploration reaches.

Options for graph-enhanced search:

OptionDefaultDescription
depth1Wiki link hops to follow (1-3)
includeRelatedtrueShow graph-connected notes in results
limit20Maximum results to return
foldernullRestrict search to a specific folder

Topic exploration starts from a single note and maps its connections through the knowledge graph. It groups related notes by distance:

  • Directly linked: Notes one hop away
  • Second degree: Two hops away
  • Third degree: Three hops away

It also finds the shortest paths to hub notes (the most connected notes in your vault).

Each search result includes:

  • Snippet: A content excerpt around the first match, with surrounding context
  • Highlights: Which fields matched and how many times
  • Score: A relevance score combining text match quality and field boosts

Type at least 2 characters to get autocomplete suggestions. Results are ranked by title (3x boost) and tag (2x boost) relevance, returning up to 10 suggestions.

Navigate search results without leaving the keyboard:

KeyAction
EnterOpen selected result
EscapeClose search
Arrow UpPrevious result
Arrow DownNext result