Comments (3)
Hi @garrettg123, from the error message, it seems like embedding_cosine_hnsw_index
is a btree
index, not an hnsw
index.
from pgvector.
Thanks for the prompt response, @ankane. I'm not quite sure what to do with that, though. I'm using the latest pgvector and copied the code from https://github.com/pgvector/pgvector?tab=readme-ov-file#hnsw. Is there something wrong with my PG config? How can I use the hnsw
index?
from pgvector.
You'll want to drop the btree
index and create it as an hnsw
index instead.
DROP INDEX embedding_cosine_hnsw_index;
CREATE INDEX embedding_cosine_hnsw_index ON "Embedding" USING hnsw (embedding vector_cosine_ops);
from pgvector.
Related Issues (20)
- How to get the vector length from information schema HOT 2
- Build error for x64 HOT 1
- Why exponent > 98 in halfvec?
- how to build a arm docker images HOT 4
- Inconsistent Semantic Result HOT 3
- load environment file from yaml HOT 1
- docker 安装pvector 提示错误 HOT 1
- Semantic cache capability for pgvector db HOT 1
- Does pgvector support gpu acceleration? HOT 1
- Docker image not installing pgvector extension HOT 1
- Multi-vector search HOT 8
- Out of sync documentation on vector dimensions? HOT 1
- XX000 Error when adding more than a thousand records to an `sparsevec` HNSW index HOT 6
- Unable to install pgvector extension for Postgres 16 in Ubuntu 22.04 HOT 2
- Squared L2 distance to avoid the square root? HOT 4
- FYI: It was (maybe) necessary to fully remove my previous docker installs to utilize new column types (halfvec) HOT 5
- creating a new hnsw index over 30 mln entries HOT 2
- Inconsistent filter behaviour for different limits. HOT 1
- ERROR: extension "vector" has no installation script nor update path for version "0.7.3" HOT 3
- some questions about 'heaptids[HNSW_HEAPTIDS]' in HnswElementData struct HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgvector.