frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

OpenSearch 3.0 Released

https://opensearch.org/blog/opensearch-3-0-enhances-vector-database-performance/
110•kmaliszewski•1y ago

Comments

simple10•1y ago
Just learning about OpenSearch. Looks like it's a fork of Elasticsearch from 2021 when Elasticsearch changed licensing model. https://github.com/opensearch-project/OpenSearch

Anyone know if it's still a drop in replacement for Elasticsearch? And how does it compare on performance and features?

__s•1y ago
It is not a drop in replacement (but almost is)

1.x is compatible with ES 7.10

lockhead•1y ago
It's slower on same hardware, but fine, stay away if you need the UI, the Kibana Fork is hellish slow and riddled with bugs.
darkamaul•1y ago
It’s slightly more complex that this. Both OpenSearch and Elasticsearch have workflows where they excel.

My company did a fairly comprehensive benchmark of the two products [0] if you are interested in comparing performances.

[0] https://blog.trailofbits.com/2025/03/06/benchmarking-opensea...

Y-bar•1y ago
It's worth noting that in September 2024 Elasticsearch once again returned to a fully open source license (A GPLv3).
Salgat•1y ago
Fool me once...
jsiepkes•1y ago
But Elastic Search is still open core. So certain "enterprise" functionally will never make it in the OSS version (unlike in OpenSearch).
Y-bar•1y ago
I work in enterprise, a lot of which is B2B, and we use Elastic Search extensively. What's "open core"?
jillesvangurp•1y ago
I maintain a kotlin client for both Elasticsearch and Opensearch (jillesvangurp/kt-search). There are some differences but they are mostly still API compatible for most of the commonly used features.

There are some exceptions to this and vector search would be one of those. The feature was added post fork. There are a few other things of course. E.g. search_after works slightly different on both. My client works around that. And there are a lot of newer features on both sides that are annoyingly different. Both have some sql querying capabilities now but they both have their own take on that.

Elastic still has the edge on features IMHO. Especially Kibana has a lot more features than Amazon's fork. And on the aggregation front, Elastic has done quite a bit of feature and optimization work in the last few years (that's what powers the dashboards). For performance it depends what you do. But they both heavily lean on Lucene which remains the open source search library both products use. Elastic cloud is a bit better than opensearch in AWS from what I've seen. If you self host and tune, both should be very similar.

Elastic also just tagged version 9.0, which uses the same new version of Lucene as Opensearch 3.0. I have support for both new versions in my client already (added that a few weeks ago). It now works with Elasticsearch v7, 8, and 9 and Opensearch 1,2, & 3.

A lot of my consulting clients seem to prefer Opensearch lately. That's mainly because of the less complicated licensing and the AWS support. If you have a legacy Elasticsearch setup switching it to Opensearch should be doable (depending on what you use). But expect to reindex all your data. I don't think a direct migration is possible. If you use Elastic's client libraries, you may need to switch to Opensearch specific ones. This is generally a bit painful (package names, feature differences, etc.). That's why I created kt-search a few years ago.

Salgat•1y ago
That's what we ended up doing for our migrations. We actually had a bunch of old Elasticsearch 2.3 databases (ancient), so we stood up an OpenSearch database in parallel for each and on service startup did a one-time automatic index and bulk copy over of all the data. So far very happy with OpenSearch.
simple10
blueelephanttea•1y ago
> Anyone know if it's still a drop in replacement for Elasticsearch?

As you point out it was forked a number of years ago so it started from the same place (7.10). Elasticsearch is now on 9.0+ and has 27,000 more commits than OpenSearch. So I doubt it is a drop-in replacement anymore.

I have no idea how many of those 27K commits are key features, but it is clear divergence.

ignoramous•1y ago
> Just learning about OpenSearch. Looks like ...

OpenSearch was once a personal search results aggregator conceived at A9 (Amazon's Silicon Valley subsidiary): https://github.com/dewitt/opensearch

Blackthorn•1y ago
Sometimes, the same name refers to multiple things.
ignoramous•1y ago
The difference here is, Amazon's repurposing a Trade Mark it owned already for something else entirely.
Macha•1y ago
One thing that Opensearch misses that would have been very nice to have on a recent project is enrich processors (https://www.elastic.co/docs/manage-data/ingest/transform-enr...)

If you're just using the standard document ingestion and search stuff, yeah, they're mostly compatible. But the fancier features that were part of the paid version in the past or have been recently developed are either not compatible or missing.

aabhay•1y ago
Does anyone use OpenSearch for its knn and vector capabilities? Is it any good? It’s always hard to know with systems like this whether it works at scale until your team is fighting fires.
alex_duf•1y ago
It works with some caveats. I've seen it handle searches with millions of documents no problem, but the KNN search requires to load the entirety of the embedding graph in memory. So watch your RAM consumption.

The quality of your results will depend mostly on the quality of your embeddings

seanhunter•1y ago
Irrespective of opensearch, if the dimension of your vector embedding is reasonably large you'll probably want an approximate nearest neighbours approach like HNSW rather than knn itself

https://docs.opensearch.org/docs/1.2/search-plugins/knn/appr...

For whatever an endorsement from a random stranger is worth, we've been using opensearch for a vectordb for hybrid search across text and multimodal embeddings as well as traditional metadata and it's been great but we're not "full production" yet so I can't really speak to scale, but it's opensearch so I expect the scale to be fine most probably.

antirez•1y ago
I don't know about OpenSearch implementation, but recently I implemented from scratch Vector Sets for Redis using the HNSW as a data structure, and there are many other stores that use the same data structure. When HNSWs are well implemented, you can stay assured they scale very well compared to the task at hand, but you can expect insertion speed only on the order of a few thousands per second, if you are hitting a single HNSW. Reads are much faster, in Redis I get 80k/s easily (but it uses multiple cores).

So if you want to build a very, very large index using HSNWs, you have to understand if you normally have many writes that accumulate evenly, or if your index is a mostly read-only thing that is rebuilt from time to time. Mass-insertion the first time is going to be very slow. You can parallelize it if you build N parallel HNSWs, since the searches can be composed as the union of the results (sorted by cosine similarity). But often the bottleneck is the embedding model itself.

What is really not super scalable is the size of HNSWs. They use of memory is big (Redis by default uses 8 bit quantization for this reason), and on disk they require seeks. If you have large vectors, like 1024 components, quantization is a must.

unethical_ban•1y ago
I just want a quick log ingestion tool that can parse syslog easily and graph/search fields for me.

Setting up a simple log ingestion on Opensearch or ELK felt like a true journey, in a bad way.

binarymax•1y ago
It’s surprising how challenging this is for both Elastic and Opensearch. The problem is that it’s all configuration and no convention, so you need to roll everything yourself. There should be prescribed recipes to make this simpler. If you’re using something like opentelemetry you can find help easier but it’s still annoying.
nullify88•1y ago
It's possible but you need to buy in to the Elastic ecosystem. Stuff like *beats, logstash, etc, they can configure all sorts of index templates, and ingest pipelines depending on what you've configured it to receive.

These days, getting data in and out of Elasticsearch is quite easy with dynamic field mapping. Its keeping it performant which is tricky.

dbacar•1y ago
I think both these tools are more on the easy side of setting up if you follow their guidelines. You can be up and running very quickly. The problems arise when you need some custom logic in processing log files. If you have simple shipping requiremts you can bypass logstash altogether . Elastic and opensearch are not the right tool for application metrics though in my opinion, for that use case just use prometheus and grafana.
wingmanjd•1y ago
Have you tried out Graylog? Their core product does pretty decently at my $DAYJOB.
wqtz•1y ago
I feel sad for this project. This was a reactionary project to elasticsearch's license change to say, heck with it, I will open my own elastic spinoff with AWS.

The vibe of the project's community is pretty much reminiscent of a dead multiplier game. The community is not thriving which is essential for an OSS project and elasticsearch is virtually irreplaceable in this space. I do not know any enterprise customers using it because it is unproven and they have failed to show they are going to stick around for the long run.

Then every other SIEM platform is spinning up their own search platforms. Heck I even saw Cribl there in their own partner list which has its own search platform now. And elastic has a SIEM platform now with Elastic Security. Not sure the purpose of this project is now Elastic just won the battle and then later virtue signaled everyone by saying we are open source again y'all because even if we come around and slapped your engineers who said they are not going to touch proprietary code, your management is not going to pay for a migration to an untested fork with no long term commitment and which was essentially made out of spite.

whoevercares•1y ago
I thought Elastic as the company has been economically damaged by OpenSearch and AWS for many years.
mattmcknight•1y ago
Yeah, I'm never working with Elastic again. I used Lucene first, then Solr, then a custom scaled version, so I never really needed elasticsearch until using AWS. We did have one project on AWS using elastic, but happily moved to opensearch. Seems fine.
dislore•1y ago
For those of us unfortunate to use Atlassian Bitbucket, from version 9.0 onwards OpenSearch is the only supported search server [1] - it'll be interesting to see whether this view is ever flipped back to Elasticsearch in the future.

[1] https://confluence.atlassian.com/bitbucketserver/end-of-supp...

•
1y ago
Ah thanks for the detail! Super useful comment.
binarymax•1y ago
I use it all the time. If it’s “good” depends more on your model for embeddings, but you do need to know a bit to tune the index. Whatever algo you choose, read the paper.

If you’re using lucene HNSW, it will scale but will eat lots and lots of Heap RAM. If you’re using FAISS or nmslib plugins keep an eye out for JNI RAM consumption as well as its outside the heap.

Overall, I’d say that it is a challenge to easily scale ANN past 100M vectors unless it’s given significant attention from the team.

The Americans Striking It Rich in the Data-Center Buildout

https://www.msn.com/en-us/money/realestate/the-americans-striking-it-rich-in-the-data-center-buil...
1•littlexsparkee•34s ago•0 comments

Prompting

https://learn.chatgpt.com/docs/prompting
1•tosh•49s ago•0 comments

How I made $25k in 15 days with a game built by Claude Code

https://leocoout.medium.com/how-i-made-25k-in-15-days-with-a-game-built-entirely-by-claude-code-9...
1•svenfaw•1m ago•0 comments

Building with Friction

https://adjohu.com/blog/building-with-friction/
1•adjohu•2m ago•0 comments

You cleaned up your diet, and somehow feel worse. What to do

https://www.plantbasededit.com/cleaned-up-diet-and-feel-worse/
1•martinagabr•5m ago•0 comments

Ask HN: At what age did you start to feel your learning ability decline?

1•bagol•5m ago•0 comments

Some Monsters Are Real

https://climatecasino.substack.com/p/some-monsters-are-real
2•akyuu•6m ago•0 comments

Checkpoints for AI sessions – carry context across AI tools, self-hosted

https://github.com/OurThinkTank/founders-os
1•ourthinktank•6m ago•0 comments

A new monetary metric is found in the thermodynamic relation energy – GDP

https://arxiv.org/abs/2508.08723
1•frabarbieri•8m ago•0 comments

Beijing's 'Manhattan Project': China Close to Cracking Code of EUV Lithography

https://timesofindia.indiatimes.com/science/beijings-manhattan-project-china-close-to-cracking-co...
1•softveda•8m ago•1 comments

Building a Compliance-Ready Casino Platform

https://geekyants.com/case-studies/secure-casino-web-platform-kyc-payments-geo-compliance
1•Krishnaswaroop•9m ago•0 comments

Automate your link building outreach with one tool

https://www.autobacklinks.ai
1•welsenesbros•12m ago•0 comments

Show HN: LLM-mock – Record and replay OpenAI/Anthropic calls in pytest (v1.0)

https://github.com/autopost/llm-mock
1•roman_t•14m ago•0 comments

TLS Handshakes: Measuring the Performance of 4 Cryptography Libraries

https://c410-f3r.github.io/thoughts/tls-handshakes-measuring-the-performance-of-4-cryptography-li...
1•CaioFer•21m ago•0 comments

Show HN: I built an agent framework where the agent is just one file

https://github.com/loopedautomation/agent-framework
1•RatulMaharaj•21m ago•1 comments

Tell HN: The Codex App is replaced by ChatGPT

2•vintagedave•22m ago•2 comments

EU will seek to limit children's access to social media

https://www.rte.ie/news/europe/2026/0713/1583074-eu-social-media/
2•austinallegro•24m ago•1 comments

Show HN: Call to Control AI Agents via the Web

https://diffforge.ai/
2•Rizzist•31m ago•0 comments

Michael Saylor's Cryptic Bitcoin Post Sparks Fresh Strategy Speculation

https://coinmarketcap.com/community/post/377739002/
1•joeymabia1•31m ago•0 comments

TalkScrolls

https://talkscrolls.com/
1•gerhardm13•37m ago•0 comments

BirdyChat now has an API and MCP support

https://www.birdy.chat/blog/birdychat-now-has-an-api-and-mcp-support
1•rmesters•37m ago•0 comments

CEO under fire for mass layoff amid foreign hiring spree, on Fed jobs task force

https://www.foxnews.com/politics/ceo-under-fire-mass-layoffs-amid-foreign-worker-hiring-spree-now...
2•Alien1Being•37m ago•0 comments

If Henry Rollins were a bookkeeper

https://gyurka.nl/graphflag.html
1•the_ed•40m ago•1 comments

Indian companies look to Chinese LLMs as AI costs bite

https://asia.nikkei.com/business/technology/artificial-intelligence/indian-companies-look-to-chin...
1•Alien1Being•43m ago•0 comments

A memory-bounded architecture for bursty HTML-to-PDF workloads

https://adrianani.com/articles/html-to-pdf-api-blueprint
2•adrianani-com•43m ago•1 comments

Chinese AI models are gaining ground with U.S. companies

https://www.cnbc.com/2026/07/07/chinese-ai-models-costs-us-openai-anthropic.html
2•Alien1Being•44m ago•0 comments

SonaCMS – A flat-file PHP CMS with no database

https://github.com/romeo19361/SonaCMS
1•romeo19361•44m ago•0 comments

An Enterprise-Grade Platform for Agent Development and Governance

https://dolphindb.com/blogs/48
1•CrazyTomato•44m ago•0 comments

Top Reactjs Development Services to Check in 2026

https://focusreactive.com/blog/top-reactjs-development-services-in-2026/
1•katyadrozd•45m ago•0 comments

Debian: Security support for Bookworm handed over to the LTS team

https://www.debian.org/News/2026/20260712
1•tapanjk•48m ago•0 comments