When do you need to re-index?

I just saw there’re several people who need to re-index all the time :joy:
So I’m creating this post to collect some feedback, and hopefully, we can fix them one by one.

2 Likes

Mostly when I make a change to an existing block, page, and a query is not picking up the change. I have to hit the re-index button to get the changes to show up.

1 Like

Is it possible to create a minimal reproducible markdown file with your example query? Afaik all the queries except the new added SRS cards will be re-run when updating an existing block. But this might be wrong.

Sure, i’ll see if I can track down something that’s easy to reproduce and share here.

2 Likes

Renaming pages is part of my workflow (as explained here: Project Pages for Task Mangagement - #2 by ChrisVn )

If I rename a page, the search for it does not return clear hits.
Sometimes the new page name is not shown as “page” in the hit list. Sometimes the old name still appears in the hit list.

A re-index solves the problem.

3 Likes

I use git mannually to sync
After a pull, the local files are changed.
But I open the app, the content is still old. Then I have to reindex mannually.

1 Like

I switch devices a lot between my work computer, home computer and mobile. These tend to get out of sync when the new device hasn’t synced back up. At that point i reindex or login/logout to get back into sync.

1 Like

When I add, non-link page properties, queries do not pick them up until I refresh that page or re-index. i.e.

#+is: active

Change is not reflected in queries, until this page refreshed, or a re-index.

1 Like

There is a problem when syncing with onedrive after I changed a device (eg. form office to home).
Before I open logseq, I confirmed that every page and pages-metadata.edn were synced in onedrive folder (judge by the modified time of the file).
But the main page (journals) did’t make a difference before I selected a re-indek or logseq reported an error.
How can I fix this? Could I add something in config.edn to get a indek automatically every time I open logseq?

Hi, there was some chat on this here Bring back the import/refresh button. but even better is that in version 0.3.8 (soon to be released) there will be something like this which will avoid having to re-index every time you swap machines
image

1 Like

Good news! Thanks for that.