public static function DrupalApacheSolrService::phrase in Apache Solr Search 7
Same name and namespace in other branches
- 8 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::phrase()
- 6.3 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::phrase()
Convenience function for creating phrase syntax from a value
Parameters
string $value:
Return value
string
File
- ./
Drupal_Apache_Solr_Service.php, line 624
Class
- DrupalApacheSolrService
- 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) . '"';
}