Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dokumen ini menunjukkan cara menggunakan penyematan yang disimpan untuk membuat indeks dan kueri
penyematan. Untuk informasi selengkapnya tentang menyimpan penyematan, lihat
Menyimpan penyematan vektor.
Anda dapat membuat indeks ScaNN, IVF, IVFFlat, dan HNSW dengan AlloyDB.
Sebelum memulai
Sebelum dapat mulai membuat indeks, Anda harus menyelesaikan prasyarat
berikut.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]