Skip to content

pages import from file-based graph can not be searched after export&import db graph #317

Closed

Description

@chiuchiuuu

Search first

  • I searched and no similar issues were found

What Happened?

I have been trying the logseq database desktop recently. My db graph was imported from a file-based graph, everything works fine until today I got a new laptop. I export my sqlite db from my old laptop, and import it in my new laptop. Then i found that pages that created at file-based graph can not be searched, they can be seen&search from all pages

Image

but can not searched in either global search or page reference

Image

Image

Reproduce the Bug

  1. create a new db graph (graph2) by importing a file-based graph (graph1)
  2. export sqlite db of graph2
  3. create a new db graph (graph3) by importing a sqlite db graph

then you will find that in graph3, pages created at graph1 can not be searched, but those created at graph2 can be search.

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. changed the title [-]pages import from file-based graph can not be searched after export&import[/-] [+]pages import from file-based graph can not be searched after export&import db graph[/+] on Jun 12, 2025
  2. changed the title [-]pages import from file-based graph can not be searched after export&import db graph[/-] [+]pages imported from file-based graph can not be searched after export&import db graph[/+] on Jun 12, 2025
  3. transferred this issue fromlogseq/logseqon Jun 12, 2025
  4. tiensonqin commented on Jun 12, 2025

    @tiensonqin
    Contributor

    Have you tried cmd+k "Rebuild search index"?

  5. added
    bug
    on Jun 12, 2025
  6. chiuchiuuu commented on Jun 12, 2025

    @chiuchiuuu
    Author

    Have you tried cmd+k "Rebuild search index"?

    cmd+k pop up global search window, I can't find "rebuild search index" in this window

    Image

  7. tiensonqin commented on Jun 12, 2025

    @tiensonqin
    Contributor

    Oh, you need to input rebuild search index in the cmdk dialog.

  8. chiuchiuuu commented on Jun 12, 2025

    @chiuchiuuu
    Author

    Oh, you need to input rebuild search index in the cmdk dialog.

    I am using db version now , i remember that the db version does not have reindex like file version?

    Image

  9. tiensonqin commented on Jun 12, 2025

    @tiensonqin
    Contributor

    rebuild search index is different from reindex graph, it seems to be a bug, are there any console errors?

    Image

    If not, can you send the file graph or SQLite file for us to debug? If there's sensitive information, can you send us an exported transit file?

  10. self-assigned this
    on Jun 12, 2025
  11. chiuchiuuu commented on Jun 12, 2025

    @chiuchiuuu
    Author

    rebuild search index is different from reindex graph, it seems to be a bug, are there any console errors?

    Image If not, can you send the file graph or SQLite file for us to debug? If there's sensitive information, can you send us an exported transit file?

    I know why I can't search this command now 😂... My system language is chinese, the command should be searched in chinese.... This problem have been solved after rebuilding search index

  12. tiensonqin commented on Jun 12, 2025

    @tiensonqin
    Contributor

    Glad it's working now.

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions