Overview
Onyx has gradually been working towards switching our backing document index database from Vespa to OpenSearch. The motivating factors behind this decision are to reduce the baseline resources required to run Onyx, and to switch to a widely used and supported documented index provider.This is a living page and more details will be added over the coming weeks.
Migration
As ofv3, Onyx uses both Vespa and OpenSearch. Any documents which Onyx
indexes while using this version are indexed into both Vespa and OpenSearch, and
there is no migration required.
Also as of v3, Onyx automatically runs a task to migrate your existing
documents from Vespa to OpenSearch. This task makes checkpointed progress so
Onyx does not necessarily need to be running continuously until the migration
completes in order for it to complete successfully. No explicit input is needed
from admins other than upgrading to v3 in order for this task to run.
The migration’s progress can be monitored in the Admin Panel, in the Document
Index Migration sidebar tab.
Deprecation of Vespa
v4 of Onyx will represent the first major version to use OpenSearch entirely
without Vespa.
Retrieval
Duringv3, document retrieval can be done via either Vespa (the default) or
OpenSearch, and which one is used can be toggled in the Document Index Migration
sidebar tab on the Admin Panel. Naturally, if the migration is not yet complete,
retrieval via OpenSearch may not yield every expected document.
cloud.onyx.app
The migration for cloud users began in March 2026, and by April 2026 virtually all tenants’ migrations indicated completion. As ofv3.2.0-cloud.7 in April, all tenants in the cloud have been swapped over
to OpenSearch for retrieval, and Vespa is no longer in the loop with Onyx, so
all new documents indexed are indexed only using OpenSearch.