You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ahmad ajiloo <ah...@gmail.com> on 2011/09/23 09:10:24 UTC

How to delete all of the Indexed data?

Hi all
I sent my data from Nutch to Solr for indexing and searching. Now I want to
delete all of the indexed data sent from Nutch. Can anyone help me?
thanks

Re: How to delete all of the Indexed data?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi Ahmad,

Ah, that's a FAQ! :)
http://search-lucene.com/?q=delete+all+documents&fc_project=Solr&fc_type=wiki


Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


----- Original Message -----
> From: ahmad ajiloo <ah...@gmail.com>
> To: solr-user@lucene.apache.org
> Cc: 
> Sent: Friday, September 23, 2011 3:10 AM
> Subject: How to delete all of the Indexed data?
> 
> Hi all
> I sent my data from Nutch to Solr for indexing and searching. Now I want to
> delete all of the indexed data sent from Nutch. Can anyone help me?
> thanks
>

Re: How to delete all of the Indexed data?

Posted by Héctor Trujillo <he...@gmail.com>.
  Hi, I suppose that this isn't what you mean but I leave it here, because
it could help you.

If this what you need?



Using SolrJ, I delete all the rows of the index whit this command:

solr.deleteByQuery("id:*");



But you need to delete all the rows inserted from Nutch, could be this helps
you.



Regards,

Hector

2011/9/23 ahmad ajiloo <ah...@gmail.com>

> Hi all
> I sent my data from Nutch to Solr for indexing and searching. Now I want to
> delete all of the indexed data sent from Nutch. Can anyone help me?
> thanks
>

Re: How to delete all of the Indexed data?

Posted by "tamanjit.bindra@yahoo.co.in" <ta...@yahoo.co.in>.
Just another point worth mentioning here.. Though its related to Nutch and
not Solr..

If you want to re-crawl and try to get new data into the index, you have to
remove data from the crawl folder (default for nutch) of nutch too.. Only
then will you get fresh crawled data (not to be confused with re-crawled
data)

--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-delete-all-of-the-Indexed-data-tp3361148p3362558.html
Sent from the Solr - User mailing list archive at Nabble.com.