some edits to elasticsearching