Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 6 forks source link

Search fails to find instances of certain words #635

Open elliotolds opened 3 years ago

elliotolds commented 3 years ago

Describe the bug

If I add a block and then use the top search bar to find the block, depending on the word I search for it doesn't appear in the search results.

To Reproduce

Steps to reproduce the behavior:

  1. Add a block with this text to a page: "investigated tails bug before posting on Roam github, and heads bug"
  2. Type "tails" (without quotes) in the title search bar, and notice that it doesn't find the sentence you entered.
  3. Type "heads" in the search bar, notice it still doesn't find the sentence you entered.
  4. Type "investigated", and notice that it does find the sentence.

System Information:

elliotolds commented 3 years ago

After playing with this a bit more, it seems like there may be a limit of 15 search results that is causing this behavior for me. It's not clear that it's not showing all search results, and in the case of "tails" it's especially unclear because fuzzy matches like "details" are the only ones that appear. Exact matches should probably appear before fuzzy ones.