How to get row.document() with java SDK 3.x

Hi Porta,

Thanks for clarifying the issue. I asked around and learned that the “include docs” feature was not carried forward from SDK 2 to SDK 3; as a result, it’s necessary to fetch the document content in a separate request. I realize this probably isn’t the answer you were hoping for. As I understand it, the motivation for this change was to simplify the View API, and to give users more flexibility in how they want to load the documents.

In SDK 3, the most efficient way to get the document bodies would be to use the reactive API to issue a batch request.

Thanks,
David

1 Like