| License and hosting | The complete API surface is available in the open-source server under GPL-3.0. Self-host it free forever or run the same engine in a dedicated Typesense Cloud cluster. | Elasticsearch left Apache 2.0 for SSPL and ELv2 in 2021, then added AGPLv3 to the free portions in 2024. The default distribution and X-Pack remain under ELv2. Self-managed has a free Basic tier plus paid subscriptions; Elastic Cloud is paid. |
| Product scope | Purpose-built for search inside websites, SaaS products, mobile apps, and devices, including catalogs, marketplaces, documentation, and in-product search | A distributed search and analytics platform spanning application search, logs, observability, security incident monitoring, ES|QL, and Kibana |
| Runtime and storage | One self-contained native binary built in C++. Fields used for search, filtering, sorting, and faceting stay in memory; source documents and unindexed fields stay on disk. | JVM-based, with Lucene segments on disk and heavy use of the filesystem cache. Elastic's production guidance asks teams to plan heap, storage, mappings, shards, replicas, node roles, and cluster health as part of running the platform. |
| Typo tolerance | Enabled by default, with per-query and per-field controls for how forgiving a search should be | Fuzzy matching is configured through the query. Elastic Search UI's Elasticsearch connector has fuzziness disabled by default. |
| Runtime search configuration | Change searchable fields and weights, filters, facets, typo settings, grouping, ranking, and sorting on each request through a focused search API | Query DSL, runtime fields, analyzers, and search templates provide deep flexibility. Teams assemble and govern more moving parts to shape an application-search experience. |
| Schema and mapping changes | Automatic schema detection or a strict schema, with ingestion-time type validation to keep collections clean | Dynamic mapping can infer field types. Because an existing field's type cannot be changed in place after it is mapped, changing the type requires a new index and reindexing. |
| Relationships and JOINs | Query-time cross-collection JOINs through reference fields, with filtering, faceting, sorting, nested joins, and field inclusion | Nested documents, parent-child join fields, and ES|QL LOOKUP JOIN cover several relationship models, each with different modeling and performance tradeoffs |
| Runtime sorting | Sort by up to three fields alongside relevance, geo distance, or conditional ranking without duplicating a collection | Sort by one or more fields at query time. Scripted and specialized sorts add further control. |
| Geo search | Multiple independently queryable named geo fields per record, polygon search, geo filtering, faceting, and distance sorting | Multiple geo_point and geo_shape fields per document, with a broad set of geo queries and aggregations |
| Vector, semantic, and hybrid search | HNSW-based vector search, automatic or user-provided embeddings, semantic search, and tunable hybrid rank fusion across keyword and vector signals | kNN, semantic_text, hybrid retrieval, and inference integrations. The self-managed matrix puts reciprocal rank fusion for hybrid search on Enterprise, and packaged ELSER for ML nodes on Platinum or Enterprise tiers. |
| Natural Language Search | Built-in Natural Language Search uses an LLM to turn a request such as “waterproof hiking shoes under $150” into structured search terms, filters, and sort parameters. | Elastic Agent Builder handles natural-language questions through agents and tools over Elastic data. It is an Enterprise-tier feature in both self-managed Elasticsearch and Elastic Cloud, not part of the free, open-source surface. It is a broader agent workflow rather than request-time search-parameter translation. |
| Conversational Search / RAG | Built-in Conversational Search and RAG with streaming, conversation history, and OpenAI, Azure OpenAI, Google, Cloudflare Workers AI, or self-hosted vLLM models | The same Enterprise-tier Agent Builder creates conversational agents that search, reason over, and take actions on Elasticsearch data through built-in or custom tools and a chosen LLM. |
| Multi-tenancy | Scoped API keys can lock a client to permitted tenants, filters, fields, query limits, and an expiry time | API keys can carry role descriptors and index restrictions. The self-managed subscription matrix places document-level security on paid tiers for query-filtered access. |
| Direct client access | Backends, browsers, mobile apps, and devices can all query Typesense. Public clients can connect directly using search-only scoped API keys that restrict collections, filters, fields, query limits, and expiry. This avoids an extra backend proxy hop, reducing latency and backend work. | Elastic's own security guidance says Elasticsearch is not designed to be publicly accessible over the internet, even with IP filtering. Public applications normally place a backend or proxy between the client and cluster. |
| Analytics and aggregations | Faceting plus purpose-built search, click, conversion, and visit analytics for improving an application-search experience | A general aggregations framework, ES|QL, transforms, and Kibana for analyzing search, logs, security, and operational data |
| Merchandising and curation | Open-source APIs and a Typesense Cloud UI for pinning, hiding, filtering, sorting, query replacement, scheduled curations, and rule-based overrides | Pinned queries, rank features, function scores, and Query DSL can implement curation. The Cloud subscription matrix places packaged Query Rules on its Enterprise tier. |
| High availability | Raft clustering with automatic leader election. A 3-node cluster preserves quorum after 1 node fails, then continues serving reads and writes after automatic failover. | Primary shards have replica copies, and Elasticsearch automatically promotes a replica when a primary fails. Elastic's self-managed reference architecture requires enough nodes across three failure zones for high availability, plus deliberate shard placement and allocation awareness. |
| Geo distribution | Typesense Cloud's Search Delivery Network distributes a cluster across up to 7 regions from 26 choices, routes searches to the nearest node, and fails over automatically. | Elasticsearch supports multi-zone deployments and cross-cluster search and replication. Teams design the regional cluster and routing topology for their use case. |
| InstantSearch and search UI | The Typesense-InstantSearch adapter lets Algolia's JavaScript, React, Vue, and Angular widgets work with a Typesense backend. | Elastic Search UI provides headless and React components with an Elasticsearch connector. Its API differs from InstantSearch. |
| Support coverage | Typesense Cloud offers 24/7/365 critical production support with response targets starting at 30 minutes. Self-hosted support is community-based. | Elastic Cloud offers Standard, Gold, Platinum, and Enterprise support levels. Platinum and Enterprise include a 99.95% monthly uptime SLA for eligible Cloud services. |
| Serverless offering | No. Typesense runs as provisioned persistent compute, either self-hosted or in a dedicated Cloud cluster. | Yes. Elastic Cloud Serverless autoscales and meters ingest, search, machine learning, storage, and data transfer rather than exposing node resources. |