How to create finger print ingest pipeline for nested field?

Hi every body.
I have a mapping with nested field.
I want to identify a finger print for every rows in nested field .
how can create this ingest pipeline?
I`m using Elasticsearch v 7.17.7

my mapping:

PUT test-nested-fingerprint
{
  "mappings": {
    "properties": {
      "message_id":{
        "type": "keyword"
      },
      "message":{
        "type": "text"
      },
      "comments":{
        "type": "nested",
        "properties": {
          "comment_message":{
            "type":"keyword"
          },
          "comment_date":{
            "type":"date"
          },
          "comment_user_id":{
            "type":"keyword"
          },
          "comment_id":{
            "type":"keyword"
          }
        }
      }
    }
  }
}

Would that help?

thanks @dadoonet . its work .

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.