lucene-ruby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
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:

   <http://www.lucidimagination.com/search/document/ff32b0089f2bf142/how_to_reset_the_index_in_solr

 >

	Erik

Mime
View raw message