Although the current search system is very nice in my opinion I think it would be nice if flarum had an Algolia implementation for search as well so that people wanting a more advanced, faster, finer tuned and customized search experience could do it with ease.

    2 years later

    tankerkiller125 I've needed the Algolia integration for my project so in few hours created a new extension. It is already successfully used in production here https://forum.aamplugin.com/. You can download all the sources form here https://github.com/VasylTech/flarum-algolia-search.

    Please note! I literally spend few hours working on this. So it is not documented or well tested. Feedback is more than welcome.

      2 months later

      vasyltech
      [InvalidArgumentException]

      Could not find a version of package vasyltech/flarum-algolia-search matching your minimum-stability (beta). Require it with an explicit version constraint allowing its desired stability.

        iosmall I have replied to your issue in this projects GitHub repo, please see: VasylTech/flarum-algolia-search1.

        We would also ask that you be patient and not create any additional discussions for this extension as you must be patient with the developer in order to get the support you need. In any case, someone here other than myself will likely respond to you eventually as well, patience is key in this community 🙂

          Merged 1 post from Algolia search for this extension can someone.
          2 years later

          Thungbs up for Algolia to integrate in flarum as a extension

          It is super fast and free to certain extent it would be awesome if someone comes up with a extension updating the old code from GitHub contribution.

          In the past I have developed a Sphinx Search integration in FluxBB. I can't used Algolia for my forum (Fedora-Fr, the French Fedora Linux community) because Algolia is not open source... If I observe some performance issues with Flarum, perhaps I will develop a Sphinx or Elastic integration...

          3 months later

          If flarum has 25k discussions and 2 lack posts it is considered as how many records at algolia?

          2 lack records?

          I'd be happy to see Flarum support RTL search

          Does it support the stable version?

          6 months later

          There is this person called Josh i guess, he developed algolia search extension for discourse. Looks like developing extension for them is part of expanding their footprint. he is also friendly and shared his email contact details

          we have a flarum algolia search extension which is compatible with old flarum. Could someone contact him and request fixing algolia search extension?

          Why would he will do it?
          He may fix it for us because it will be a befit for their organization, if there is a algolia search for flarum it will definitely make revenue for them. If he is not interested but atleast he will take this information to their team.

          Why don't you ask him?
          Due to lack of English skills i may not ask him in a polite manner.

          Why can't others devs fix this?
          No idea, obviously it will cost dev efforts 💰
          Not that everyone is commercial here but other devs are busy with many other tasks. (Contributions)

          Few important notes he mentioned about the algolia pricing

          It depends on how much data you have. If you have less than 1k posts, you should fit into Algolia’s free Community Plan, which gives you 10k records. A good rule of thumb is that you’ll need 10 Algolia records for each post, as posts are split up into-paragraph size chunks for optimum relevance and speed. Still, YMMV. If you’d like to use the plugin but have concerns about the cost, just send me an email and I’ll see what we can do. If you are an open source project or a non-profit, you may quality for higher limits, just fill out this form and mention Discourse.

            Hari If you have less than 1k posts, you should fit into Algolia’s free Community Plan, which gives you 10k records. A good rule of thumb is that you’ll need 10 Algolia records for each post

            That means 200 discussions with - on average 5 posts. I'm afraid many for-profit communities wouldn't be able to use Algolia then, or pay for it?

            • Hari replied to this.

              luceos true 🤔 what is the solution then?

              I'm coming from wordpress family seeing it's relavancy i am feeling like current flarum search algorithm is not that good. We are always going to Google to find something which is on our website.

              And also this is reason i am not using related discussion extension.

              I'm fully into flarum but at times want to breakup and use wordpress again. 😅 CF APO with wordpress is lightening fast. (I don't have any discussion with more than 10 posts)

              2 months later

              just a random thought on this, why do we need to put all the data into algolia .. they can only use the first post and still provide a faster/better search right 🦈

              i will contact the algolia team and ask them to revive the old extension.