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-03-06 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."]]],[]]