I hope this helps you . By default, the dynamic mapping feature of ElasticSearch will map users as an object instead of nested. If you want to tune this behavior, you have to define explicitely a users attribute as nested either in :
How to create an Elasticsearch mapping with not_analyzed nested fields?
By : The_best
Date : March 29 2020, 07:55 AM
wish help you to fix your issue I think you are not checking this correctly, because your mapping looks good, the document being indexed looks good. How I would check it is like this: