spree-solr-search
spree-solr-search copied to clipboard
Interesting problem with solr_search
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.