Search: show perfect matches first

Use case or problem

When I search for something, I don’t necessarily put it between quotes. I expect that close-enough matches will appear in some kind of relevant order. Currently, Obsidian shows partial matches before complete ones, making me mistakenly believe that the search was unsuccessful.

I’ve used the Help Vault as an example: searching for this is a heading without quotes seems to return no close matches, but those are actually “hidden” behind that "…and 247 matches"; if we expand it, several full matches appear further down the list.

Proposed solution

I don’t know the inner workings of Obsidian’s search. Even if I did, I’m not sure I’d be able to propose a solution. I just think it could use some more love.

Current workaround (optional)

We can always expand the results one by one, or explicitly search for a phrase using quotes. But it seems counterintuitive and unforgiving.

6 Likes

2 posts were merged into an existing topic: Sort search results by relevance (and what relevance is)