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

Index listener #4218

Merged
merged 1 commit into from
Jan 26, 2020
Merged

Index listener #4218

merged 1 commit into from
Jan 26, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jan 25, 2020

Adds Hyrax.publisher.subscribe(Hyrax::Listeners::MetadataIndexListener.new) to config/initializers/listeners.rb

Adds publishing an object.metadata.updated event to the after_create_concern callback.

@ghost ghost force-pushed the index-listener branch 2 times, most recently from e22060d to 281ab0d Compare January 25, 2020 04:16
@ghost
Copy link
Author

ghost commented Jan 25, 2020

@no-reply I backed out the additional method, and passing the Indexer to the adapter. The problem with the latter that I was seeing in the console is the same issue with the ValykrieIndexer.for not retrieving the right Indexer that I'm hoping to fix in #4221.

@no-reply no-reply merged commit ed0ab01 into master Jan 26, 2020
@no-reply no-reply deleted the index-listener branch January 26, 2020 22:07
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