Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *closed* an issue as *Won't Fix*
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 (
https://hibernate.atlassian.net/browse/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 (
https://hibernate.atlassian.net/browse/HSEARCH-3751 ) Pull Request
Sent , the mass indexer exposes the ( dropAndCreateSchema() option to drop and create
indexes and their schema before reindexing.
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZWE4MzBm...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-3749?atlOrigin=eyJpIjoiZWE...
) HSEARCH-3749 (
https://hibernate.atlassian.net/browse/HSEARCH-3749?atlOrigin=eyJpIjoiZWE...
) ElasticsearchIndexManager must allow or automatically recreate index (
https://hibernate.atlassian.net/browse/HSEARCH-3749?atlOrigin=eyJpIjoiZWE...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Assignee: Yoann Rodière Resolution: Won't Fix Status: Open Closed
(
https://hibernate.atlassian.net/browse/HSEARCH-3749#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3749#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:6148daa )