public static function Apache_Solr_Service::phrase in Apache Solr Search 5
Convenience function for creating phrase syntax from a value
Parameters
string $value:
Return value
string
1 call to Apache_Solr_Service::phrase()
- Apache_Solr_Service_Balancer::phrase in SolrPhpClient/
Apache/ Solr/ Service/ Balancer.php - Convenience function for creating phrase syntax from a value
File
- SolrPhpClient/
Apache/ Solr/ Service.php, line 187
Class
- Apache_Solr_Service
- Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.
Code
public static function phrase($value) {
return '"' . self::escapePhrase($value) . '"';
}