Re: How can I delete the entire contents of the index?

2010-09-23 Thread Chris Hostetter
: Lucene has an API for very fast deletion of the index (ie, it removes : the files): IndexWriter.deleteAll(). It's part of the transaction, ... : But I don't know whether this is exposed in Solr... Solr definitely has optimized the delete *:* case (but i don't know if it's using the spe

Re: How can I delete the entire contents of the index?

2010-09-23 Thread Michael McCandless
> >    5. Send an command. > > ? Why do you need to optimize an empty index? Or is my understanding of > Optimize incorrect? > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-can-I-delete-the-entire-contents-of-the-index-tp1565548p1567640.html > Sent from the Solr - User mailing list archive at Nabble.com. >

RE: How can I delete the entire contents of the index?

2010-09-23 Thread Jonathan Rochkind
tual delete command followed by an optimize. From: kenf_nc [ken.fos...@realestate.com] Sent: Thursday, September 23, 2010 8:22 AM To: solr-user@lucene.apache.org Subject: Re: How can I delete the entire contents of the index? Quick tangent... I went to the lin

Re: How can I delete the entire contents of the index?

2010-09-23 Thread kenf_nc
this message in context: http://lucene.472066.n3.nabble.com/How-can-I-delete-the-entire-contents-of-the-index-tp1565548p1567640.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How can I delete the entire contents of the index?

2010-09-22 Thread Ryan McKinley
*:* will leave you a fresh index On Thu, Sep 23, 2010 at 12:50 AM, xu cheng wrote: > the query that fetch the data you wanna > delete > I did like this to delete my data > best regards > > 2010/9/23 Igor Chudov > >> Let's say that I added a number of elements to Solr (I use >> Webservice::Solr

Re: How can I delete the entire contents of the index?

2010-09-22 Thread Gora Mohanty
On Thu, Sep 23, 2010 at 9:05 AM, Igor Chudov wrote: > Let's say that I added a number of elements to Solr (I use > Webservice::Solr as the interface to do so). > > Then I change my mind and want to delete them all. > > How can I delete all contents of the database, but leave the database > itself,

Re: How can I delete the entire contents of the index?

2010-09-22 Thread xu cheng
the query that fetch the data you wanna delete I did like this to delete my data best regards 2010/9/23 Igor Chudov > Let's say that I added a number of elements to Solr (I use > Webservice::Solr as the interface to do so). > > Then I change my mind and want to delete them all. > > How can I del

How can I delete the entire contents of the index?

2010-09-22 Thread Igor Chudov
Let's say that I added a number of elements to Solr (I use Webservice::Solr as the interface to do so). Then I change my mind and want to delete them all. How can I delete all contents of the database, but leave the database itself, just empty? Thanks i