: ...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 queries. : 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> -Hoss