Querystring to search nested objects

I have the following mapping

"schema": {
          "type": "nested",
          "properties": {
            "description": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            },
            "name": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            }

I want to search the terms inside the schema, How to write the querystring for this?
I tried the below query string and its returning null
http://localhost:9200/test/_search?q=schema.name:*abc*. But there is a match inside the data. Please let me know how to write querystring to search inside nested objects.

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