#121 ✓resolved
Bogdan Gusiev

Implement sunspot:solr:ping task

Reported by Bogdan Gusiev | May 27th, 2010 @ 02:21 PM | in 1.3

Hello Mat,

In order to check if solr is up and running before doing anything
we need to have sunspot:solr:ping task.
(should raise exception if solr doesn't response)

That would be extremely useful as other tasks dependency:
task :spec => ["spec:env", "sunspot:solr:ping"] # check if solr response in test environment before running specs

namespace :resque do
task :work => ["sunspot:solr:ping"] end

And other application specific tasks.

We are using it in our projects, so can prepare a patch for you.


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Awesome Solr interaction for Ruby

People watching this ticket