BASE

Orama

Orama

Web framework / library · Free

A JavaScript search engine for local and server scenarios: it indexes structured data and performs text or vector search.

Also known as: oramasearch/orama; orama

Resource illustration: Orama

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Embed structured data search in a JavaScript application
  • Add records to an index and connect search to user input

Example workflow

A possible workflow; this is not a report of hands-on testing.

Embed structured data search in a JavaScript application.

Before you start

  • Web application source code and the intended workflow.
  • The project's framework and runtime version.

Steps

  1. Create a search schema for the local document collection's fields.
  2. Add records to an index and connect search to user input.
  3. Add real data and error handling; check the production build.

Check your result

  • The workflow works after a page refresh and with invalid data.
  • The bundle, server rendering, and supported browsers suit the project.

Choosing Orama

Embed structured data search in a JavaScript application

Choose this when

  • Embed structured data search in a JavaScript application
  • Add records to an index and connect search to user input

Requirements

  • Define vector dimensions when creating the schema; supplied vectors and the chosen field must match that schema.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • The README's generative RAG/chat example requires OpenAI API calls; this is separate from local search.

Frequently asked questions

What can you use for free in Orama?

Code and local use under Apache-2.0.

What additional costs might arise with Orama?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Orama?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Orama?

Create a search schema for the local document collection's fields. Add records to an index and connect search to user input. Add real data and error handling; check the production build.

How does Orama separate full-text and vector search?

First create a database with an indexed schema, then insert documents and call search. For vector/hybrid scenarios, the schema contains a vector with specified dimensions, and queries supply an embedding and comparison field. Embedding generation can use separate plugin-embeddings; the basic full-text example works without it.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Orama
  • web
  • Development

Sources

Other resources