简体   繁体   中英

Can I run Solr server without running rake command for rails application?


Is there any alternate way for running solr server without running rake command for rails application like providing all those solr related classes into single jar and then use that jar.


Please suggest some of the solutions regarding this

Thanks

I don't know if you checked Sunspot (the best haha), but you can use the start/stop commands, for example: https://github.com/sunspot/sunspot#sunspot_rails

bundle exec sunspot-solr start -p 8983

Also check this out for an example https://gist.github.com/doitian/1795439 (integrates Sunspot with Capistrano, but you can get an idea of the implementation)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM