I currently have an elastic document with a field called grade. This field is an empty string. In Kibana, its registered as grade: (empty). Now when I try to update grade via:
POST index/_update/_id
{
"doc": {
"grade" : "A"
}
}
In Kibana, I see grade: (empty), A in that particular document. Updating again with a different grade (say B) would return a grade: (empty), B so it definitely has something to do with the fact that grade for that particular document is empty. How do I fix this most efficiently (i.e. not deleting the entire document and recreating etc.) ?
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.