只要找出关于nest的事。我已经在Elastic Search中插入了一些文档。现在,我想根据我的类型subcriberId搜索数据。我确实运行了curl,它工作得很好。但是当我尝试使用nest时,没有找到结果。
我的卷发很管用:
我的嵌套代码:
var local = new Uri("http://localhost:9200");
var settings = new ConnectionSettings(local);
var elastic = new ElasticClient(settings);
在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
我的问题是当我调用.Search(...)它返回的结果为所有字段设置了所有空值(即使字段具有有效数据)。 MyClass是: public class Member {
public string ID { get; set; }
public string ClientID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string EmailAddr
我想首先将elastic search返回的结果限制为1000个(按_score排序),然后按特定字段对这1000个结果进行排序。
SQL中的一个示例是-
select name,count,score
from
(select name,count,score from users order by score limit 1000) A
order by count
我如何在elastic search中做到这一点?