lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Delte all docs in a SOLR index?
Date Fri, 09 Nov 2007 18:51:03 GMT

: 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-9aafb5d8dff5308e8ea4fcf4b71f19f029c4bb99



-Hoss


Mime
View raw message