On Apr 24, 2009, at 1:54 AM, sagi4 wrote:
Can i get the rake task for clearing the index of solr, I mean "rakeindex::rebuild", It would be very helpful and also to avoid the delete id bymanually.
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