Mapping definition for [fields] has unsupported parameters: [analyzer : not_standard]

Hi,

   "givenName": {
                "analyzer": "my_analyzer",
                "type": "text",
                "fields": {
                    "keyword": {
                        "type": "keyword",
                        "analyzer":"not_standard"
                    }
                }
            },

this is the mapping i have for givenName attribute, and i get this exception

"caused_by": {
            "type": "mapper_parsing_exception",
            "reason": "Mapping definition for [fields] has unsupported parameters:  [analyzer : not_standard]"
        }

whats wrong with this mapping

Thanks

You can't have an analyzer with a keyword data type. You can use a normalizer if needed.

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