mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 00:12:04 -06:00
serialize object directly
This commit is contained in:
parent
4382d2f0a3
commit
99a1b287e2
@ -61,7 +61,7 @@ public class IndexOpDispenser extends BaseOpenSearchOpDispenser {
|
||||
|
||||
private IndexRequest.Builder<?> bindDocument(IndexRequest.Builder builder, Object docdata) {
|
||||
String document = gson.toJson(docdata);
|
||||
return builder.document(document);
|
||||
return builder.document(docdata);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user