As for the script, im not sure what to provide else then the mapping used to create the index and the ES seach query and answer. Any other step would help?
What would help is a script that:
- delete the index
- create the index with mapping
- index a document
- run a search
This script can be then just copied and paste in Kibana dev console so we can just run it and see. Exactly what is described in About the Elasticsearch category