lucene-ruby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: reset solr index
Date Sun, 03 May 2009 01:40:44 GMT

On May 1, 2009, at 11:32 PM, Geetha wrote:
> I've installed solr-ruby and integrated the same also.
> I need to clear the solr index.
> I need a way to clear the db and also need a function (through solr  
> ruby) that will allow us to clear everything.

How are you integrating the DB and Solr?   acts_as_solr?

Clearing the Solr index from solr-ruby is as easy as just sending a  
delete_by_query of *:* and doing a commit.  Details were replied to on  
the solr-user list the other day:




View raw message