[nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend
-
This post is deleted!
-
@oplik0 said in [nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend:
Meilisearch for NodeBB
GitHub - oplik0/nodebb-plugin-meilisearch: Full-text searching for NodeBB using Meilisearch
Full-text searching for NodeBB using Meilisearch. Contribute to oplik0/nodebb-plugin-meilisearch development by creating an account on GitHub.
GitHub (github.com)
This plugin allows you to use Meilisearch as search backend instead of the database or Solr (see this topic for why some want to switch)
Installation
Install via plugins page in the ACP or run this command in NodeBB folder:
npm install nodebb-plugin-meilisearch
Configuration
- install this plugin via ACP or by running
npm install nodebb-plugin-meilisearch
- Activate in the plugins page (note: make sure dbsearch plugin is disabled)
- Rebuild and restart NodeBB
- Check that the plugin successfully connected to Meilisearch and adjust the connection settings in
/admin/plugins/meilisearch
if necessary. - Meilisearch should start indexing all posts as soon as it connects for the first time, but if that didn't happen you can start reindexing from the ACP page
- Adjust other search settings as you see fit. Defaults should be good enough for most use cases though.
Notes
- This plugin requires a Meilisearch instance or the same server or somewhere else your NodeBB instance can access
- This plugin conflicts with other search plugins and will not work if
nodebb-plugin-dbsearch
is active - While it should work fine, note that it's still not well tested. User beware
Thank you. This is one of the most needed plugins, just few people understand it yet
- install this plugin via ACP or by running
-
Just an fyi... fwiw...
@sharonyue is Chinese and OP from another thread that prompted discussion of Meilisearch in the first place. Which subsequently inspired @oplik0 to code up this plugin. Maybe reach out to her for any additional insights/experience she may have?
-
@rongcuid Sorry, since I was setting up my dev environment before I got ACP working I didn't entirely think out error messages - I'll correct this but unfortunately I'm can't do it this week so it'll take until early october.
-
@rongcuid said in [nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend:
At the same time, it might be nice to mention it in the README.
Good idea, added a warning. Hopefully it won't be needed for long
-
For test
https://sandbox.meilisearch.com/ -
This post is deleted!
-
I fix a bug in this plugin, which will cause empty result in search with filter
-
@sharonyue I don't think I fully fixed the setup being a bit finnicky due to lack of feedback on tasks (essentially, especially if you have a lot of posts, things can take a few minutes to finish processing mostly on Meilisearch side, while you're left with nonfunctional search and setting page that doesn't seem to reflect on anything since all the changes will just be queued after the currently running tasks*), but once everything is set up, I haven't had any issues running it.
There are now some basic automated tests, so at the very least I won't accidentally break a simple setup, but obviously they could be much better
* in my defense, when the plugin was being written, Meilisearch task management was very lacking, and 0.30 that addressed that issue was actually released not long after initial plugin versions
-
@oplik0 Thank you very much for your reply. I have plan to use this one since solr is a very bad engine for non-English language. If it will not bring any side effects on my forum I would like to install it on my site and test it and give you feedback.
I literally know nothing about nodejs and others.. I only know how to install nodebb and run a website.
I will try to install it. Right now I did not see any searching plugin which is good for non-English language. The plugin you wrote is the only one.