I'm new to solr (working on solrb with Erik). We have some functional tests that run against a live solr instance, and I'd like the tests to periodically remove all the documents from the index. This way tests will have a predictable outcome that is independent on the state of the index before the test.

I was thinking I could do a query that pulls back all the document ids in the index, and then delete each one...but I'm not quite sure how I could perform such a select. Does anyone have any ideas?

//Ed

Reply via email to