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-14 (UTC)"],[[["This guide outlines how to generate and query indexes using stored embeddings within AlloyDB."],["AlloyDB supports the creation of `ScaNN`, `IVF`, `IVFFlat`, and `HNSW` index types for efficient data retrieval."],["Prior to index creation, you must have embedding vectors stored in an AlloyDB table and have installed the `vector` extension (version 0.5.0 or later)."],["Creating `ScaNN` indexes requires the installation of the `alloydb_scann` extension, and please note that this extension is compatible with PostgreSQL 14 and 15."],["If upgrading to AlloyDB Omni, you must drop any `postgres_ann` indexes and recreate them using the `alloydb_scann` extension."]]],[]]