for example, int myProperty will be mapped in ES as {"type":"object"}. But when the plugin send the serialized domain to ES, ES fails to interpret properly the field as an integer.
Typing the property as Integer fix the issue.
The plugin should convert the primitive type to their Object wrapper equivalent for the mapping phase.
for example,
int myProperty
will be mapped in ES as{"type":"object"}
. But when the plugin send the serialized domain to ES, ES fails to interpret properly the field as an integer. Typing the property asInteger
fix the issue. The plugin should convert the primitive type to their Object wrapper equivalent for the mapping phase.