|
A method like
void purge(String indexName);
would remove all entities (also the ones still managed). I think what you would need is a proposal similar to HSEARCH-1765, so that you can create a custom Query. Would that work for you?
Remember an easy workaround is to use the MassIndexer to rebuild it all.
|