Elasticsearch is a flexible & scalable search engine, super efficient even with large pools of data. It works specially great with "text" search, which is what we have in Squarehub.
Opensearch is a open-source fork of Elasticsearch, so while they share the same origin they may not share the same goals in the future!
Here is a nice article detailing how it handles simple search queries: