Skip to content

Multi-search & federated queries

Run multiple searches across different indexes in one HTTP request. Build cross-collection autocomplete under 50ms.

One request, many results

Federated search across indexes, collections, and data types — without N round-trips from the browser.

Cross-index federation

Query products, categories, and blog posts in one call. Merge and rank results client-side or let the API do it.

Autocomplete

Type-ahead suggestions across multiple collections in one request. Under 50ms p99 for instant feel.

Batched requests

Up to 50 searches per multi-search request. Each with independent filters, sort, and facets.

Parallel execution

All searches in a multi-search call execute in parallel on the server. Total latency = slowest single query.

Independent facets

Each search in the batch returns its own facet counts. Build multi-panel faceted UIs without extra requests.

Single token

One scoped token authorizes all searches in the batch. Tenant isolation is enforced per query inside the batch.

Several searches, one round trip

Batch product, article, and suggestion queries without adding client-side waterfalls.

json
// POST /v1/projects/:projectId/multi-search
{
  "searches": [
    { "collection": "products", "q": "sneakers" },
    { "collection": "articles", "q": "running tips" },
    { "collection": "faq", "q": "returns" }
  ]
}

Launch Search OS in one evening

Create an index, add documents and connect search from your app. Free tier covers a prototype — data persists when you upgrade.