Advanced Searching Using Externally-Hosted Elasticsearch Instance

Hi there,

I am trying to enable search with Elasticsearch enabled for my self-hosted Gitlab instance.

My question is this:

I have an Elasticsearch instance that is external to my Gitlab instance i.e. my Gitlab instance is hosted on one server and my Elasticsearch instance is hosted on another server.

Am I able to use the external Elasticsearch instance to provide the Elasticsearch functionality that Gitlab requires in order to enable Advanced Search functionality?

Thanks,
Sean