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

Reduce index size: drop superfluous updated_by/at fields #85

Open
petli opened this issue Oct 30, 2014 · 0 comments
Open

Reduce index size: drop superfluous updated_by/at fields #85

petli opened this issue Oct 30, 2014 · 0 comments
Milestone

Comments

@petli
Copy link
Member

petli commented Oct 30, 2014

A lof of added/updated fields doesn't have to be set:

Work.updated_by should not be set on first creation, it is sufficient with Work.added_by.

Work.updated_at should not be set on first creation, it is sufficient with Work.added_at.

Work.annotations.updated_by should not be set when the annotation is added (or updated) by the same user as Work.added_by.

Work.annotations.updated_at could be skipped if the time is within e.g. 1 minute of Work.added_by. (or shorter?)

@petli petli added this to the Elog.io index milestone Oct 30, 2014
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

No branches or pull requests

1 participant