Please provide a full script we can use to reproduce locally.
Again see the example in About the Elasticsearch category. Please, try to keep the example as simple as possible. We basically need only one field here.
A full reproduction script is something anyone can copy and paste in Kibana dev console, click on the run button to reproduce your use case.