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

Interesting problem with solr_search #4

Open
resistorsoftware opened this issue Sep 16, 2010 · 0 comments
Open

Interesting problem with solr_search #4

resistorsoftware opened this issue Sep 16, 2010 · 0 comments

Comments

@resistorsoftware
Copy link

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.

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

No branches or pull requests

1 participant