iOS: Pages created before a recent app update are missing from search results
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- ios
- Domain
- mobile
Research direction
Start by reproducing the issue in the iOS app using pages created before the update, then compare results in the keyboard-toolbar search and the search page. No source files or tests are identified in the issue, so locate the search entry points first. Done means pre-update pages appear from the first typed character, including one- and two-character titles and partial matches among similarly named pages.
Written by the indexing model from the issue text.
Description
Search first
- I searched and no similar issues were found
What Happened?
Pages created before the update sometimes cannot be found.
- When searching with
[[]]on the keyboard toolbar:- Pages with a one-character title cannot be found.
- Pages with a two-character title cannot be found.
- For pages with a title of three or more characters, the search does not start until the third character is typed.
- When multiple pages start with the same word, some of them cannot be found by a partial search.
- When searching on the search page:
- Same as above.
PS. Pages newly created on 2.0.2 (42) can be found.
Reproduce the Bug
Pages with a one-character title cannot be found
- Before the update, create a page titled
桃(Peach). - After the update, search for
桃. - The page is not found.
Pages with a two-character title cannot be found
- Before the update, create a page titled
日本(Japan). - After the update, search for
日本. - The page is not found.
For pages with a title of three or more characters, the search does not start until the third character is typed
- Before the update, create a page titled
地雷グリコ(the title of a Japanese mystery novel). - After the update, search for it:
地alone does not find this page.地雷alone does not find this page.地雷グfinds this page.
When multiple pages start with the same word, some of them cannot be found by a partial search
I created the following pages before the update:
LogseqLogseq iOSLogseq macOSLogseq Native iOS
In my case, searching for Logseq finds:
LogseqLogseq iOSLogseq macOS
but does not find Logseq Native iOS.
Typing as far as Logseq Nat finds Logseq Native iOS.
Expected Behavior
As soon as the first character is typed, pages created before the update also appear in the search results.
Screenshots
https://github.com/user-attachments/assets/f5223d51-a827-4e14-b5d0-3c25a9221be7
Files
No response
Browser, Desktop or Mobile Platform Information
- iOS 27.2, Logseq 2.0.2 (42)
Additional Context
Japanese and Chinese in particular have many one- and two-character words, so not being able to search for these words is inconvenient.
My Logseq has 93 pages with two-character titles.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- Dominant language
- No language data
- Stars
- 29
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logseq/db-test
-
Web build on a phone: the fold arrow of an h1/h2 block lies on its bullet, so tapping the bullet folds instead of zooming inPossibly taken @tiensonqin claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Page titles with `$$`, `$&`, `` $` `` or `$'` change when block refs are resolvedPossibly taken @RaphaelFakhri claimed this 19 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
`#Asset` label is not displayed on asset nodes when `Hide from Node` is disabledPossibly taken @tiensonqin claimed this 22 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
IacobIonut01/ReFra#1388 ·
Maintainers usually reply within 17 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
apache/cordova-ios#1751 ·
Maintainers usually reply within 1 day
-
Tapping Model Copyright in the full-screen 3D model crashes the appPossibly taken @garthvh claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
meshtastic/Meshtastic-Apple#2971 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 6 days