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-21 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."],["Before creating indexes, you must have the `vector` extension (version 0.5.0 or later) installed, with embedding vectors already stored in a table."],["To create `ScaNN` indexes you must also install the `alloydb_scann` extension."],["The `postgres_ann` extension has been renamed to `alloydb_scann`, requiring users to drop old indexes created using `postgres_ann`, upgrade AlloyDB Omni and recreate indexes with `alloydb_scann`."]]],[]]