UpdateIndex =========== Update an existing vector index on a descriptor class. Requires ``indexes.create`` permission. Ordinary scalar/text/array index kinds do not support this command. .. include:: metadata_targets.rst Supply ``property: "_blob"`` and the index kind (``flat``, ``ivf``, ``hnsw``, or ``acorn``) with at least one action. * ``params`` completely replaces the vector configuration. Existing nonmissing vectors must satisfy the replacement dimensions. An invalid replacement rolls back. See :doc:`../DescriptorIndexes` for the parameters of each kind. * ``metadata`` replaces customer metadata. An empty object clears it. Metadata changes do not rebuild vectors. * ``build_index: true`` runs the existing build/training barrier while retaining the selected index's lazy mode. The durable index identity is preserved. Construction changes use a fresh generation; query tuning preserves compatible generations. A successful response contains ``status: 0``. Removing and recreating an index instead allocates a new identity and cannot publish work prepared for the old index. .. code-block:: json [{"UpdateIndex":{"target":"descriptor","class":"Faces","property":"_blob", "kind":"hnsw","metadata":{"model":"face-v2"}, "build_index":true}}]