Hi,
How to save quotations like "" and slash like \ in json in elasticsearch.
I am running below command but it fails:
PUT my_index/_doc/1
{
"name": "Some information",
"value": "//\/"
}
Thanks,
Hi,
How to save quotations like "" and slash like \ in json in elasticsearch.
I am running below command but it fails:
PUT my_index/_doc/1
{
"name": "Some information",
"value": "//\/"
}
Thanks,
Hi,
Any Update??
Hi,
Elasticsearch needs the special characters to be backslashed in the PUT request. In order to send the special characters backslash you need to do like this:
PUT my_index/_doc/1
{
"name": "Some information",
"value": "\\\""
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.