Across the web, I can see that spring-data-elasticsearch
has some configuration properties that you can define in your application.properties
, such as:
spring.data.elasticsearch.repositories.enabled=true
spring.data.elasticsearch.cluster-nodes=localhost:9300
spring.data.elasticsearch.cluster-name=elasticsearch
elasticsearch.index.name=my_index
elasticsearch.user.type=user
However, in IntelliJ, I can see that, for example:
spring.data.elasticsearch.cluster-nodes=localhost:9300
spring.data.elasticsearch.cluster-name=elasticsearch
... are actually now deprecated. However, I can't seem to find anything in the spring-data-elasticsearch
documentations that either lists what the available properies are, or, what the deprecated ones should be replaced with instead.
Any help would be welcome. Thanks in advance!