We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Not necessarily a bug, but there are some gotchas when trying to do a full reindex with queue mode,
e.g.
Product.reindex(mode: queue) Searchkick::ProcessQueueJob.perform_later(class_name: "Product")
Does not work as intended.
this does
Product.reindex(mode: queue) Searchkick::ProcessQueueJob.perform_later(class_name: "Product", index_name: "new_product_index_with_timestamp")
My guess is
searchkick/lib/searchkick/record_indexer.rb
Line 51 in a682677
reindex_queue.send(:redis_key)
new_product_index_with_timestamp
But when process queue job pulls in the data
searchkick/lib/searchkick/process_queue_job.rb
Line 11 in a682677
It will be good to update to fix the code path to always use alias name. Or update the readme with a note.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Not necessarily a bug, but there are some gotchas when trying to do a full reindex with queue mode,
e.g.
Does not work as intended.
this does
My guess is
searchkick/lib/searchkick/record_indexer.rb
Line 51 in a682677
reindex_queue.send(:redis_key)
will returnnew_product_index_with_timestamp
But when process queue job pulls in the data
searchkick/lib/searchkick/process_queue_job.rb
Line 11 in a682677
it uses alias.
It will be good to update to fix the code path to always use alias name. Or update the readme with a note.
The text was updated successfully, but these errors were encountered: