Echo/docs/Questions.md

14 lines
474 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 常见问题
## Elasticsearch相关
#### 1. none of the configured nodes are available
通常为es的配置问题请检查配置文件中es相关的配置设置是否和本地搭建的环境一致。
```yaml
# es
# 可以通过es的config目录下的配置文件 elasticsearch.yml 获取自己集群配置的cluster-name
spring.data.elasticsearch.cluster-name = docker-cluster
# 服务器的ip、端口
spring.data.elasticsearch.cluster-nodes = 127.0.0.1:9300
```