Full-text, vector and hybrid search in your browser, server or edge network
open sourceApache-2.0self-hostablefree
OramaJS (published as @orama/orama) is a search engine library written in TypeScript that runs entirely in the browser, on a server or at the edge, with no separate search service. You create an in-memory database with a schema, insert documents and query it with full-text search ranked by BM25, vector search over embeddings, or hybrid search combining both. It has typo tolerance, exact match, filters, facets, field boosting, geosearch, results pinning for merchandising, stemming and tokenization in 30 languages, a plugin system, and answer-engine chat sessions for retrieval-augmented generation. It installs from npm and works in Node.js, Deno, Bun and browsers.
Problems it solves
- add fast client-side search to my static site without running a search server
- search documents by keyword and by embedding similarity in the same JavaScript app
- run a small RAG search index at the edge in a Cloudflare Worker
- typo-tolerant product search with facets in a Node.js app
Features
- full-text search with BM25
- vector search
- hybrid search
- typo tolerance and exact match
- filters and facets
- field boosting
- geosearch
- results pinning
- stemming in 30 languages
- answer engine chat sessions for RAG
View 2 more
- plugin system
- runs in browsers, Node.js, Deno, Bun and edge runtimes
Alternatives
The same job
These do what OramaJS does.
- FlexSearch Fast full-text search library for the browser and Node.js
- Tantivy Fast full-text search engine library written in Rust
- Fuse.js Lightweight fuzzy-search library, with zero dependencies
