• Extensions
  • Blomstra Search, an elasticsearch fulltext search extension

When I tried to create index:

PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/ActionDriverInterface.php on line 37
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/ActionDriverInterface.php on line 37
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/AddToGroup.php on line 34
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/AddToGroup.php on line 34
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/RemoveFromGroup.php on line 36
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/RemoveFromGroup.php on line 36
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/Suspend.php on line 40
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/Suspend.php on line 40
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/Unsuspend.php on line 32
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/askvortsov/flarum-auto-moderator/src/Action/Unsuspend.php on line 32
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/GiveBadge.php on line 50
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/GiveBadge.php on line 50
PHP Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/RemoveBadge.php on line 35
Deprecated: Required parameter $lastEditedBy follows optional parameter $settings in /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn/vendor/v17development/flarum-user-badges/src/AutoModerator/Action/RemoveBadge.php on line 35
!<

does it mean this is not compatibable with these two extensions?

and after i turned them off and tried to create index again, it says: No alive nodes found in your cluster

matteocontrini I recently went through the hassle of attempting for a half-day to integrate it with AWS OpenSearch, only to realize it was not working. I was even charged for the OpenSearch at the end of month 🙂 So, it would be great if you can fix this extension to support AWS OpenSearch. The other option is using ElasticSearch own service but it was overly expensive for my simple needs (a small and free public forum).

a month later

luceos encountered problem of searching with cjk.

(i think it means i have set up successfully?)

and the Analyzer language i set in admin panel is CJK. But there is no result came out with CJK searching . English is just fine.

Is there anything I didn't make it right?

    Teddan can you share the output of php flarum info and the elastic server version?

      luceos

      This is my info:

      Flarum core 1.3.0
      PHP version: 8.0.17
      MySQL version: 5.7.37-log
      Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, PDO, mysqlnd, pdo_sqlite, Phar, posix, Reflection, pdo_mysql, shmop, SimpleXML, soap, sockets, sodium, mysqli, sysvsem, tokenizer, xml, xmlreader, xmlwriter, fileinfo, exif, gmp, imagick, Zend OPcache
      +------------------------------------------+-------------+--------+
      | Flarum Extensions | | |
      +------------------------------------------+-------------+--------+
      | ID | Version | Commit |
      +------------------------------------------+-------------+--------+
      | flarum-flags | v1.3.0 | |
      | flarum-suspend | v1.3.0 | |
      | flarum-subscriptions | v1.3.0 | |
      | flarum-tags | v1.3.0 | |
      | flarum-approval | v1.3.0 | |
      | flarum-bbcode | v1.3.0 | |
      | fof-upload | 1.2.1 | |
      | askvortsov-auto-moderator | v0.1.2 | |
      | flarum-sticky | v1.3.0 | |
      | fof-user-directory | 1.2.2 | |
      | fof-follow-tags | 1.1.3 | |
      | flarum-nicknames | v1.2.0 | |
      | fof-byobu | 1.1.6 | |
      | flarumite-simple-discussion-views | 1.1.3 | |
      | afrux-forum-widgets-core | v0.1.7 | |
      | zerosonesfun-member | 1.2 | |
      | zerosonesfun-bbcode-iframe | 1.0 | |
      | zerosonesfun-bbcode-button | 1.1.2 | |
      | zerosonesfun-bbcode-audio | 3.1.2 | |
      | zequeen-acgembed-remastered | v1.1.2 | |
      | yannisme-oxotheme | 2.1.3 | |
      | v17development-user-badges | v1.0.0 | |
      | v17development-seo | v1.8.0 | |
      | the-turk-stickiest | 2.0.3 | |
      | the-turk-flamoji | 1.0.3 | |
      | the-turk-diff | 1.1.1 | |
      | sycho-profile-cover | v1.3.1 | |
      | sycho-private-facade | v0.1.6 | |
      | sycho-advanced-extension-categories | v0.1.3 | |
      | swaggymacro-only-starter | 0.6.2 | |
      | nearata-signup-confirm-password | v3.0.0 | |
      | nearata-internal-links-noreload | v2.0.1 | |
      | nearata-cakeday | v2.0.0 | |
      | malago-achievements | 0.5.4 | |
      | littlecxm-reply-to-see | 1.0.2 | |
      | kilowhat-rich-embeds | 1.0.2 | |
      | justoverclock-hashtag | 0.2.3 | |
      | justoverclock-feedback | 0.1.9 | |
      | justoverclock-auto-post-badge-pro | 0.2.1 | |
      | itnt-uitab | v0.4.2 | |
      | ianm-synopsis | 1.2.0 | |
      | ianm-html-head | 1.1.0 | |
      | ianm-follow-users | 1.0.5 | |
      | fof-username-request | 1.0.1 | |
      | fof-user-bio | 1.0.2 | |
      | fof-terms | 1.1.2 | |
      | fof-profile-image-crop | 1.0.1 | |
      | fof-prevent-necrobumping | 1.0.1 | |
      | fof-pretty-mail | 1.0.1 | |
      | fof-polls | 1.0.5 | |
      | fof-nightmode | 1.2.2 | |
      | fof-masquerade | 2.1.0 | |
      | fof-links | 1.0.3 | |
      | fof-linguist | 1.0.4 | |
      | fof-gamification | 1.4.0 | |
      | fof-frontpage | 1.0.1 | |
      | fof-formatting | 1.0.2 | |
      | fof-drafts | 1.1.2 | |
      | fof-default-user-preferences | 1.0.0 | |
      | fof-best-answer | 1.1.10 | |
      | flarum-statistics | v1.3.0 | |
      | flarum-pusher | v1.3.0 | |
      | flarum-mentions | v1.3.0 | |
      | flarum-markdown | v1.3.0 | |
      | flarum-lock | v1.3.0 | |
      | flarum-likes | v1.3.0 | |
      | flarum-lang-russian | 1.2.0-p1 | |
      | flarum-lang-english | v1.2.0 | |
      | flarum-lang-chinese-simplified | v1.1.1.1220 | |
      | flarum-emoji | v1.3.0 | |
      | datlechin-usercard-uid | v0.1.1 | |
      | datlechin-scroll-buttons | v1.0.0 | |
      | datlechin-copy-links | v0.1.1 | |
      | darkle-fancybox | 1.1.0 | |
      | clarkwinkelmann-roll-die | 1.0.0 | |
      | clarkwinkelmann-post-bookmarks | 1.0.0 | |
      | clarkwinkelmann-popular-discussion-badge | 1.1.0 | |
      | blomstra-user-filter | 0.1.4 | |
      | blomstra-search | 0.1.12 | |
      | blomstra-cache-assets | 0.5 | |
      | askvortsov-pwa | v3.1.3 | |
      | askvortsov-moderator-warnings | v0.6.1 | |
      | askvortsov-discussion-templates | v0.8.3 | |
      | askvortsov-categories | v3.0.4 | |
      | akr-chevereto | 1.0.1 | |
      | afrux-top-posters-widget | v0.1.4 | |
      | afrux-news-widget | v0.1.1 | |
      | afrux-forum-stats-widget | v0.1.1 | |
      +------------------------------------------+-------------+--------+
      Base URL: https://www.xn--fmrv2rkpbv8uymm.cn
      Installation path: /www/wwwroot/www.xn--fmrv2rkpbv8uymm.cn
      Queue driver: redis
      Mail driver: smtp

      And I'm using elastic 7.17.3

        Teddan that elastic version seems to work perfectly fine with CJK, I'm not entirely sure why this is misbehaving then. It would require some extensive research to resemble your set up and attempt reproduction. Are you able to read entries inside elastic using some kind of UX to verify entries are valid?

          Teddan I don't have time right now, but next week I might be able to dive into it for you. It would be easiest for me to access your systems though. Can you DM me on Discord luceos#0001 so that we can get something arranged for next week?

            Teddan luceos You can try to search for Chinese words, visit this link, copy the "测试中文搜索功能" to your forum, and see if you can only search for a single Chinese word, for example, "孔子" only searches for "孔", "曹操" searches for "" 曹" or "操", "blomstra/search" used to be able to search for phrases, but after the latest update, only a single word can be searched.

              Aaro-n ohhhhh yes . I can search for single Chinese character….. is there any way to support phrase?

              Aaro-n is the latest version referring to flarum 1.3.0 or the latest version of the the extension?

                Teddan I think he means of the extension. I haven't seen or heard any reports about this though.

                  Teddan yeah absolutely. I will need to find a solution to that, but I think it's similar to the fix of core.

                    a month later

                    where can I test this extension without installing it, Is there any website already using it?

                    i have checked previous posts and went to https://sorhadi.net/ to check
                    i picked a line from this discussion
                    Yediğimizi mide hazmederken karın ağrısı when i search using this search not showing any result.

                    Does flarum or blomstra/search supports full-sentence search?

                    https://imgur.io/a/LwziYgK

                      Hari try this site; forum.mutluanneleriz.com please don't link, https://blomstra.community also has it running but that dataset is much less. Mutluanneleriz contains gigabytes on data in elastic.

                        luceos i have taken this line kaydeden koleksiyonun adını yazsın kaydedeyim and searched, the search is not showing the below mentioned disucssion

                        forum.mutluanneleriz.com/?q=kaydeden%20koleksiyonun%20adını%20yazsın%20kaydedeyim
                        forum.mutluanneleriz.com/d/798517-trendyol-koleksiyon-sadece-burada-paylasabilirsiniz/11

                          Hari looks like it.

                          There's definitely room for more tuning and matching mechanisms. I also think it could do with some unit tests. Previous releases of this extension have been mostly about getting data into elastic, improving performance for seeding massive datasets and showing some sensible results.