acquia cloud – How can I programmatically query with the Acquai Search Connector Solr module?

I refer to the following post.

Programmatic queries via SearchApiAcquiaSearchService

Currently used & Search API module that connects to the Acquia Cloud with the Solr Server.

I tried

Use Drupal  search_api_solr  SolrConnector  SolrConnectorPluginManager.

$ server =  Drupal  search_api  Entity  Server :: load (& # 39; acquia_search_server & # 39;);
$ configuration = $ server-> getBackendConfig ();

$ solrConnectorPluginManager = new SolrConnectorPluginManager ();

$ solrConnectorPluginManager-> createInstance ($ configuration['connector']$ Configuration['connector_config']);

I want to make a programmatic connection and have to check how the Solr server is queried.