【发布时间】:2019-10-08 18:39:30
【问题描述】:
PS:我是弹性搜索的新手
http://localhost:9200/indexname/domains/<mydocname>
假设我们有indexname 作为我们的索引,并且我在<mydoc> 上传了很多文档,其域名为:
http://localhost:9200/indexname/domains/google.com
http://localhost:9200/indexname/domains/company.com
查看 http://localhost:9200/indexname/_count ,表示我们有 "count": 119687 数量的文档。
我只想让我的弹性搜索返回所有119687 域名的文档名称。
我如何实现这一目标,是否可以在一个查询中实现这一目标?
【问题讨论】:
-
所以你想在结果中包含 [google.com, company.com]?
标签: elasticsearch elastic-stack amazon-elastic-beanstalk