Hi.
I'm facing some wierd problem with update api.
I have a document with object type inside.
for example:
{
"a":"a",
"b": {"c", "c"}
}
Now I want to update b entry with "{}" (clear object)
I would expect result:
{
"a":"a",
"b": {}
}
But I get:
{
"a":"a",
"b": []
}
ES converts object {} into array []
Why?
Is it issues with ES configuration?
I was testing it on 0.19.8 and 0.20.1
For updates I'm using java api
Hi.
I'm facing some wierd problem with update api.
I have a document with object type inside.
for example:
{
"a":"a",
"b": {"c", "c"}
}
Now I want to update b entry with "{}" (clear object)
I would expect result:
{
"a":"a",
"b": {}
}
But I get:
{
"a":"a",
"b":
}
ES converts object {} into array
Why?
Is it issues with ES configuration?
I was testing it on 0.19.8 and 0.20.1
For updates I'm using java api
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.