2025-07-22 21:27:35 +02:00
2024-10-08 20:45:34 +02:00
2026-02-06 09:12:28 -07:00
2022-04-23 17:13:48 +02:00
2022-09-21 13:10:25 +02:00
2026-02-05 16:00:22 -07:00
2024-05-26 17:37:35 +02:00
2025-12-26 10:39:49 +01:00
2024-10-08 20:39:25 +02:00
2025-04-02 12:32:32 +02:00
2023-11-09 12:25:17 +01:00
2025-12-26 10:39:49 +01:00
2026-01-05 19:32:09 +01:00
2025-12-26 10:43:18 +01:00
2025-03-20 21:07:27 +01:00
2023-01-03 10:33:52 +01:00
2025-12-26 10:39:49 +01:00

Tannersearch for Obsidian

This is a fork of obsidian-omnisearch (by @scambier) with the following changes:

When opening a result, the cursor placement prioritizes note titles over headings over content

  • this means if the note's name matches your search, it opens at the top instead of on a random match in the middle of the note

Search terms aren't split on apostrophes

  • searching for "Sun's BBQ" searches for ["Sun's", "BBQ"] instead of ["Sun", "s", "BBQ"]

Search terms less than 3 characters long or common words are ignored

  • ignored words: "a", "an", "the", "and", "or", "but", "if", "in", "on", "at", "by", "for", "with", "to", "from", "of", "is", "it", "that", "this"

The first line of a paragraph is ranked like Heading 3 if it ends in a colon

  • for example,
Japan trip:
- passport
- cash
- umbrella

... "Japan trip:" is indexed and ranked the same as "### Japan trip"

If the first paragraph of a note contains a line like "aka other name", then "other name" is ranked like H1

  • for example,
see also: [[Travel General]]
Aka: packing list

content

... "packing list" is indexed and ranged the same as "# packing list". Note that "Aka:" isn't case or colon sensitive.

Fork Installation

Ensure the original Omnisearch plugin is installed, see instructions below.

Download main.js into your .obsidian/plugins/omnisearch directory, example:

$ cd ~/notes/.obsidian/plugins/omnisearch
$ mv main.js main.js.bak
$ wget https://raw.githubusercontent.com/tannercollin/obsidian-tannersearch/refs/heads/master/dist/main.js

In Obsidian, open Settings > Community Plugings. Disable and enable Omnisearch.

Open Settings > Omnisearch. Scroll to bottom. Click "Clear cache" data.

Restart Obsidian.

Building Fork

If you'd rather build the fork yourself:

$ git clone https://github.com/tannercollin/obsidian-tannersearch.git
$ cd obsidian-tannersearch/
$ npm install --legacy-peer-deps
$ npm run build

Then copy dist/main.js as above.

Original README

Omnisearch is a search engine that "just works".
It always instantly shows you the most relevant results, thanks to its smart weighting algorithm.

Under the hood, it uses the excellent MiniSearch library. This free plugin is totally unrelated to the omnisearch.ai paid product.

Documentation

https://publish.obsidian.md/omnisearch/Index

Installation

You can check the CHANGELOG for more information on the different versions.

Features

Omnisearch's first goal is to locate files instantly. You can see it as a Quick Switcher on steroids.

  • Find your 📝notes, 📄Office documents, 📄PDFs, and 🖼images faster than ever
    • Images, documents, and PDF indexing is available through Text Extractor
  • Automatic document scoring using the BM25 algorithm
    • The relevance of a document against a query depends on the number of times the query terms appear in the document, its filename, and its headings
  • Keyboard first: you never have to use your mouse
  • Workflow similar to the "Quick Switcher" core plugin
  • Opt-in local HTTP server to query Omnisearch from outside of Obsidian
  • Resistance to typos
  • Switch between Vault and In-file search to quickly skim multiple results in a single note
  • Supports "expressions in quotes" and -exclusions
  • Filters file types with .jpg or .md
  • Directly Insert a [[link]] from the search results
  • Supports Vim navigation keys

Note: support of Chinese depends on this additional plugin (also you may need to clear search cache data to apply new Chinese index). Please read its documentation for more information.

Projects that use Omnisearch

Submit a PR to add your own project!

LICENSE

Omnisearch is licensed under GPL-3.

Thanks

To all people who donate through Ko-Fi or Github Sponsors

Description
No description provided
Readme GPL-3.0 7.4 MiB
Languages
TypeScript 74.4%
Svelte 19.4%
JavaScript 4.9%
CSS 1.3%