: 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
>
> 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.
>
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
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.
*:*
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
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,
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
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