Skip to content

Search fails for words that are present after about 44 characters in a bullet #1469

Closed

Description

@redstreet

Describe the bug
Search fails for words that are present after about 44 characters in a bullet

To Reproduce
Steps to reproduce the behavior:

  1. Create a bullet that's at least 44 chars long
  2. type a word (eg: "mouse") at the end of it
  3. Search for the word "mouse"

Expected behavior
Search hit is found.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 10, 0.0.11
    search

Activity

  1. redstreet commented on Mar 16, 2021

    @redstreet
    Author

    #1051 may be the same, not sure.

  2. added
    :type/bug
    on Mar 16, 2021
  3. redstreet commented on Mar 17, 2021

    @redstreet
    Author

    Thanks for the quick turnaround! Curious, does this mean parsing for search stops at 1000 chars now? If so, is the concern performance? I have much longer lines than that fairly often, hence the question.

  4. cnrpman commented on Jan 16, 2022

    @cnrpman
    Collaborator

    Sorry for a very late update :)

    The current desktop app doesn't have such issue. It has no problem with searching in super large block (although it doesn't follow our design, and some UI improvement required.)

    Meanwhile, the issue still exists on browser, as it's using fuse.js. May resolve this via splitting candidates into pieces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    :type/bugsearch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions