I will close this ticket since automatic recreation of indexes on errors is not something we can consider at the moment. However, the following two fixes coming in Hibernate Search 6.0.0.Beta6 should address your use case:
- As of HSEARCH-3759 Pull Request Sent , we will expose schema management APIs, so that you can create/drop/validate the Elasicsearch indexes and schema manually
- As of HSEARCH-3751 Pull Request Sent , the mass indexer exposes the (dropAndCreateSchema() option to drop and create indexes and their schema before reindexing.
|