You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the getPayload() method we therefore have this:
response.getSourceAsMap().get(PAYLOAD_FIELD)
This seems extremely inefficient. If we want to stay with ES here and there's really no way to store a raw string, we should at least replace the getSourceAsMap() with some string operation like response.getSourceAsString().substring(X).substring(0,Y);
The text was updated successfully, but these errors were encountered:
Currently the payload is stored in a separate index. It seems only possible to store a string within a json so we have something like following:
In the getPayload() method we therefore have this:
This seems extremely inefficient. If we want to stay with ES here and there's really no way to store a raw string, we should at least replace the
getSourceAsMap()
with some string operation likeresponse.getSourceAsString().substring(X).substring(0,Y);
The text was updated successfully, but these errors were encountered: