您传递文档ID的方式有些变化。
今天看起来像:
var updateResponse = client.Update<Document, DocumentPartial>(1, descriptor => descriptor
.Doc(new DocumentPartial
{
Title = "new title"
}));
要么
var updateResponse = client.Update<Document, DocumentPartial>(DocumentPath<Document>.Id(1), descriptor => descriptor
.Doc(new DocumentPartial
{
Title = "new title"
}));
希望能帮助到你。