Can we use an external Elasticsearch instance inst

2019-09-07 12:12发布

问题:

As we have maintained explicitly an Elasticsearch service on our server, can we use that Elasticsearch service instead of inbuilt one which is in Sonarqube 4.5?

If not, then can we access built in Elasticsearch service on HTTP? If so, could you please tell us how to access it?

Thanks, Pravin

回答1:

SonarQube embeds an E/S server for its own needs, and this should remain a black box for SonarQube users.

In SonarQube 5.0, you will be able to enable ElasticSearch HTTP connector for debugging purposes - see SONAR-5692. But keep in mind that in no case, you should try to trick or modify the E/S servers launched by SonarQube.