[nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend
-
@sharonyue If you don't have specific needs that dbsearch just doesn't handle well at all (e.g. some languages) you can try doing one of these simple things that dbsearch doesn't support:
- prefix match - pick a (preferably less common to have it come up near the top) word from a post. Remove its last letter (or a few last letters) and search for it. dbsearch doesn't support
- typo tolerance - do the same, but instead of removing a letter swap two letters. Works only with words above 4 characters if I remember correctly.
- add a synonym for that word in ACP (can be just gibberish). Search for the synonym
-
I think meilisearch is working right now. I can see the results are better. From my experience, I need to take a note in case I need to install it in the future again:
-
I need to run meilisearch by
./meilisearch > log &
manully, I dont need to do anything. I cannot let it run by 'systemctl start meilisearch'. Nothing more needs to be done. -
I need to install dbsearch firstly then deactived it. Otherwise nodebb-meilisearch does not open the page in ACP (we cannot see that search button on the right bar)
Then everything works well. I did not see anyproblem from users' end. It looks great.
The results are MUCH MUCH MUCH BETTER than solr. I highly suggest the other website who is using non-English to use nodebb-meilisearch.
Thank you @oplik0 . If you receive personal danote by paypal. I would like to donate 150 dollars
-
-
@sharonyue said in [nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend:
- I need to run meilisearch by
./meilisearch > log &
manully, I dont need to do anything. I cannot let it run by 'systemctl start meilisearch'. Nothing more needs to be done.
If you want to run it as a systemd service, there is a guide in Meilisearch documentation: https://www.meilisearch.com/docs/learn/cookbooks/running_production
You skip step 5, since it's about securely exposing Meilisearch to the outside - which you don't need to do if you're running on the same machine as NodeBB (since then NodeBB is just talking to it locally, and Meili isn't exposed to the internet at all)- I need to install dbsearch firstly then deactived it. Otherwise nodebb-meilisearch does not open the page in ACP (we cannot see that search button on the right bar)
That's weird, I guess I actually never tested it with dbsearch fully uninstalled, since it's there by default (and the way NodeBB tests are set up, I can't even easily add CI for this case. Even disabling dbsearch there is a bit hacky). I'll look into fixing it when I have time, but I'm not actually sure if it's the fault of the plugin (I don't think it refers to dbsearch in any way that could cause this, so this might be a NodeBB issue)
- I need to run meilisearch by
-
its okay if I run it by
./meilisearch
. I was just not sure if its a common pratise.The second one is not a general problem. I am special since I use solr and dbsearch was uninstalled many many years ago. Several days ago I installed nodebb 3, and move my data to it so it doesnt come with a dbsearch in default. So I think I am a special one.
There is another thing is that I am not sure if nodebb-meilisearch will reindex it automatically. I will keep you updated
-
@sharonyue said in [nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend:
There is another thing is that I am not sure if nodebb-meilisearch will reindex it automatically. I will keep you updated
If you see some older posts that haven't been indexed try reindexing from ACP, but otherwise new posts should be automatically indexed as they're created. I haven't seen any indexing problems myself yet.
-
@sharonyue said in [nodebb-plugin-meilisearch] use MeiliSearch as a full-text search backend:
I confirmed it was done automatically. Right now nodebb-meilisearch looks 100% perfect on my site! Excellent!
Can somebody explain me if this currently is "the best search engine" and recommened to use or is there still a big disclaimer? And if so, what is needed?