public function PreferredSearchCoreService::getPreferredCoreUrl in Acquia Connector 8
Same name and namespace in other branches
- 7.3 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::getPreferredCoreUrl()
- 7.2 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::getPreferredCoreUrl()
Returns URL for the preferred search core.
Return value
string URL string, e.g. http://useast1-c1.acquia-search.com/solr/WXYZ-12345.dev.mysitedev
File
- acquia_search/
src/ PreferredSearchCoreService.php, line 197
Class
- PreferredSearchCoreService
- Serivce to check for preferred search core.
Namespace
Drupal\acquia_searchCode
public function getPreferredCoreUrl() {
$core = $this
->getPreferredCore();
return 'http://' . $core['balancer'] . '/solr/' . $core['core_id'];
}