Closed zgq354 closed 3 years ago
typesense引擎: mkm0094/flarum-typesense-chinese-search
Another: ganuonglachanh/flarum-sonic
Another: ganuonglachanh/flarum-sonic
在 https://dev.0xffff.one 测试了一下,搜索功能正常,但搜索帖内关键字时候选状态没有正文的预览(待定位具体原因
预期情况:
Another: ganuonglachanh/flarum-sonic
在 https://dev.0xffff.one 测试了一下,搜索功能正常,但搜索帖内关键字时候选状态没有正文的预览(待定位具体原因
预期情况:
主要是 TitleGamblit 部分的差异: https://github.com/ganuonglachanh/flarum-sonic/blob/8421240274d4c20eab9afdbb7bd19c9ee3a001d8/src/Gambit/TitleGambit.php#L26
插件替换了 Core 的 FulltextGambit 的实现,但未实现 mostRelevantPost 的功能: https://github.com/flarum/core/blob/1f2411e15e46fbfb7a499a69a869663c349cca91/src/Discussion/Search/Gambit/FulltextGambit.php#L51
然后返回的数据缺少这个导致:
中文站内搜索目前有两种方案:
所以可以先想办法把 xunsearch 插件移植到 beta.16 上
Originally posted by @zgq354 in https://github.com/0xffff-one/0xffff-flarum/issues/15#issuecomment-841786522