You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using solr_search as an extension to a 0.11 gem based site. I was writing a rake task to iterate all my products, do a gsub on the "name" attribute, and then call "save" method on the object.
Rake task blew out, as solr_search could not deal with . handing it a nil.[] object.
I had to take :all out of my Spree plugin load line in preinitializer.rb to get my rake task to run. I am now scares that ANY and all of my rake tasks dealing with Spree products will cause issues with Solr.
Is there some way to use rake tasks to CRUD Products without causing Solr to error out?
Thanks for any suggestions.
The text was updated successfully, but these errors were encountered:
Hi,
Using solr_search as an extension to a 0.11 gem based site. I was writing a rake task to iterate all my products, do a gsub on the "name" attribute, and then call "save" method on the object.
Rake task blew out, as solr_search could not deal with . handing it a nil.[] object.
I had to take :all out of my Spree plugin load line in preinitializer.rb to get my rake task to run. I am now scares that ANY and all of my rake tasks dealing with Spree products will cause issues with Solr.
Is there some way to use rake tasks to CRUD Products without causing Solr to error out?
Thanks for any suggestions.
The text was updated successfully, but these errors were encountered: