Comments (4)
Hey @dreamflasher, you should only need to rebuild the index if the distribution changes significantly from the original. You could try doing it regularly (since it can be done concurrently/without downtime) to see how it affects performance and quality.
Re side question: It performs exact search without an index and approximate search with one.
from pgvector.
Thank you!
from pgvector.
Just wanted to confirm if new vectors will be instantly searchable in the index as soon as they are updated (added / removed / edited) in the corresponding table
Yes.
it's just that the centroids corresponding to the clusters in the index won't be updated, and that's the main reason why one should periodically rebuild the index?
Yes, particularly if the data that's added starts to shift where the actual centers are.
from pgvector.
@ankane Just wanted to confirm if new vectors will be instantly searchable in the index as soon as they are updated (added / removed / edited) in the corresponding table? If I understand correctly, it's just that the centroids corresponding to the clusters in the index won't be updated, and that's the main reason why one should periodically rebuild the index?
from pgvector.
Related Issues (20)
- How to upgrade the vector extension version from 0.44 to 0.5.0. HOT 2
- Is subtraction operator self-commutative ? HOT 1
- why does the parameter ivfflat.probes losts when reconnecting the session? HOT 2
- 0.6.1 Plan HOT 1
- Building hnsw index fail with memory is temporarily unavailable HOT 1
- Build a hierarchical structure for each tenant HOT 3
- Query with HNSW index returns only small portion of results HOT 4
- Is here any possibility to crush? HOT 4
- Performance profile of `UPDATE` vs `INSERT`? HOT 1
- Does postgres extension support primary-secondary synchronization? HOT 1
- How to add to existing docker postgresql ? HOT 2
- HNSW Index scan is not called with vector_cosine_ops HOT 3
- little advice:add a tip in windows install (nmake may need root) HOT 4
- Unrelevant results by DB similarity search HOT 1
- Can I use index without ORDER BY or with ORDER BY different value? HOT 6
- Can one use the HNSW index without the `LIMIT` clause? HOT 2
- [enhancement] Supporting Top-p (Nucleus Sampling) for cut off HOT 3
- trouble while instaling postgres pgvector in windows HOT 5
- 0.6.2 Plan HOT 1
- Install on M1 Mac issues 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.