I want to update a specific field value in a document . Also I want to add new filed in this document . So here is the document that I want to update
GET _search
{
"query": {
"query_string": {
"query": "created:no AND eventId:95392012643",
"analyze_wildcard": true
}
}
}
I want to change created: no to created:yes also want to add new filed like ticket_number :INC0001231
Can someone help me to achieve this . I was checking the documents and found this can be achieved with update API , but unfortunately not able to achieve it .
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.