From f0f7ffca41cc91f620cb8a9077e0f3919eaf2a8a Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 31 Mar 2023 19:34:39 -0700 Subject: [PATCH] Updated readme [skip ci] --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 84223ed..1a18e0a 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,7 @@ Open-source vector similarity search for Postgres -```sql -CREATE TABLE items (embedding vector(3)); -CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops); -SELECT * FROM items ORDER BY embedding <-> '[1,2,3]' LIMIT 5; -``` - -Supports L2 distance, inner product, and cosine distance +Supports exact and approximate nearest neighbor search for L2 distance, inner product, and cosine distance [![Build Status](https://github.com/pgvector/pgvector/workflows/build/badge.svg?branch=master)](https://github.com/pgvector/pgvector/actions)