On Apr 29, 2009, at 12:19 AM, Geetha wrote:
I need a function (through solr ruby) for ruby that will allow us to clear everything

require 'solr'
solr = Solr::Connection.new("http://localhost:8983/solr";)
solr.delete_by_query('*:*')
solr.commit

        Erik

Reply via email to