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

I am trying to setup solr sunspot search in production mode. #552

Closed
V1n0d opened this issue Feb 20, 2014 · 1 comment
Closed

I am trying to setup solr sunspot search in production mode. #552

V1n0d opened this issue Feb 20, 2014 · 1 comment
Labels
support Support requests

Comments

@V1n0d
Copy link

V1n0d commented Feb 20, 2014

I am trying to setup solr sunspot search in production mode.

I have followed the below tutorial and got success in setting up tomcat-solr server running. http://www.arborisoft.com/how-to-install-apache-solr-4-4-on-ubuntu-12-04/

I ran

rails generate sunspot_rails:install

and configured the config/sunspot.yml file.

For development mode I used 'sunspot_solr' gem(which is not advisable for production mode) and got this command working.

bundle exec rake sunspot:solr:start

When I removed this gem

it's giving me following error

Note: This task has been moved to the sunspot_solr gem. To install, start and
stop a local Solr instance, please add sunspot_solr to your Gemfile:

group :development do
gem 'sunspot_solr'
end

I have tried adding this to Rakefile:

require 'sunspot/solr/tasks'

when I run the following command

bundle exec rake app:sunspot:solr:start

I am getting the following error

rake aborted!
cannot load such file -- sunspot/solr/tasks

I am using rails 4.

I don't know what I've missed. I have searched for the solution in and out of stackoverflow. But I couldn't get any reference. Even if I find any since I am a rails noob, I couldn't understand what they are talking about. any solution will be really helpful.

@sunspot sunspot deleted a comment from ma2kubo May 16, 2019
@mlh758 mlh758 added the support Support requests label May 16, 2019
@mlh758
Copy link
Collaborator

mlh758 commented May 16, 2019

Closing this due to age.

@mlh758 mlh758 closed this as completed May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support requests
Projects
None yet
Development

No branches or pull requests

2 participants