Search is one of those features users judge instantly. Typo tolerance, fast results, good ranking and useful filters make the difference between a sale and a bounce. The engine you choose affects relevance, speed, cost and how much operations work your team takes on.
The licensing picture has settled: Elasticsearch added AGPLv3 as an option alongside SSPL and the Elastic License in August 2024, and OpenSearch (the AWS-led fork from 2021) moved to the Linux Foundation in September 2024 under the Apache 2.0 licence. Both have since upgraded to Lucene 10. Lighter engines like Typesense and Meilisearch have matured into strong choices for product and site search.
At a glance
| Elasticsearch | OpenSearch | Typesense | Meilisearch | |
|---|---|---|---|---|
| Licence | AGPLv3 / SSPL / Elastic License | Apache 2.0 | GPLv3 | MIT (community edition) |
| Built on | Lucene | Lucene | Own engine (C++) | Own engine (Rust) |
| Best at | Search, logs, analytics, security, vector search at scale | Same as Elasticsearch, fully open source | Fast product and site search with facets | Fast app and site search, great defaults |
| Typo tolerance and instant search | Configurable | Configurable | Built in | Built in |
| Facets and filters | Very powerful | Very powerful | Strong | Strong |
| Aggregations and analytics | Very powerful | Very powerful | Basic | Basic |
| Vector and hybrid search | Yes | Yes | Yes | Yes |
| Operations | Heavy: JVM, shards, cluster tuning | Heavy (similar) | Light: single binary | Light: single binary |
| Managed options | Elastic Cloud (incl. Indian regions on major clouds) | Amazon OpenSearch Service, Aiven and others | Typesense Cloud | Meilisearch Cloud |
| Scale | Billions of documents | Billions of documents | Millions to tens of millions comfortably (in memory) | Millions comfortably |
Two kinds of search engines
Elasticsearch and OpenSearch are general-purpose engines: full-text search, structured filtering, huge aggregations, log analytics, security analytics and vector search, scaling to very large datasets. They're powerful, but tuning relevance, managing shards and running clusters takes skill.
Typesense and Meilisearch are focused on search-as-you-type for products and content. Out of the box, you get typo tolerance, prefix search, faceting, synonyms and fast responses, with far less configuration. They keep indexes mostly in memory, which makes them very fast, and cost depends on the RAM your dataset needs.
Elasticsearch vs OpenSearch
They share a common ancestor, and many concepts and APIs are similar, but they've diverged since 2021.
- Elasticsearch has the most advanced features: semantic search, learning-to-rank, inference APIs and an integrated platform for observability and security. Some features need paid subscriptions.
- OpenSearch is fully Apache 2.0, includes many features that Elastic puts in paid tiers (security plugin, alerting, anomaly detection), and is the natural choice on AWS through Amazon OpenSearch Service.
Elastic's own benchmarks show performance advantages on some queries. Run a test with your own data and queries if performance is decisive.
Typesense vs Meilisearch
Both are excellent for e-commerce, documentation and in-app search.
- Typesense is strong on faceted filtering, curation (pinning and hiding results), geo-search and multi-node clustering for high availability.
- Meilisearch is known for excellent relevance defaults and developer experience, with good multilingual support.
For many catalogues, either gets you a great search experience in days.
Indian e-commerce specifics
- Hinglish and transliteration: shoppers type "kurta" and "kurti", "jeans for men", "chappal" or Hindi words in Latin script. Build synonym lists and test with real search logs.
- Spelling variations of brand and product names are common. Typo tolerance and synonyms matter more than advanced ranking at first.
- Mobile networks: keep responses small and fast; return only the fields you display.
- Merchandising: teams want to pin products for campaigns. Typesense curation, or Elasticsearch/OpenSearch rules and boosting, handle this.
AI and hybrid search
All four now support vector search, so you can combine keyword results with semantic similarity (hybrid search) to handle queries like "something warm for a winter wedding". If your main use is retrieval for LLM features, compare with dedicated options in pgvector vs Pinecone vs Qdrant.
Choose Elasticsearch if…
- you need the most advanced search, analytics and AI features
- you also want logs, observability or security analytics on the same platform
- you'll use Elastic Cloud or have search engineers to run it
Choose OpenSearch if…
- you want Elasticsearch-class capability under Apache 2.0
- you're on AWS and want a managed service
- you need security, alerting and anomaly detection without extra licences
Choose Typesense or Meilisearch if…
- you need fast, typo-tolerant product, content or in-app search
- your dataset fits comfortably in memory
- you want minimal operations and quick setup
Recommendation by use case
| Use case | Pick |
|---|---|
| D2C or mid-size e-commerce catalogue search | Typesense or Meilisearch |
| Large marketplace with millions of SKUs and heavy merchandising | Elasticsearch or OpenSearch |
| Documentation and help centre search | Meilisearch or Typesense |
| Log and observability search | OpenSearch or Elasticsearch (or see observability tools) |
| Travel or property search with geo and many filters | Elasticsearch/OpenSearch, or Typesense |
| SaaS in-app search across customer data | Typesense or OpenSearch, with tenant isolation |
Summary
For product and site search, start with Typesense or Meilisearch: excellent results with little effort. For large-scale search, analytics and logs, choose Elasticsearch for the richest features or OpenSearch for a fully open-source path, especially on AWS.
We build search experiences and search infrastructure for e-commerce, travel and SaaS products through our product engineering and data teams. Talk to us about improving your search.