我编写了一个客户端服务器应用程序。我已经在服务器上设置了一个弹性搜索服务。客户端(iOS应用程序)从elastic-search服务查询信息。我有两个选择:
1. put the elastic-search behind a nginx server(as proxy server).
2. write an app running on the middle-ware to wrap the elastic-search APIs(only
certain APIs that will be queried by the client).
对于选项1,所有的elastic-sea
我在ElasticSearch中有五个不同的域,它们是索引的,应该用于全文搜索。 如果我做一个GET请求,比如 GET endpoint_to_my_elastic_search/*/_search?q=test 我得到了_score排序的结果。到目前为止一切都很好,但我希望有一个结果,显示我的10个最好的命中(按分数)的每个领域。我是这样尝试的: GET endpoint_to_my_elastic_search/domain1/_search?q=test&size=10
GET endpoint_to_my_elastic_search/domain2/_search?q=te
在Nest1.7.1删除或DeleteByQuery,没有任何工作对我。
我想删除以下文件:
Article article1 = new Article()
{
Id = 1111,
Title = "Title - Test Elastic Search",
Summary = "Summary - Test Elastic Search",
Body = "Body - Test Elastic S
我们新的翻转索引刚刚翻转过来。现在这个查询...
GET http://my.elastic/system-logs/_doc/7e8017d8-0cb8-4b9e-b021-b2a4b4ac71c7
使用以下内容进行...fails:
"Alias [system-logs] has more than one indices associated with it [[system-logs-000002, system-logs-000001]], can't execute a single index op"
但是用_search做同样的事情效果很好:
GET