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
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
Index 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