some examples written when learning elasticsearch-php