Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En este documento, se muestra cómo usar las incorporaciones almacenadas para generar índices y consultar incorporaciones. Para obtener más información sobre el almacenamiento de incorporaciones, consulta Almacena incorporaciones de vectores.
Puedes crear índices ScaNN, IVF, IVFFlat y HNSW con AlloyDB.
Antes de comenzar
Antes de comenzar a crear índices, debes completar los siguientes requisitos previos.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-04-21 (UTC)"],[[["This guide outlines how to generate indexes and query embeddings using stored embeddings in AlloyDB, building upon the foundation of storing vector embeddings."],["AlloyDB supports the creation of `ScaNN`, `IVF`, `IVFFlat`, and `HNSW` index types, and for `ScaNN` indexes the `alloydb_scann` extension is necessary alongside the `vector` extension."],["Before creating indexes, you must ensure that vector embeddings are stored in an AlloyDB table, and the `vector` extension (version 0.5.0 or later) is installed."],["The `postgres_ann` extension has been renamed to `alloydb_scann`, so any existing indexes using the prior extension must be dropped before upgrading, and re-created after the update."],["Index names must be unique to each table in the database because they are shared across the database."]]],[]]