I guess I better look into trunk -- not familiar with it yet.

----- Original Message ----
From: Mike Klaas <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Friday, November 9, 2007 6:49:40 PM
Subject: Re: Delte all docs in a SOLR index?


On 9-Nov-07, at 3:42 PM, Norskog, Lance wrote:

> A safer way is to stop Solr and remove the index directory. There is
> less chance of corruption, and it will faster.

In trunk, it should be quicker and safer than stopping/restarting.

Also, to clarify the 'corruption' issue, this should only be possible  
in the event of cold process termination (like power loss).

-Mike

> -----Original Message-----
> From: David Neubert [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 09, 2007 10:56 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Delte all docs in a SOLR index?
>
> Thanks!
>
> ----- Original Message ----
> From: Chris Hostetter <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Friday, November 9, 2007 1:51:03 PM
> Subject: Re: Delte all docs in a SOLR index?
>
>
>
> : Sorry for another basic question -- but what is the best safe way
 to
> : delete all docs in a SOLR index.
>
> I thought this was a FAQ, but it's hidden in another question
> (rebuilding if schema changes)  i'll pull it out into a top level
> question...
>
> <delete><query>*:*</query></delete>
>
> : I am in my first few days using SOLR and Lucene, am iterating the
> schema
> : often, starting and stoping with test docs, etc.  I like to know a
> very
> : quick way to clean out the index and start over repeatedly -- can't
> seem
> : to find it on the wiki -- maybe its Friday :)
>
> Huh .. that's actually the FAQ that does talk about deleting all docs
>  :)
>
> "How can I rebuild my index from scratch if I change my schema?"
>
> http://wiki.apache.org/solr/ 
> FAQ#head-9aafb5d8dff5308e8ea4fcf4b71f19f029c
> 4bb99
>
>
>
> -Hoss
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to