Switch elasticsearch submodule protocol