UseEasyJSON is an experimental setting that enables serialization with github.com/mailru/easyjson, which should in faster serialization time and less allocations, but removed compatibility with encoding/json, usage of unsafe etc. See https://github.com/mailru/easyjson#issues-notes-and-limitations fo
(enable bool)
| 70 | // usage of unsafe etc. See https://github.com/mailru/easyjson#issues-notes-and-limitations |
| 71 | // for details. This setting is disabled by default. |
| 72 | func (r *BulkCreateRequest) UseEasyJSON(enable bool) *BulkCreateRequest { |
| 73 | r.useEasyJSON = enable |
| 74 | return r |
| 75 | } |
| 76 | |
| 77 | // Index specifies the Elasticsearch index to use for this create request. |
| 78 | // If unspecified, the index set on the BulkService will be used. |
nothing calls this directly
no outgoing calls
no test coverage detected