[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] Manticore: expand_keywords by default for all queries - behave more...
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6940eb339c31f_2a17f94497414@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d64c6946b-959wn.mail> |
Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki
Commits:
b7dba8cc by Victor Emanouilov at 2025-12-16T07:16:28+02:00
[FIX] Manticore: expand_keywords by default for all queries - behave more similarly to elasticsearch
- - - - -
1 changed file:
- lib/core/Search/Manticore/PdoClient.php
Changes:
=====================================
lib/core/Search/Manticore/PdoClient.php
=====================================
@@ -417,7 +417,7 @@ class PdoClient
if ($order) {
$sql .= " ORDER BY $order";
}
- $sql .= " LIMIT $resultStart, $resultCount option not_terms_only_allowed=1,cutoff=0";
+ $sql .= " LIMIT $resultStart, $resultCount option not_terms_only_allowed=1,cutoff=0,expand_keywords=1";
if ($resultStart + $resultCount > 1000) {
$sql .= ',max_matches=' . ($resultStart + $resultCount);
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b7dba8cc5fa9a7a3cbe6e1859c34f63d76f4f146
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b7dba8cc5fa9a7a3cbe6e1859c34f63d76f4f146
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs