How do you use an error handler with Hibernate search 6.
I don’t find for the moment in the alpha-8 documentation or in the sample code (the ErrorHandler is moved to the legacy section)
I tried to add the property
I set my property to a full qualified class name “my.package.IndexUpdateErrorHandler”
The class is declared as “public class IndexUpdateErrorHandler implements ErrorHandler”
but I never reach the code in “handle” neither “handleException”.
I tried with some basic errors such as
- my database not reachable
- my elasticsearch not reachable
- a field not acceptable in elasticsearch (example a @GenericField > 32kb)
I see on all cases a lot of exception log but I cannot manage my errors with the handler.