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-07-18 (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."]]],[]]