Skip to content

Rails Session setup example #20

Description

@urkle

By default using Sunspot::IndexQueue::SessionProxy.new configures things to run with default configuration and ignoring the config/sunspot.yml file. Which ignores key parameters like the port solr is running on)

Could the documentation in the README be updated to also include this recipe for Rails users

corrected
Sunspot.session = Sunspot::IndexQueue::SessionProxy.new Sunspot::IndexQueue.new(session: Sunspot::Rails.build_session)

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