algoliasearch-rails: `rake algoliasearch:reindex` doesn't do anything.
Hi Guys,
I’m trying to index all of my AlgoliaSearch
models for the first time. Was going to write a quick rake
task to do this for me but I found you guys already had done that. The only thing is, I run it and it doesn’t do anything. 😕
I investigated a little further and it seems like the AlgoliaSearch::Utilities.get_model_classes
returns an empty Array
.
Is there anything I should know about here?
Thanks.
Josh
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 19 (15 by maintainers)
Commits related to this issue
- Fix algoliasearch:reindex rake task. • Updated `AlgoliaSearch::Utilities::get_model_classes` with `respond_to?(:reindex)` checked. -> Prior to this, it was always return an empty array. • Update `re... — committed to joshuapinter/algoliasearch-rails by joshuapinter 7 years ago
- Fix algoliasearch:reindex rake task. • Updated `AlgoliaSearch::Utilities::get_model_classes` with `respond_to?(:reindex)` checked. -> Prior to this, it was always return an empty array. • Update `re... — committed to algolia/algoliasearch-rails by joshuapinter 7 years ago
Sounds good. I’ll get to that later today. But I actually will this time. 😃