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
will throw un exception.
Also with the OBJECT_MAPPER.writeValueAsString(doc.pojo)), we send a request with"fields":"{....}", that makes the fields type as String and cloudsearch does not like it. We need to use the following code:
The solution is to usejgen.writeObjectField("fields", doc.pojo);
That makes the fields with a json object
ZoneDateTime could not be serialized,
Solution: we need to configure WRITE_DATES_AS_TIMESTAMPS to false and registry module JavaTimeModule which is from jackson-datatype-jsr310
Again, great job!
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I really like the conception you made. Greate JOB.
But after test I found some issues.
will throw un exception.
Also with the OBJECT_MAPPER.writeValueAsString(doc.pojo)), we send a request with
"fields":"{....}"
, that makes the fields type as String and cloudsearch does not like it. We need to use the following code:The solution is to use
jgen.writeObjectField("fields", doc.pojo);
That makes the fields with a json object
Solution: we need to configure WRITE_DATES_AS_TIMESTAMPS to false and registry module JavaTimeModule which is from jackson-datatype-jsr310
Again, great job!
Thanks
The text was updated successfully, but these errors were encountered: