79171848

Date: 2024-11-08 23:48:53
Score: 1.5
Natty:
Report link

You don't need any of that code if you just use spring-boot-starter-data-elasticsearch as a dependency and set up the properties according to the doc https://docs.spring.io/spring-boot/appendix/application-properties/index.html#appendix.application-properties.data

Look for the spring.elasticsearch properties. It will greatly simplify your configuration.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Chasca