We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
阿里云服务器中 使用docker 配置了 es 和ssgo。 搜索后 返回空数据:
{ "took": 2, "total": 0, "data": [] }
IP: http://IP/api/search?query=hello&pageNo=1&pageSize=10 可能与我的es 创建的索引aliyunpan有关 参数如下:
PUT /aliyunpan { "settings": { "index": { "number_of_shards": 3, "number_of_replicas": 2 } } }
The text was updated successfully, but these errors were encountered:
索引名可以通过环境变量ES_INDEX配置
ES_INDEX
ES里面有数据吗?试试:
curl -XGET 'http://localhost:9200/<你的索引名>/_count'
Sorry, something went wrong.
{"count":0,"_shards":{"total":3,"successful":3,"skipped":0,"failed":0}}
es版本:7.6.2
{"count":0,"_shards":{"total":3,"successful":3,"skipped":0,"failed":0}} es版本:7.6.2
那应该是你的ElasticSearch里面本身就没数据
No branches or pull requests
需求描述
阿里云服务器中 使用docker 配置了 es 和ssgo。 搜索后 返回空数据:
IP:
http://IP/api/search?query=hello&pageNo=1&pageSize=10
可能与我的es 创建的索引aliyunpan有关
参数如下:
The text was updated successfully, but these errors were encountered: