Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questo documento mostra come utilizzare gli embedding archiviati per generare indici ed eseguire query su
gli embedding. Per saperne di più su come memorizzare gli embedding, consulta
Memorizzare gli embedding di vettori.
Con AlloyDB puoi creare indici ScaNN, IVF, IVFFlat e HNSW.
Prima di iniziare
Prima di poter iniziare a creare gli indici, devi completare i seguenti prerequisiti.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-04-21 UTC."],[[["This document explains how to create and use `ScaNN`, `IVF`, `IVFFlat`, and `HNSW` indexes with AlloyDB to query stored embeddings."],["Before creating indexes, ensure that embedding vectors are added to a table, the `vector` extension (version 0.5.0 or later) is installed, and the `alloydb_scann` extension is installed for `ScaNN` indexes."],["If you are upgrading to AlloyDB Omni, you must drop any indexes created with the older `postgres_ann` extension and recreate them using the `alloydb_scann` extension."],["The `alloydb_scann` extension is a prerequisite for creating ScaNN indexes and can be used with PostgreSQL 14 and 15 compatible databases."],["The `ScaNN` index feature is in Pre-GA and subject to limited support, according to the Pre-GA Offerings Terms in the Service Specific Terms."]]],[]]