Elasticsearch Script to fetch a document by ID. Can be used for sorting or joining when parent-child wont do.