Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument erfahren Sie, wie Sie mithilfe gespeicherter Einbettungen Indizes generieren und Einbettungen abfragen. Weitere Informationen zum Speichern von Einbettungen finden Sie unter Vektoreinbettungen speichern.
Mit AlloyDB können Sie ScaNN-, IVF-, IVFFlat- und HNSW-Indexe erstellen.
Hinweise
Bevor Sie mit dem Erstellen von Indexen beginnen können, müssen Sie die folgenden Voraussetzungen erfüllen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-04-14 (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."]]],[]]