lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: One big XML file vs. many HTTP requests
Date Mon, 22 May 2006 21:46:02 GMT

: ...but you can't simply
: <delete><query>FIELDNAME:*</query></delete>
: or
:  <delete><query>*</query></delete>

That's because the Lucene query parser doesn't support 100% wildcard

: What is the best way to delete all records, for example if you want to clear
: out the entire index and reindex everything?

if you really want to make sure *EVERYTHING* is gone -- delete the index
directory and bounce the port, solr will make a new one.

if you have a uniqueKey field, or some other field you are sure every
document contains an indexed value for, then just do an unbounded range
query on that field...

	 <delete><query>FIELDNAME:[* TO *]</query></delete>


View raw message