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 1.0 – Open-source search engine built in Rust

448 pointsby tpayetover 2 years ago

31 comments

schappimover 2 years ago
We’ve used Meilisearch in production and it is the closest thing to self hosted Algolia you can get, which in itself is pretty amazing.<p>Unfortunately the performance of indexing (constantly changing records) wasn’t great and Meilisearch would fall behind on indexing records for hours.<p>Meilisearch has been amazingly great for projects where records don’t change all that much (eg docs, or even a customer database), but if you have for example a fast paced ecommerce system with 50k records constantly changing (eg product inventory), it falls over pretty quick. We had to transition over to Elastic for this aspect of our app.<p>The other issue we faced is their Rails gems falling out of step with the server, and when fixes came out, the Rails gem was incompatible for a while.<p>I really really hope 1.0 increases performance to the point where it becomes production ready, because the initial out of the box performance (before getting bogged down with indexing) was pretty amazing. Better than Elastic and on par with Algolia.<p>I recommend keeping Meilisearch on your radar. It is going to be great.<p>I wish the best for the Meili team and hope they succeed!
评论 #34712949 未加载
评论 #34717947 未加载
manigandhamover 2 years ago
Congrats to the team, it&#x27;s been interesting to watch the development of Meilisearch (and it&#x27;s close competitor Typesense). Algolia has really paved the way here but it&#x27;s nice to see the open-source options with more configurations and better default UX.<p>There&#x27;s also many search libraries if you want to embed search more deeply into your app. I have a list of modern search systems and libraries here: <a href="https:&#x2F;&#x2F;manigandham.com&#x2F;post&#x2F;search-systems-libraries" rel="nofollow">https:&#x2F;&#x2F;manigandham.com&#x2F;post&#x2F;search-systems-libraries</a>
评论 #34709043 未加载
kacyover 2 years ago
We’ve been using a Meilisearch for the last six months or so and have been delighted with its performance and usability. It uses a fraction of the resources as Elasticsearch, and the language support is extensive and very active.<p>That being said, our cluster is much smaller than other ones I’ve worked with in the past, so I can’t comment on its reliability at massive scale. I’ve also been very impressed with how active contributors are on GitHub and in their Discord. Everyone seems like good people, and it’s a project I’m excited to keep using.
评论 #34708211 未加载
评论 #34708069 未加载
sandstromover 2 years ago
Great news!<p>Been following along for a while and it&#x27;s a great project. ElasticSearch needs some competition.<p>For us, there are two things missing for us before we could make the switch:<p>1. Multi-index search; Standard use-case is searching across e.g. users and companies. Common in many SaaS-applications, where you want a single search field with type-ahead for e.g. contacts&#x2F;organisations&#x2F;tasks&#x2F;events.<p>2. Decay functions; Basically to gradually phase out results for things based on age, distance or something similar. ElasticSearch has pretty good support for these. <a href="https:&#x2F;&#x2F;www.elastic.co&#x2F;guide&#x2F;en&#x2F;elasticsearch&#x2F;reference&#x2F;current&#x2F;query-dsl-function-score-query.html#function-decay" rel="nofollow">https:&#x2F;&#x2F;www.elastic.co&#x2F;guide&#x2F;en&#x2F;elasticsearch&#x2F;reference&#x2F;curr...</a>
评论 #34715227 未加载
评论 #34720744 未加载
chimenover 2 years ago
Is Rust that important that you have to place &quot;built in Rust&quot; in the title? Is this like a cult following that we only bet on traffic and interest coming from other evangelists where Rust is the only feature that matter?<p>4 months ago: &quot; Meilisearch, open-source alternative to Algolia in Rust lands a $15M Series A&quot;<p>It&#x27;s not the first time I see, there are at least 2-3 daily submissions reaching the FP in this manner so I&#x27;m curious: &quot;built in Rust&quot; = marketing these days?
评论 #34708552 未加载
评论 #34711645 未加载
评论 #34708222 未加载
评论 #34708412 未加载
评论 #34708470 未加载
评论 #34710838 未加载
评论 #34708489 未加载
评论 #34711962 未加载
评论 #34712173 未加载
评论 #34708500 未加载
评论 #34711193 未加载
评论 #34710185 未加载
评论 #34709838 未加载
评论 #34708290 未加载
评论 #34711582 未加载
评论 #34708435 未加载
评论 #34708221 未加载
评论 #34708433 未加载
评论 #34731329 未加载
tmikaeldover 2 years ago
My team tried to use Meilisearch for large datasets, unfortunately, it&#x27;s impossible to plan the RAM usage. If you have very little searches, it consumed very little, but if you have a lot of search traffic, it may consume more than we could provision beforehand. This made it too unpredictable and too expensive, so we went with Manticore instead. I don&#x27;t know if this has been addressed in 1.0, hopefully it has.
评论 #34708374 未加载
评论 #34709896 未加载
评论 #34708930 未加载
amateurdev0_07over 2 years ago
Thank you for making MeiliSearch. I use it for a personal project that gets a few hits a day, mostly from me and my friends.<p><a href="https:&#x2F;&#x2F;pulpflakes.com&#x2F;fmisearch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pulpflakes.com&#x2F;fmisearch&#x2F;</a><p>It&#x27;s a search over an index of fiction in the English language, first published in periodicals. Searchable by author, artist, magazine name and specific issue. Biggest index has about 200K documents, doc sizes are tiny.<p>Integrated with my WordPress site by handwritten PHP. Which was fun.<p>Performance is great. I didn&#x27;t run into too many issues, and those I did i could resolve. What i remember:<p>1. The rules for text searches are too strict by default and if the order of words is different, will result in no matches. A, B will not return a result if B A is in the database.<p>2. Creating an index, uploading documents and changing settings required quite a bit of work. A week&#x27;s worth of coding, almost. Would have loved to have a reasonably robust shell script that could take a JSON file with metadata on index and do the grunt work.<p>3. I have multiple types of documents, would have liked search to cover all of them so I don&#x27;t have to change search type manually each time.<p>4. The default number of documents and max uploaded file size is too low. 200K and 200 MB or something. But it fails even on smaller file size.<p>The above sound like complaints. They&#x27;re problems I ran into and others might. I love how productive Meilisearch made me. Thank you.
networkedover 2 years ago
The most specific criticism I have read of Meilisearch is <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32940683" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32940683</a>. It has four points: (1) words beyond 65535 are silently ignored (this is documented in <a href="https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;advanced&#x2F;known_limitations.html#maximum-number-of-words-per-attribute" rel="nofollow">https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;advanced&#x2F;known_limitation...</a> ); (2) the position of a matching word in a document non-optionally affects ranking; (3) to get the match information you must retrieve the entire attribute; (4) the meaning of PUT and POST is switched relative to RFC 7231.<p>Are points (2) through (4) true? Has any of the points been an issue for you in practice?
评论 #34716824 未加载
mmachatschekover 2 years ago
This is awesome news! We&#x27;ve been using meilisearch in production for a few months now and we&#x27;re more than happy with its reliability. Their work of the last few months really paid off, as the search speed and especially the indexing speed has increased a lot thanks to their efforts.<p>I&#x27;m excited to see all the things they&#x27;ll build in the future.
评论 #34711095 未加载
nop_slideover 2 years ago
This looks really cool and I might try the self hosted option out on my small website as an upgrade from Postgres’ full text search.<p>I was hoping the cloud version would be more appealing, granted there seems to be a generous free tier but the next option is $1200 a month?!
评论 #34708039 未加载
评论 #34708014 未加载
评论 #34707998 未加载
leeoniyaover 2 years ago
compared to <a href="https:&#x2F;&#x2F;typesense.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typesense.org&#x2F;</a> ?
评论 #34708439 未加载
评论 #34708390 未加载
评论 #34708440 未加载
评论 #34708802 未加载
rsstackover 2 years ago
Is there a way to run it in WASM, to get something like Lunr[1]? We prefer to do our (small-index, &lt;2MB) search client-side for a bunch of reasons, currently using Lunr.js, but it&#x27;s a bit annoying and the typeahead search is something I improvised and not really official.<p>[1] <a href="https:&#x2F;&#x2F;lunrjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lunrjs.com&#x2F;</a>
评论 #34711531 未加载
kristiandupontover 2 years ago
I am using the core (called &quot;Milli&quot;) in a local indexer that I run on my repositories and Obsidian files. It works like a charm and I am very happy with it. Obviously that&#x27;s a use case with very little traffic but just indexing my repositories folder is quite a bit of work and it does it surprisingly fast.<p>The only real thing I am missing is a typeahead feature.
评论 #34709183 未加载
scopover 2 years ago
Congrats! Question for the team as I see a possible discrepancy on the website.<p>The &quot;Comparisons&quot; page says there is no limit for number of indices (<a href="https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;what_is_meilisearch&#x2F;comparison_to_alternatives.html#limits" rel="nofollow">https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;what_is_meilisearch&#x2F;compa...</a>)<p>However, the &quot;Limitations&quot; page says there is a limit of ~180 indices (<a href="https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;what_is_meilisearch&#x2F;comparison_to_alternatives.html#limits" rel="nofollow">https:&#x2F;&#x2F;docs.meilisearch.com&#x2F;learn&#x2F;what_is_meilisearch&#x2F;compa...</a>)<p>Can you clarify what, if any, are the limitations of # indices?
评论 #34715154 未加载
zX41ZdbWover 2 years ago
You can query Meilisearch directly from ClickHouse with the integrated table function: <a href="https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickHouse&#x2F;pull&#x2F;33332">https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickHouse&#x2F;pull&#x2F;33332</a><p>This feature was a student project, and I&#x27;m not sure if it will find its usage. If you are using Meilisearch with ClickHouse, or if you think this feature is worth something, please let me know.
survirtualover 2 years ago
This looks like an effective piece for a project I have. It would be significantly more effective if it was published on crates.io and could be instantiated within Rust, and was able to operate in memory (or have a filesystem passed to it, so that can be simulated)<p>I found this issue which tracks crates.io publication: <a href="https:&#x2F;&#x2F;github.com&#x2F;meilisearch&#x2F;meilisearch&#x2F;issues&#x2F;3367">https:&#x2F;&#x2F;github.com&#x2F;meilisearch&#x2F;meilisearch&#x2F;issues&#x2F;3367</a><p>Would be nice to see that made a priority. Having a powerful search engine that can be embedded in a larger application and made portable (like being able to deploy to WASM) would be extremely novel and valuable. Given Rust is already in use, I think it may not necessarily demand too much effort. When search becomes a focus for what I’m working on, perhaps I will make that happen if not already done yet.<p>Thanks for making this available to people.
jvansover 2 years ago
This looks very cool, nice work. Any plans to support ANN vector searches in the near future?
评论 #34715536 未加载
heybrendanover 2 years ago
How would one begin to use this when data is stored in MySQL, MariaDB, or PostgreSQL?
xaropeover 2 years ago
I tried RTFM&#x27;ing, but can Meilisearch handle restricted documents (P&amp;C) and integrated with LDAP&#x2F;AD to pull security groups?<p>P.S. great to see your documentation search is powered by your own product (!)
wiradikusumaover 2 years ago
I see comparison against other search engines, but how does it compare to RDBMS full text search e.g. Postgre&#x27;s? I know it&#x27;s not apple-to-apple, but most people start with RDMBS.
评论 #34712893 未加载
drcongoover 2 years ago
Congrats team. Meilisearch is an absolute joy to work with.
评论 #34709735 未加载
评论 #34709197 未加载
评论 #34708527 未加载
dawnerdover 2 years ago
Very early adopter of meilisearch and it’s pretty great. But bumpy as the team found their footing but overall very impressed with it.
评论 #34715596 未加载
hnaccountmeover 2 years ago
Anyone else having deja vu of when Java did this sort of &#x27;X&#x27; build with Java?
fyzixover 2 years ago
They need to structure their pricing page better. A quick glance had me thinking that $1200 was the minimum for production use. But the free tier is actually pay as you go.
msvanover 2 years ago
How does Meilisearch compare to ElasticSearch from an operational point of view? I&#x27;ve experienced ElasticSearch to be quite painful to maintain, requiring lots of manual tweaking to balance shards and careful design of indices.
评论 #34708605 未加载
评论 #34708198 未加载
ciesover 2 years ago
I think multi-lingual stemming is the point where I see this as a real ES competitor. Still they&#x27;ve come a long way, and burning too much RAM on ES is not the way fwd either.
评论 #34711125 未加载
ckokover 2 years ago
Does it have any kind of master&#x2F;slave or replication abilities? Couldn&#x27;t find anything in the docs.
评论 #34711865 未加载
sligover 2 years ago
Is there a way to somehow find related documents to a specific document?
snowpidover 2 years ago
Can you rewrite it in Rust?
评论 #34708961 未加载
muhammadusmanover 2 years ago
how does this compare to Typesense? I&#x27;d like to see which one uses fewer resources for similar performance
评论 #34716676 未加载
garbagecoderover 2 years ago
What language you write a program in is not a feature, definitely not a headline one.
评论 #34712030 未加载
评论 #34710126 未加载
评论 #34710692 未加载