Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid some unnecessary index file writes. #3860

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

trollkotze
Copy link
Contributor

The variable word_idx modified in the getPageWords indexer method should be reset to false for each word index file, or all unchanged word index files after the first changed one will be resaved unnecessarily.

word_idx modified should be reset to false for each word index file, or all unchanged word index files after the first changed one will be resaved unnecessarily.
@splitbrain
Copy link
Collaborator

Well spotted! If you're interested in working some more on the index, have a look at #3810 and it's predecessors which aims to rewrite the whole indexing mechanism to be cleaner and reusable.

@splitbrain splitbrain merged commit bdc8a61 into dokuwiki:master Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants