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

Lazy update attributes callback #7

Merged
merged 15 commits into from
Jul 10, 2024
Merged

Lazy update attributes callback #7

merged 15 commits into from
Jul 10, 2024

Conversation

marcosgz
Copy link
Owner

Add new update_lazy_attribute_callback callback type to models. This callback should be used to perform bulk update to the lazy_document_attribute defined in the index repository.

Also refactored all the callback structure in order to support multiple types of callbacks. Opened this interface for external applications add its own custom callback. It's part of upcoming features for async indexing with Sidekiq and Faktory.

The index_callbacks was renamed to index_callback and esse_index_repos renamed to esse_callbacks. They are deprecated and will be removed by the end of this year.

@marcosgz marcosgz merged commit 57474f1 into main Jul 10, 2024
18 checks passed
@marcosgz marcosgz deleted the marcosgz/lazy-update-attr branch July 10, 2024 20:19
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