Fix typo
Improve elasticsearch configuration