C# 增加返回大小弹性搜索
我用的是:C# 增加返回大小弹性搜索,c#,
elasticsearch,nest,C#,
elasticsearch,Nest,我用的是: var response = client.Search<Document>(s => s.Query(q => q.Ids(c => c.Values(new List<string>(tempDictionary.Keys))))); var-response=client.Search(s=>s.Query(q=>q.Ids(c=>c.Values)(新列表(tempDictionary.Keysщщ))); 但它最多只包含10个结
var response = client.Search<Document>(s => s.Query(q => q.Ids(c => c.Values(new List<string>(tempDictionary.Keys)))));
var-response=client.Search(s=>s.Query(q=>q.Ids(c=>c.Values)(新列表(tempDictionary.Keysщщ)));
但它最多只包含10个结果。我如何才能将其增加到100个呢?谢谢。来自
s => s
.From(0)
.Size(100)