News for hackers. Stuff that matters.
Re:Sonic: A Super-Light Alternative to Elasticsearch by atonse on Thursday January 12, 2023 @07:28PM (#34362358)
How does it compare to meilisearch?
Re:Sonic: A Super-Light Alternative to Elasticsearch by mdaniel on Thursday January 12, 2023 @07:43PM (#34362468)
I would pay $5 to have every one of these projects stop saying "alternative to ElasticSearch" unless they implement the ES API (as https://github.com/zinclabs/zinc 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 target ES, Sonic and Melisearch and and and are not going to get it done

q.v. https://github.com/zinclabs/zinc/blob/v0.3.6/docs/swagger.ya...

Re:Sonic: A Super-Light Alternative to Elasticsearch by toast0 on Thursday January 12, 2023 @08:40PM (#34362897)
I mean, Elasticsearch does a whole lot of stuff, and I wouldn't expect a 'super light alternative' to do everything Elasticsearch does. If I were still dealing with ES, I'd look to see if it did the small section of stuff in my use case and if the API was reasonable and if it had a sensible operational profile and if it hit all those points, I'd try to use it, because I sure wasn't happy with ES.

Note that a reasonable API doesn't require it to match the ES API, and if I'm feeling really bitter, doesn't even include the ES API.

Now when someone says they're a replacement that's a lot more specific; I see ZincSearch makes a qualified claim of that form, if that's not accurate, then yeah, it's worth complaining. But lots of things are alternatives without being replacements (and really replacement doesn't always have such a narrow meaning either, kind of depends on usage)

Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Thursday January 12, 2023 @08:11PM (#34362696)
That's _exactly_ what I'm trying to build, and you don't have to pay anything. I was frustrated with what I thought was a poor interface for Kibana, and having to deal with schema for Elasticsearch, so I built log-store. I appreciate any feedback!
Re:Sonic: A Super-Light Alternative to Elasticsearch by mdaniel on Thursday January 12, 2023 @08:19PM (#34362758)
I initially thought you were the author of Zinc, but based on your comment history you're trying to build a logging SaaS replacement or something, which based solely upon its documentation is ALSO not ES API compatible, so I don't know how to interpret your reply
Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Thursday January 12, 2023 @08:22PM (#34362775)
I guess I misread your comment... my apologies. What I'm building is more a replacement for Splunk: on-prem log analytics. As you point out, it is not compatible w/Elasticsearch in any way.
Re:Sonic: A Super-Light Alternative to Elasticsearch by mdaniel on Friday January 13, 2023 @12:20AM (#34364245)
> What I'm building is more a replacement for Splunk

Wow, you really are swinging for the fences, then. I wish you all the best, because running Splunk is terrible, and ripe for replacement, but its search featureset and UX are massive so I hope you are laser focused on who the target audience is for your product

Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Friday January 13, 2023 @07:23AM (#34366780)
Thanks! Would love to know more about your experience running Splunk... Can I reach out to you?

Looking for some small niche... Industrial, automotive, even garbage truck monitoring :-) I'm not looking to build a massive public company or anything either... More a lifestyle business. We'll see.

Re:Sonic: A Super-Light Alternative to Elasticsearch by mdaniel on Friday January 13, 2023 @11:43AM (#34370278)
Sure, just submit a "Ask HN: What is your experience running Splunk?" and point me to it. I'm sure you'll get all kinds of horror stories aside from mine
Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Tuesday January 17, 2023 @08:35AM (#34412181)
I asked a slightly different question, but I'd love to hear about your experience running Splunk: https://news.ycombinator.com/item?id=34412176
Re:Sonic: A Super-Light Alternative to Elasticsearch by MuffinFlavored on Thursday January 12, 2023 @08:59PM (#34363039)
> I was frustrated with what I thought was a poor interface for Kibana

I can't think of a better/more well done user interface than Kibana. Am I missing something?

Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Friday January 13, 2023 @07:27AM (#34366824)
The interface (GUI) is OK (and looks better than mine honestly), but the usability isn't great. The query syntax is tough to grok IMO. Using the sample dataset it took myself and a friend who knew Kibana like 5 minutes to figure out how to make a pie chart of the various OS types. It's probably that we're just dense and don't know what we're doing, but with log-store you just click the pie chart icon next to the field, and it will update the query and render the chart. I think that's easier to use.
Re:Sonic: A Super-Light Alternative to Elasticsearch by djbusby on Thursday January 12, 2023 @09:24PM (#34363195)
Is source available? Or binary only?
Re:Sonic: A Super-Light Alternative to Elasticsearch by rsdbdr203 on Friday January 13, 2023 @07:24AM (#34366789)
Only binary. Ultimately I would like to sell it, but just looking for feedback at the moment.
Re:Sonic: A Super-Light Alternative to Elasticsearch by MuffinFlavored on Thursday January 12, 2023 @08:59PM (#34363036)
How often do people use Elasticsearch without Kibana? I would use something that empowers Kibana's amazingly powerful UI, but like you called out, that would need to be "binary" compatible since Kibana is expecting the Elasticsearch API.

> (Kibana is not supported with zinc. Zinc provides its own UI).

Re:Sonic: A Super-Light Alternative to Elasticsearch by vosper on Thursday January 12, 2023 @09:37PM (#34363309)
Last place I worked used ES alone to power a complex search system. No Kibana. We were running about 100 instances with about a petabyte of data.

We're going the same route in my new place. If you want full text search with scalabilty and durability (and automated lifecycle management, these days) ES is still really the only game in town (not counting OpenSearch, as it's the same thing).

Re:Sonic: A Super-Light Alternative to Elasticsearch by mdaniel on Thursday January 12, 2023 @07:45PM (#34362483)
previously: https://news.ycombinator.com/item?id=33315237 (the blog post has also gotten some submissions, but nothing as compared to the github submission)
Re:Sonic: A Super-Light Alternative to Elasticsearch by maxthegeek1 on Thursday January 12, 2023 @08:29PM (#34362837)
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?

Might bring more users onboard, for the better CI/testing ergonomics. Thanks!

Re:Sonic: A Super-Light Alternative to Elasticsearch by eurasiantiger on Friday January 13, 2023 @09:19AM (#34368055)
Is it ready for GraphQL Federation?
Re:Sonic: A Super-Light Alternative to Elasticsearch by barryp on Friday January 13, 2023 @02:53PM (#34373007)
I was looking at the Github repos for Sonic, and a PHP library for working with it: https://github.com/ppshobi/psonic/blob/master/api-docs.md and I'm scratching my head over: what's the difference between the popping and flushing operations?

Specifically, there's a "pop" method which: "pops an item out of index" and a "flusho" method which "Flushes the indexed text from an objects". They kind of sound awfully similar and take similar args.

Otherwise it all looks pretty straightforward - just that one small conceptual thing might be explained a bit more in the docs.

Re:Sonic: A Super-Light Alternative to Elasticsearch by pmarreck on Saturday January 14, 2023 @01:05PM (#34382344)
I use postgres fulltext search instead and it works great. Plus, one less dependency.