As I explained at length in my answer to your stackoverflow question, setting autoregister_listeners to false disables Hibernate Search completely, and that has been the case since Hibernate Search 5.5 at the very least. So this setting is unlikely to have anything to do with your problem. You're mentioning many refresh operations on Elasticsearch's side. Did you by any chance set hibernate.search.default.elasticsearch.refresh_after_write to true? Because that's bound to hurt performance *a lot*. So much so that we explained you shouldn't enable it in the documentation:
You should not rely on the synchronous behaviour for your production code except in rare cases as Elasticsearch is optimised for asynchronous writes: leave at false for optimal performance.
|