TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

MeiliSearch: A Minimalist Full-Text Search Engine

315 pointsby serhack_almost 4 years ago

24 comments

null_derefalmost 4 years ago
In my journey to learn Rust I sought for a person criticize my Rust skills, so I searched for a &#x27;good first issue&#x27; in GitHub, by writing a PR in Rust I could fullfil two dreams of mine 1. Learn Rust. 2. Having a code that I wrote run on large amount of devices across the world.<p>Eventually I ended up on MeiliSearch repo, I fixed an interesting bug, and I must say that the maintainers were super nice across all the process, a couple of months after my contribution they sent hand written letters and a bunch of stickers to all of the project contributors, one of the nicest interactions I ever had on the internet (ironically the first PR that I wrote that got accepted involved one line of CSS, which is field I&#x27;m proficient at).
评论 #28189687 未加载
dawnerdalmost 4 years ago
I’m using it in production for <a href="https:&#x2F;&#x2F;opencoaster.com" rel="nofollow">https:&#x2F;&#x2F;opencoaster.com</a> (very wip site). It’s fast.<p>Their team is fairly responsive to bugs but I had one negative experience when trying to help them fix their instantsearch lib. They were grabbing as many pages as you had set for max pages at once and would re query it on pagination - huge waste of data transfer. They refused to see the problem so I just did a private fork just to get it working but far as I know that’s still a bug.<p>I need to upgrade the engine itself but looks like they added the ability to upgrade and not lose all the data. That was frustrating but understandable.<p>Overall I’m very impressed how stable it is
评论 #28189436 未加载
rvzalmost 4 years ago
As seen previously on another post about MeiliSearch after reading an extensive comparison in [0], I&#x27;m sorry but I&#x27;m not convinced with it yet as it is extremely limited and immature.<p>The only argument here that is being made here is that it is &#x27;written in Rust&#x27;.<p>Just use something production ready like Typesense. [0]<p>[0] <a href="https:&#x2F;&#x2F;typesense.org&#x2F;typesense-vs-algolia-vs-elasticsearch-vs-meilisearch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typesense.org&#x2F;typesense-vs-algolia-vs-elasticsearch-...</a>
评论 #28189865 未加载
philmcpalmost 4 years ago
MeiliSearch also work a 4 day week which is pretty cool<p><a href="https:&#x2F;&#x2F;4dayweek.io&#x2F;company&#x2F;meilisearch&#x2F;jobs" rel="nofollow">https:&#x2F;&#x2F;4dayweek.io&#x2F;company&#x2F;meilisearch&#x2F;jobs</a>
评论 #28192709 未加载
评论 #28194750 未加载
moralestapiaalmost 4 years ago
If you&#x27;re in the market for lightweight but fast search engines, I would recommend you take a look to typesense [1], instead; or even sonic [2], if it fits your use case. MeiliSearch does not give you anything on top of them (i.e. neither as feature complete as [1], not as fast as [2]).<p>And I personally stopped using them after a really bad experience I had with their &quot;developers&quot;. They don&#x27;t really care about you and it shows, also, they were kind of rude when I reported some bugs to them.<p>I moved to typesense and it&#x27;s a whole different world, their creators truly enjoy that you&#x27;re using their product; same thing with sonic, Valerian is the kind of hacker you&#x27;d want as a friend, super talented, super easy going, you could ask a completely dumb question on their GH and he takes the time to explain things to you at length. I know its open source, I know I didn&#x27;t pay a dime, but for me, that kind of attitude makes it or break it. Plus, you actually get a superior product.<p>1: <a href="https:&#x2F;&#x2F;typesense.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typesense.org&#x2F;</a><p>2: <a href="https:&#x2F;&#x2F;github.com&#x2F;valeriansaliou&#x2F;sonic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;valeriansaliou&#x2F;sonic</a>
评论 #28189983 未加载
评论 #28191035 未加载
评论 #28192377 未加载
评论 #28189822 未加载
评论 #28195787 未加载
评论 #28190565 未加载
评论 #28193797 未加载
Rochusalmost 4 years ago
&gt; <i>and lives as a 35 MB binary when installed ... it&#x27;s made up of 7,600 lines of Rust</i><p>Wow; how on earth can this blow up to 35 MB? For comparison: the Crossline stand-allone exe (<a href="http:&#x2F;&#x2F;software.rochus-keller.info&#x2F;CrossLine_win32.zip" rel="nofollow">http:&#x2F;&#x2F;software.rochus-keller.info&#x2F;CrossLine_win32.zip</a>) with built-in <a href="https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Fts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Fts</a> and Sqlite (all written in C&#x2F;C++) is less than 7 MB. Where do the other ~30 MB come from?
评论 #28190196 未加载
User23almost 4 years ago
Tangentially, has there been any fundamental algorithmic improvement in full text search since Boyer-Moore[1] and Knuth-Morris-Pratt[2]?<p>[1] <a href="https:&#x2F;&#x2F;xlinux.nist.gov&#x2F;dads&#x2F;HTML&#x2F;boyermoore.html" rel="nofollow">https:&#x2F;&#x2F;xlinux.nist.gov&#x2F;dads&#x2F;HTML&#x2F;boyermoore.html</a><p>[2] <a href="https:&#x2F;&#x2F;xlinux.nist.gov&#x2F;dads&#x2F;HTML&#x2F;knuthMorrisPratt.html" rel="nofollow">https:&#x2F;&#x2F;xlinux.nist.gov&#x2F;dads&#x2F;HTML&#x2F;knuthMorrisPratt.html</a>
freediveralmost 4 years ago
MeiliSearch is minimalist, fast and easy to deploy (like few mins to get up and doing its thing). I am using it to power full text search at TinyGem.<p><a href="https:&#x2F;&#x2F;tinygem.org" rel="nofollow">https:&#x2F;&#x2F;tinygem.org</a><p>It is great to put a concept in place. For more advanced use (mainly index and search features) I was also evaluating TypeSense which didn&#x27;t win me over as a product. I have not tried Algolia because of perception that it is heavier and paid from get go.
mrweaselalmost 4 years ago
Can you really use the number of lines of code in a comparison of MeiliSearch and ElasticSearch, or Sphinx-Search?<p>Arguably I&#x27;m not the biggest fan of ElasticSearch, it&#x27;s a way too complex to manage and interact with, if you just need to add search to a product. However, ElasticSearch i also much more than just a search engine. I would never use Bleve or Sphinx as a primary data store, but ElasticSearch is a perfectly good document database.
评论 #28187918 未加载
评论 #28187931 未加载
qatanahalmost 4 years ago
We are using it on our PoC products. It&#x27;s really great and fast! it removes all the traction of doing an autocomplete search.<p><a href="https:&#x2F;&#x2F;correlate.meetglimpse.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;correlate.meetglimpse.com&#x2F;</a><p>If you&#x27;re doing some test products and just want to have a search that is easier to setup than ES. Meilisearch is a great alternative.
vtailalmost 4 years ago
What are some of the advantages of using MeiliSearch as opposed to, say, FTS5 in a SQLite database?
cpachalmost 4 years ago
Looks very interesting! Anyone here who’s tried MeiliSearch?
评论 #28188071 未加载
评论 #28187874 未加载
评论 #28189274 未加载
评论 #28187997 未加载
评论 #28187863 未加载
评论 #28187972 未加载
leetroutalmost 4 years ago
A reminder about Xapian which the author did not include (it is only a library)<p><a href="https:&#x2F;&#x2F;xapian.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xapian.org&#x2F;</a>
spapas82almost 4 years ago
I couldn&#x27;t find it from a quick search... Do you know if this tool supports non English languages (specifically greek)? Also why idea if it also supports stemming for these i.e I would like to search for σκύλος (=dog) and get documents having σκύλων (=dogs).
lloydatkinsonalmost 4 years ago
Seems like good timing with the ongoing elastic drama
评论 #28188791 未加载
1vuio0pswjnm7almost 4 years ago
&quot;MEILI_NO_ANALYTICS=1&quot;<p>Looks like it was designed with the user in mind. Telemetry by default.
wiradikusumaalmost 4 years ago
I had been following its development for a while, but then I moved to Typesense after evaluating this matrix:<p><a href="https:&#x2F;&#x2F;typesense.org&#x2F;typesense-vs-algolia-vs-elasticsearch-vs-meilisearch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typesense.org&#x2F;typesense-vs-algolia-vs-elasticsearch-...</a> (yes it&#x27;s hosted by Typesense)
评论 #28189450 未加载
评论 #28187939 未加载
评论 #28189439 未加载
yewenjiealmost 4 years ago
They have another prototype engine with more advanced features and performance too.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;meilisearch&#x2F;milli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;meilisearch&#x2F;milli</a>
评论 #28191646 未加载
评论 #28191678 未加载
mark_l_watsonalmost 4 years ago
I haven&#x27;t tried MeiliSearch, but I spent a little bit of time this morning looking at the code. Maybe off topic, but Rust really is a nice language to read. I wanted to learn another non-Lisp language, and after a few evenings of playing with Rust, I settled on Swift for a few small side projects. I slightly regret that decision, but both languages fill the same application space for me.
评论 #28189646 未加载
Labo333almost 4 years ago
How are the disk and RAM usage? Compared to elasticsearch and typesense?<p>It&#x27;s an information that is typically missing yet very important!
评论 #28191688 未加载
chairmanwow1almost 4 years ago
This is a pretty interesting format for a blog post. I&#x27;m not sure I&#x27;ve really seen something like this before, but I really enjoyed this one~
mikevmalmost 4 years ago
After looking at various alternatives, I&#x27;m thinking of trying out <a href="https:&#x2F;&#x2F;vespa.ai&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vespa.ai&#x2F;</a>
joelpalmost 4 years ago
MeiliSearch looks fantastic! I haven&#x27;t tried it but at least it is written in Rust so that should be a good reason to try it out for a project of mine.
h1fraalmost 4 years ago
This smells like a sponsored post...
评论 #28188463 未加载
评论 #28188602 未加载
评论 #28188499 未加载