Jet Search

approvedunreviewed

by Ahmed Elmalt

Instant search for Obsidian: names as you type, every word of every note, filters, scopes and answers. Tap Shift twice to open. Private and offline.

↓ 40 downloadsUpdated 5d agoMIT
Jet

Find it before you finish typing.

Modern, instant search for Obsidian. Names match in the same keystroke, every word of every note is searched in the background, and a question gets the line that answers it. Tap Shift twice and start typing.

Release CI License: MIT Downloads Stars Issues Last commit

Obsidian 1.8.0+ Desktop TypeScript Telemetry Offline PRs welcome

Install · Tour · Support · Speed · Demo vault · Privacy · FAQ · Docs


Jet Search in motion: names, full text, filters, scopes, meaning, answers, and languages including Arabic

Why Jet

Search is the thing you do a hundred times a day, so a hundred small waits add up. Jet is built so there is no wait.

MeasuredWhat it means
15 msmedian time until the results settle in a 10,000-note vault, with the first results on screen in 4 ms. Omnisearch: 212 ms. Obsidian's own search: 96 ms, and up to 2.2 s.
98%of 175 test searches had the right note in the top 3: exact and misspelled names, name starts, single words, words with a typo, two words and phrases. Omnisearch: 93%. Smart Connections: 62%. Obsidian's search: 53%.
3×quicker to index than Omnisearch: about 6 s for 10,000 notes against about 19 s. A saved 50,000-note index loads in 10 ms.
0.16 msthe engine's typical keystroke at 10,000 notes, 0.8 ms at 50,000. The slowest of 1,122 keystrokes at 50,000 notes took 13 ms.
0 bytessent anywhere. No telemetry, no accounts, works offline. The plugin is a single small file.

Every number comes from public data, a fixed seed and a runner you can run yourself. The benchmark notes give the method, the versions tested and the caveats.

And it finds what you meant, not only what you typed:

  • Forgiving. Typos, word forms (planted finds planting), initials (jtrip finds Japan Trip 2027), aliases, accents and case.
  • Any language. Word forms in English, French, Spanish, German, Portuguese, Italian, Dutch, Swedish and Arabic. Chinese and Japanese without spaces. Arabic and Hebrew right to left.
  • Focused. Scopes limit a search to a project, an area, a folder, a tag or a property. Filters become chips you can see and remove.
  • Understands questions. An optional model that runs on your device finds notes that say the same thing in other words, and points at the line that answers "how much was...?" or "when is...?".
  • Tested. Automated tests run on every change.

A quick tour

Each clip below is recorded in the demo vault. The guide shows every feature in motion.

Names as you type, typos forgiven

Names, aliases and paths match in the same keystroke, before the full text arrives.

Names matching as you type, with typos

Every word of every note

Results are ranked, each with the line that matched, and the preview shows the note around the hit with every hit marked and ticked on the scroll bar.

Full text results with a live preview

Filters become chips

Type #recipe/french, type:book, edited:7d, path:Journal or links:[[Note]] and a space. Jet suggests keys and values as you type, and offers a fix when a key is misspelt.

Filters becoming chips, with autocomplete

Scopes

Type a scope's name with other words and press Tab to search inside it. Jet can generate scopes from your folders, links and tags.

A scope suggested while you type, Tab accepts

Search by meaning (optional)

A question goes by meaning: how do I stop my basil dying finds the note about watering and cold nights.

A question finding notes by meaning

The line that answers

Ask for a price, a name, a date or a reason, and Jet lists the notes by the line that answers, with the figures coloured and the line outlined in the preview.

A fact question answered with the line that holds the answer

Every language, left to right and right to left

Several languages

Arabic, right to left

When something is wrong

Jet can say why a note is or is not found, and it makes a report you can send in two clicks. All of it is on demand, and Jet sends nothing: you read the report and press Submit yourself.

Why is a note not found?

Ctrl / ⌘ + Shift + E in Jet's window turns the preview into an explanation: how each word was read, where the selected note holds it, why a note you expected is missing. More.

Explaining a search, then sending the explanation with Report issue

Report an issue

Run Report issue from the command palette. Jet shows the report: versions, vault size, timings, and no note names or search text unless you tick them. Open on GitHub opens a new bug report with the form already filled in. More.

Report issue from the command palette, then Open on GitHub

Record a trace

For a problem that comes and goes, record a few minutes of what Jet does: timings and events, in memory, never a word of a search or a note name. The trace goes into the report, with a timeline to the millisecond. More.

Recording a trace, then reading its timeline in the report

Install

From Obsidian: open Settings > Community plugins > Browse, search for Jet Search, then install and enable it. The listing is at community.obsidian.md/plugins/jet-search.

Or install it another way:

By hand

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Put them in <your vault>/.obsidian/plugins/jet-search/.
  3. In Obsidian, open Settings > Community plugins, reload the list and turn on Jet Search.

With BRAT: add the repository eknowledger/jet-search.

From source: npm ci && npm run build, then copy the three files as above.

Requires Obsidian 1.8.0 or newer, on desktop.

Use it

Tap Shift twice, or run Jet Search: Search notes and give it any hotkey in Obsidian's Hotkeys. Jet Search: Search in this note lists every hit in the open note. The double-tap key (Shift, Control, Option, Command, or off) is a setting.

The first time, Jet builds its index in the background (seconds for a few hundred notes). It is useful before it finishes, because names match straight away.

KeyDoes
Enteropen the note
Ctrl/Cmd + Enteropen in a new tab
Ctrl/Cmd + Alt + Enteropen to the right
Alt + Enterinsert a link where you are writing
Ctrl/Cmd + Ffilters bar, title-only search
Ctrl/Cmd + Jwords, meaning or both
Ctrl/Cmd + Gnext hit in the preview
Tabaccept a suggested scope
Escclear the text, then the scope and filters, then close

Every key inside Jet's window can be changed in the settings. The guide has the full list.

How fast

Jet was timed against Obsidian's own search and quick switcher, and the most-installed search plugins: Omnisearch, Quick Switcher++, Another Quick Switcher and Smart Connections. Each ran alone in a fresh Obsidian, on the same notes and the same typed searches, with real key events. The clock runs from the last key to the last change of the result list on screen, so it includes drawing.

Time until results settle at 10,000 notes: Jet 15 ms, Another Quick Switcher 21 ms, Obsidian Quick Switcher 27 ms, Quick Switcher++ 28 ms, Obsidian Search 96 ms, Omnisearch 212 ms
10,000 notesFirst resultsSettled, medianSettled, slowestIndex buildFirst search after launch
Jet4 ms15 ms21 ms6 s34 ms
Another Quick Switcher21 ms21 ms28 msnone10 ms
Obsidian Quick Switcher27 ms27 ms37 msnone13 ms
Quick Switcher++28 ms28 ms33 msnone14 ms
Obsidian Search14 ms96 ms2.2 snone4.1 s
Omnisearch208 ms212 ms334 ms19 s328 ms

Two things to keep in mind. The three quick switchers match note names only, so they do less work than Jet, which searches every word. And in a small vault everything is fast: at 1,000 notes the switchers settle in 8 to 11 ms, Jet in 13 ms, and Omnisearch still takes 203 ms. Both runs, 1,000 notes and the method are in docs/benchmarks.md.

Speed means little if the right note is not there, so the same tools were also given 175 searches on the demo vault, generated from its notes with a fixed seed. A search counts as found when the right note is in the top 3.

Found in the top 3Exact nameName with a typoStart of a nameOne wordWord with a typoTwo wordsA phraseAll 175
Jet25252525222525172 (98%)
Omnisearch25142525232525162 (93%)
Smart Connections242025107149109 (62%)
Obsidian Search9010240252593 (53%)
Obsidian Quick Switcher252525n/an/an/an/anames only
Quick Switcher++252525n/an/an/an/anames only
Another Quick Switcher252325n/an/an/an/anames only

Jet is the only tool at 97% or better on both names and the words inside notes. The switchers are perfect on names, but they cannot see inside a note. Omnisearch is level with Jet on the words inside notes and loses on misspelled names (14 of 25, against 25). Jet missed 3 searches, all a word with a typo. Questions asked in other words are what the optional search by meaning is for: on a separate set of 3 questions, Jet with the model on found 3, Smart Connections 3, Jet without it 2, Omnisearch 1 and Obsidian's search 0.

The searches are generated, not hand-picked, but they run on a small, invented vault and they favour tools that forgive typos, so read this as a demonstration, not a ranking of every vault. Every search and every result is listed in docs/benchmarks.md. Omnisearch also reads PDFs and images, which Jet does not.

Jet's engine on its own, on public data with a fixed seed (per keystroke, every prefix of the typed queries):

NotesTypical95th percentileSlowestIndex timeSaved indexLoad
1,0000.056 ms0.30 ms1.7 ms0.4 s1.6 MB0.3 ms
10,0000.16 ms1.3 ms2.0 ms3.6 s14 MB2.3 ms
50,0000.77 ms7.3 ms13 ms21 s69 MB9.9 ms

Names match on a separate, smaller index: 0.03 ms at 1,000 notes, 0.26 ms at 10,000, 1.8 ms at 50,000.

Try it on the demo vault

demo-vault/ holds 239 notes written for a fictional person: projects, areas, recipes in several languages and a journal. Open it as a vault in Obsidian, turn on Jet, and try:

  • kitchn renovaton (typos in a name)
  • ladybird larva (full text with a preview)
  • #recipe/french (a tag as a chip)
  • japan hotel, then Tab (a scope suggested)
  • شوربة (Arabic, right to left)
  • how much was the quartz countertop? (a question, once Search by meaning is on)

Privacy, network use and storage

  • No telemetry, no ads, no accounts, no payments. Jet is free and open source.
  • Network. Jet works fully offline. It makes one kind of network request, and only when you ask for it: turning on Search by meaning asks first, then downloads its model (about 31 MB, once) from Hugging Face (minishlab/potion-base-8M, a pinned revision, each file checked against a SHA-256 in Jet's code). To avoid the network completely, choose Use files... in the settings and give Jet the two model files yourself. Your notes are never sent anywhere.
  • Reporting. Jet makes no request when you report a problem. Open on GitHub only opens your browser at a new issue page with the form filled in, and you press Submit. The report holds no note names or search text unless you tick them.
  • Files outside your vault. Jet reads none. Use files... reads only the two model files you pick.
  • Storage. The index and the note vectors live in your browser's IndexedDB on your device, one database per vault, outside the vault. The packed model (about 8 MB) is kept in Jet's plugin folder. You can clear the index or remove the model from Jet's settings.

Platforms

  • Desktop: developed and tested on macOS. Windows and Linux run the same code; reports are welcome.
  • Mobile: works on iOS 15.4 and newer and on Android with WebView 98 or newer, but is not officially supported yet: it has been tested on an emulated phone, not yet on real devices. Details.

FAQ

Does it replace Obsidian's search? No. It sits beside it. Obsidian's own operators (line:, section:, block:, task: and /regex/) are handed off to Obsidian's search with one key.

Does it change my notes? Only when you ask. Shift + Enter creates a note named after your text, and Alt + Enter inserts a link where you are writing. Searching never writes to a note.

Does it send my notes anywhere? No. See Privacy.

Is it AI? The optional meaning search uses a small embedding model (8 MB) that runs on your device. It does not generate text and never calls a service.

How big a vault can it handle? The benchmarks above go to 50,000 notes. Index time grows with the vault, but the index is built once, in the background, and then kept up to date a note at a time.

Where does the index live? In your browser's IndexedDB, outside the vault, so it is never synced or committed. Remove it from Jet's settings at any time.

Documentation

ReadFor
GuideEvery feature in motion, recorded in the demo vault
ReferenceEvery part of the window and every setting, numbered and explained
BenchmarksThe method behind the numbers, and how to run it
ArchitectureHow Jet is built, in a 30 minute read
Architecture referenceThe long version: every part, message, number and failure path
ContributingSet up, test, and send a change
SecurityReporting a vulnerability
ChangelogWhat changed in each version

Contributing

Bug reports, ideas and pull requests are welcome. Start with CONTRIBUTING.md. To work on Jet:

npm ci
npm run check   # format, lint, types and all tests
npm run build   # main.js, manifest.json and styles.css

Status

Jet Search is under active development, by one maintainer. Please open an issue for bugs, ideas and questions.

Something wrong? Run Report issue in the command palette. How it works.

Licence

Jet Search is released under the MIT licence. The meaning model, potion-base-8M by Minish Lab, is MIT-licensed.

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.