this post was submitted on 06 Aug 2023
1444 points (99.0% liked)
Announcements
23319 readers
1 users here now
Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.
You can also find major news on join-lemmy.org
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is it possible to support search operators on Lemmy search just like on a typical search engine?
You'll have to open an issue for it. As long as there's some way to translate the search operators into postgres statements, it'd be doable.
OK. See you on Github...
It would be better to replicate the db into a purpose built search engine like elasticsearch or TypeSense, and then modify the UI to use that. It's dumb for lemmy to implement a search engine when there are better more supported systems out there. This isn't really a lemmy feature, imo, outside of supporting deployments using those types of products.
Lemmy would still need to provide the UI for searching, and handle keeping Elasticsearch up-to-date.
A dependency on Elasticsearch would significantly increase RAM usage though, so if Lemmy were to add support for it, it should be optional.