constant APACHESOLR_PROXIMITY_REGEX in Apache Solr Term Proximity 7
Same name and namespace in other branches
- 6.3 apachesolr_proximity.module \APACHESOLR_PROXIMITY_REGEX
Regex pattern used to parse terms and phrases from the search keywords.
1 use of APACHESOLR_PROXIMITY_REGEX
- apachesolr_proximity_match_keywords in ./
apachesolr_proximity.apachesolr.inc - Helper function that matches terms and phrases in the search query.
File
- ./
apachesolr_proximity.module, line 12 - Applies proximity boosting to Solr searches so that the distance between two or more terms is factored in the relevancy.
Code
define('APACHESOLR_PROXIMITY_REGEX', '/ (-?)("[^"]+"|[^" ]+)/i');