You are here

public static function Apache_Solr_Service_Balancer::escapePhrase in Apache Solr Search 5

Escape a value meant to be contained in a phrase for special query characters

Parameters

string $value:

Return value

string

File

SolrPhpClient/Apache/Solr/Service/Balancer.php, line 69

Class

Apache_Solr_Service_Balancer
Reference Implementation for using multiple Solr services in a distribution. Functionality includes: routing of read / write operations failover (on selection) for multiple read servers

Code

public static function escapePhrase($value) {
  return Apache_Solr_Service::escapePhrase($value);
}