Global search: Sort search results by relevance (and what relevance is)

Another vote for sensible search ranking. The current way Obsidian filters / sorts search results is quite frustrating!

I’m including my post to the Reddit forum here.

Hello,

I’m really enjoying Obsidian! I’ve spent the last two weeks consolidating 15 years and half a dozen applications worth of writing into one, sensible, well organised set of notes. Such a relief! :slight_smile:

The one thing that I’m quite frustrated by is Obsidian’s search. I’m baffled by the fact that it allows you to sort search results by everything except relevance. For example I have a page called “X3” in a folder called “Wiki” (my default home for new notes):

  • if I search for “x3” it shows up as the very last result (fair enough I had results organised alphabetically).
  • if I search for “title: x3” (or "title: X3) it doesn’t show up at all.
  • if I search for “path: x3” it’s the only result.

All the other note applications I’ve used over the years use relevance as the primary way to sort search results. I’d expect that if there’s a note called “X3” that it would be the top result of a search for “X3”.

I feel like I must be missing something? Am I doing something wrong? If this is just the way Obsidian works, is there a way to add relevance based search?

Many thanks for any pointers,
Adam.

1 Like