Fix search block's elasticsearch client configuration