我正在研究ongr.io的ElasticSearchBundle,但是找不到执行多索引搜索或查询的方法。我是否正在忽略某些东西,或者只是不可能(尚未)?
根据文档,您在configuration中指定要使用的索引,而不是performing the search时。
最佳答案
您可以为多索引搜索目的创建单独的管理器,并定义由逗号分隔的索引名称。
connections:
default:
hosts:
- 127.0.0.1:9200
index_name: "firstIndex,secondIndex"
关于php - ongr.io的ElasticSearchBundle是否可以进行多索引搜索?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39997656/