[TikiWiki-commits] [Git][tikiwiki/tiki][29.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 <6940eb26bf2_2a17fe6c9736d@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d64c6946b-ngt9g.mail>

Victor Emanouilov pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
86a01518 by Victor Emanouilov at 2025-12-16T07:16:16+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/86a015183b8682ae1f744c9b83a3d2770cafbf17

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/86a015183b8682ae1f744c9b83a3d2770cafbf17
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.