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!
https://stackoverflow.com/questions/67030187/where-can-i-find-the-reference-for-the-spring-data-elasticsearch-configuration-p April 10, 2021 at 10:08AM
没有评论:
发表评论