Hybrid Search

approved

by flowing-abyss

Fast hybrid search (BM25 + semantic) over your vault via a background CLI. - This plugin has not been manually reviewed by Obsidian staff.

11 stars3,283 downloadsUpdated 12d agoMIT

Hybrid Search

Available in Obsidian Release Downloads

Hybrid Search combines BM25 full-text search with semantic vector search across your Obsidian vault.

The plugin provides the Obsidian interface. The obsidian-hybrid-search CLI runs in the background and handles indexing and search.

Hybrid Search works with the desktop version of Obsidian.

Search modal with results, preview and local graph

Requirements

Install the CLI globally with npm.

npm install -g obsidian-hybrid-search

The CLI must be available in your PATH. You can also set a custom path in the plugin settings.

Installation

Open Hybrid Search in the Obsidian Community plugins directory and select Add to Obsidian.

Usage

Open the search window in either of these ways.

  • Select the search icon in the left sidebar.
  • Open the command palette and run Hybrid search: Open search.

Results update as you type and include a relevance score.

Hybrid search results with relevance scores

Hybrid search results with relevance scores

ScoreColorMeaning
>0.8GreenHigh relevance
0.5 to 0.8OrangeMedium relevance
<0.5GrayLow relevance

Empty query and similar notes

Leave the query empty to see results based on the current context.

  • If a note is open, the plugin shows semantically similar notes.
  • If no note is open, it shows recently opened files.
Semantically similar notes

Semantically similar notes

Workbench

The link discovery workbench helps you find useful connections for the current note. It compares graph structure with semantic similarity.

  • Best shows the top candidates based on structural and semantic signals.
  • Missing Links shows related notes that are not linked yet.
  • Bridges shows notes that connect distant parts of the graph.
  • Similar shows semantically close notes.
  • Links shows existing outgoing and incoming links.
  • Diagnostics explains the note's position in the graph.

Each candidate includes scores for cosine similarity, Adamic-Adar, common neighbors, co-citation count, semantic distance, and other signals. You can add links, inspect backlinks, and compare notes from the list. The local graph shows the notes around the current file.

Link discovery workbench

Link-discovery workbench with local graph and scored candidates

Query syntax

These two queries are equivalent.

hybrid: zettelkasten tag:project limit:20 @rerank
zettelkasten #project @limit:20 @rerank @hybrid
InlinePostfixDescription
(plain text)NoneHybrid search (default)
hybrid:@hybrid / @hybHybrid mode (BM25 + semantic)
semantic: / sem:@semantic / @semSemantic (vector) only
fulltext: / full:@fullFull-text (BM25) only
title:@titleFuzzy title match
None@sim / @similarNotes similar to the active note
None@sim:[[Note]]Notes similar to a specific note
None@sim:"path/note.md"Same, by path
tag: / tag:#tag#tagFilter by tag (include)
-tag: / -tag:#tag-#tagFilter by tag (exclude)
folder: / path:NoneLimit to a folder (quote names with spaces)
-folder: / -path:NoneExclude a folder
limit:N@limit:N / @lim:NOverride result count
threshold:N@threshold:N / @th:NMinimum score threshold
None@rerankRerank with a cross-encoder
key:valueNoneFilter by frontmatter field
-key:valueNoneExclude by frontmatter field

Hotkeys

HotkeyAction
Mod+J / Mod+KNext / previous result
Mod+PToggle preview panel
Mod+GToggle local graph panel
Mod+OOpen selected in new tab
Mod+Shift+OOpen all results in new tabs
Alt+EnterInsert wiki link to selected note
Alt+Shift+EnterInsert wiki links to all results

Mod means Ctrl on Windows and Linux or Cmd on macOS. Alt means Option on macOS.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.