Skip to content

Interesting problem with solr_search #4

Description

@resistorsoftware

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions