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

fix author indexing #1168

Merged
merged 3 commits into from
Feb 23, 2024
Merged

fix author indexing #1168

merged 3 commits into from
Feb 23, 2024

Conversation

haarg
Copy link
Member

@haarg haarg commented Feb 23, 2024

Fixes some issues introduced by my recent author indexing changes.

We need to limit out scroll search to only the author type or it gives us every document and takes forever (even if skipping the other documents).

Also we need to allow extra fields at the top level of the structure when comparing, because some fields can be added by the front end. And since we won't overwrite them, they should be ignored when comparing.

Adds some logging about author differences, since we shouldn't ever have to update all that many authors. Log the difference we found for every 10th change found.

Some fields are added from the front end rather than an author.json
file. Since we aren't updating those, we shouldn't count them as
different.
@haarg haarg force-pushed the haarg/fix-author-indexing branch from 8cce2a7 to bdf34ef Compare February 23, 2024 17:04
@haarg haarg changed the title Haarg/fix author indexing fix author indexing Feb 23, 2024
@haarg haarg merged commit 333322d into master Feb 23, 2024
1 check passed
@haarg haarg deleted the haarg/fix-author-indexing branch February 23, 2024 17:30
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.

1 participant