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.

Sonic: A super-light alternative to Elasticsearch

72 pointsby mikecarltonover 2 years ago

7 comments

mdanielover 2 years ago
previously: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33315237" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33315237</a> (the blog post has also gotten some submissions, but nothing as compared to the github submission)
maxthegeek1over 2 years ago
Hi, this seems like a really cool project! Given your use of rust, have you considered providing the option to run this as an embedded datastore, like you might use sqlite?<p>Might bring more users onboard, for the better CI&#x2F;testing ergonomics. Thanks!
barrypover 2 years ago
I was looking at the Github repos for Sonic, and a PHP library for working with it: <a href="https:&#x2F;&#x2F;github.com&#x2F;ppshobi&#x2F;psonic&#x2F;blob&#x2F;master&#x2F;api-docs.md">https:&#x2F;&#x2F;github.com&#x2F;ppshobi&#x2F;psonic&#x2F;blob&#x2F;master&#x2F;api-docs.md</a> and I&#x27;m scratching my head over: what&#x27;s the difference between the popping and flushing operations?<p>Specifically, there&#x27;s a &quot;pop&quot; method which: &quot;pops an item out of index&quot; and a &quot;flusho&quot; method which &quot;Flushes the indexed text from an objects&quot;. They kind of sound awfully similar and take similar args.<p>Otherwise it all looks pretty straightforward - just that one small conceptual thing might be explained a bit more in the docs.
atonseover 2 years ago
How does it compare to meilisearch?
pmarreckover 2 years ago
I use postgres fulltext search instead and it works great. Plus, one less dependency.
eurasiantigerover 2 years ago
Is it ready for GraphQL Federation?
mdanielover 2 years ago
I would pay $5 to have every one of these projects stop saying &quot;alternative to ElasticSearch&quot; unless they implement the ES API (as <a href="https:&#x2F;&#x2F;github.com&#x2F;zinclabs&#x2F;zinc">https:&#x2F;&#x2F;github.com&#x2F;zinclabs&#x2F;zinc</a> at least claims) because if one just wanted some schemaless full text searching wizardry, there are about 10 of those projects. If one is trying to replace kibana or the damn near infinite log gathering tools that <i>target</i> ES, Sonic and Melisearch and and and are not going to get it done<p>q.v. <a href="https:&#x2F;&#x2F;github.com&#x2F;zinclabs&#x2F;zinc&#x2F;blob&#x2F;v0.3.6&#x2F;docs&#x2F;swagger.yaml#L2008">https:&#x2F;&#x2F;github.com&#x2F;zinclabs&#x2F;zinc&#x2F;blob&#x2F;v0.3.6&#x2F;docs&#x2F;swagger.ya...</a>
评论 #34362897 未加载
评论 #34363036 未加载
评论 #34362696 未加载
评论 #34363041 未加载