use elasticsearch settings from config