?
Rebuild a data source
Rebuilds a corpus under new chunking or embedding settings, alongside the live one, with no downtime.
admin.dataSources.revectorize({ slug, ingest? })
Rebuilds a corpus under new chunking or embedding settings as a candidate version, alongside the live one, so search keeps serving the current build the whole time. Because rebuilding reuses stored extractions, changing chunking never re-runs document extraction, only re-chunking and re-embedding. Compare the candidate with search --candidate, then promote it or drop it.
Parameters
--source
string
Corpus slug.
--max-chars / --embedding-model / ...
settings
Ingest settings for the new version. Omit to adopt platform defaults.
--wait
flag
Block until the rebuild finishes.
CLI
remy-admin datasources revectorize --source policies --max-chars 900 --wait remy-admin datasources search --source policies --candidate "payment terms" remy-admin datasources promote --source policies