These are very generic scripts - which are very useful setting up elasticsearch
Lets to index dpcuments automtically. just give a directory name and the script will index all documents automatically, will be adinng functionality to index docs from a remote server too.
This script contains bool queries from elasticsearch.