id of document
optional index of request, the index can be specified by API path
optional type of request, the type can be specified by API path
the document source
This function used for build bulk request body
This function used for build bulk request body
The ndjson format with the first line is meta data, the second line is document data
Update document request
optional index of request, the index can be specified by API path
optional type of request, the type can be specified by API path
id of document
the document source