some tweaks around elasticsearch