aboutsummaryrefslogtreecommitdiff
path: root/mod/search/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search/start.php')
-rw-r--r--mod/search/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/search/start.php b/mod/search/start.php
index 354c5b2cd..18b743cde 100644
--- a/mod/search/start.php
+++ b/mod/search/start.php
@@ -524,7 +524,10 @@ function search_get_where_sql($table, $fields, $params) {
if ((isset($params['advanced_search']) && $params['advanced_search']) || substr_count($query, '"') >= 2 ) {
$options = 'IN BOOLEAN MODE';
} else {
- $options = 'IN NATURAL LANGUAGE MODE';
+ // natural language mode is default and this keyword isn't supported
+ // in < 5.1
+ //$options = 'IN NATURAL LANGUAGE MODE';
+ $options = '';
}
// if short query, use query expansion.