Error in using dynamic mapping: Elasticsearch 6.2

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Instead of string, use text.
Instead of "index": "not_analyzed", you can either use keyword datatype (instead of text) or use "analyzer": "keyword".

HTH

1 Like