[TikiWiki-commits] [Git][tikiwiki/tiki][master] [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 | <6940eb1b5f358_2a17f96c53198@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d64c6946b-dzs86.mail> |
Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
dfeefb01 by Victor Emanouilov at 2025-12-16T07:16:01+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/dfeefb01ee3827b67afd309f787b670019037419
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/dfeefb01ee3827b67afd309f787b670019037419
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