public static function Apache_Solr_Service_Balancer::escape in Apache Solr Search 5
Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.
NOTE: inside a phrase fewer characters need escaped, use {@link Apache_Solr_Service::escapePhrase()} instead
Parameters
string $value:
Return value
string
File
- SolrPhpClient/
Apache/ Solr/ Service/ Balancer.php, line 58
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 escape($value) {
return Apache_Solr_Service::escape($value);
}