Drop support for auto-configuring an embedded Elasticsearch node
Elastic have announced [1] that embedded Elasticsearch is no longer supported. This commit brings us into line with that announcement by removing the auto-configuration that would create an Elasticsearch Node and NodeClient. To use the Elasticsearch auto-configuration, a user must now provide the address of one or more cluster nodes (via the spring.elastisearch.cluster-nodes property) which will then be used to create a TransportClient. See gh-9374 [1] https://www.elastic.co/blog/elasticsearch-the-server
This commit is contained in:
@@ -1,6 +1 @@
|
||||
#
|
||||
# Home directory of the embedded Elasticsearch instance. Default to the
|
||||
# current working directory.
|
||||
#
|
||||
spring.data.elasticsearch.properties.path.home=target/elastic
|
||||
spring.data.elasticsearch.properties.transport.tcp.connect_timeout=120s
|
||||
spring.data.elasticsearch.cluster-nodes=localhost:9200
|
||||
|
||||
Reference in New Issue
Block a user