On Apr 24, 2009, at 1:54 AM, sagi4 wrote:
Can i get the rake task for clearing the index of solr, I mean "rake
index::rebuild", It would be very helpful and also to avoid the delete id by
manually.

How do you currently build your index?

But making a Rake task to do perform Solr operations is generally pretty trivial. In Ruby (after gem install solr-ruby):

   require 'solr'
   solr = Solr::Connection.new("http://localhost:8983/solr";)
   solr.optimize  # for example

        Erik

Reply via email to