Closed
Description
Hi,
I'm having trouble determining how I can retrieve the corresponding document ids in a IMultiTermVectorsResponse instance. This issue is similar to the one listed in issue #1484. A solution was added for this issue, but it looks like the solution may have been removed as part of a set of breaking changes due to many version updates since then.
I'm using NEST version 2.02.
` var termVectorResponse = ElasticClient.MultiTermVectors(new MultiTermVectorsRequest(IndexName, Type)
{
Documents = documentIds.Select(id => new MultiTermVectorOperation<Document>(id)
{
...
})
});
termVectorResponse.Documents.Select(termVectorsResponse =>
{
// how do I get the document Id
termVectorsResponse.DocId = ???
}); `
Metadata
Metadata
Assignees
Labels
No labels