Skip to content

[Search] FAILS to find pages with long names! #11026

@stdword

Description

@stdword

Search first

  • I searched and no similar issues were found

What Happened?

This is pretty BIG ISSUE. As far as I thinking about search in terms «it could be very slow, but find what I need», but not in terms «sometimes it cannot find page» — I even don't know how much times I thought «there is no such note in my graph» instead of real «the app couldn't find it».

NOTE: this doesn't related to graph size

Reproduce the Bug

  1. Create a reference to the page with name: «this is the page and its name is very long — so long, that final words cannot be found in logseq search and this is a REALLY big issue»
CleanShot 2024-02-22 at 04 17 18@2x
  1. Open search (cmdk) & try to find by search term «really iss»
CleanShot 2024-02-22 at 03 41 53@2x
  1. See, there is no such page in search results, but there is the result in blocks section

NOTE: the first words of the page name easily could be found:
CleanShot 2024-02-22 at 04 33 53@2x

Expected Behavior

  1. All pages would be found despite of length of the name.
  2. What I expect from the search, is that the relevance would be increasing with entering the characters. That means every new character in search input would decrease the number of found pages. The current state is different:

Number of search results changes with typing in this demo: 99+ → 99+ → 29 → 8 → 1 → 5 (!) → 0 → 2 (!) → 0

Desktop or Mobile Platform Information

MacOS v13.4
Logseq Desktop v0.10.6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions