Better search ranking

mahdix's Avatar


09 Oct, 2017 09:04 AM

When you search for a phrase which exactly matches title of a note (even if there are notes which are newer but contain that word in their body), I think the one with matching title should appear higher.

Currently, the notes which are newer but have the word in their body, appear higher in the search result.

I think ranking of search results should be a bit smarter, like this:
1. Notes that have a matching title, ordered by their age
2. Notes that have a matching body, ordered by their age

  1. Support Staff 1 Posted by Danilo Bonardi on 09 Oct, 2017 11:27 AM

    Danilo Bonardi's Avatar


    right now the search results match the sorting selected for the note list a weighted search will break any possible sorting but maybe will be more useful... Definitely something to think about.


  2. 2 Posted by mahdix on 10 Oct, 2017 03:24 PM

    mahdix's Avatar

    Another option which is easier to implement is adding `@intitle` operator which forces Bear to only search in titles.

  3. Support Staff 3 Posted by Danilo Bonardi on 11 Oct, 2017 09:20 AM

    Danilo Bonardi's Avatar

    Oh yes, that's something I want to work to.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac