Comments (5)
Hi @marijnl, here are the steps to submit a pull request, which doesn't require write permissions.
- Fork (will take a photocopy) this project as your personal repository
- Clone that copy to your local system
- Make changes to the source code
- commit and push changes from your local system to your fork
- create a pull request to a-mma AquilaDB
that's it!
from aquila.
I supply the _id before adding it to the db
def convertDocuments(_id, vector):
{
"vector": {
"e": vector
},
"_id" : _id.encode('utf-8')
}
This way its easy to delete vectors using a deleteRequest without having to keep track over db keys
I noticed though that the vectors are only labeled as being deleted. They are not physically removed from disk
from aquila.
@marijnl You are right. To remove a document from the database, what you need to do is set _deleted
key to true, because AquilaDB follows Couch protocol and use PouchDB internally. But this doesn't remove that item from vector index. We need to do that as well. So, essentially, the implementation would be, we would delete the document the same way you have mentioned, which will trigger an internal change event which should call delete method on vector index. We appreciate your interest and are open to pull requests if you are able to pull this off..
from aquila.
@freakeinstein I think i dont have permissions to create a branch and PR. Can you grant me access? I didnt fix this specific issue but a typing issue of env variables.
from aquila.
Code is rewritten. Bug is irrelevant and covered. closed.
from aquila.
Related Issues (20)
- persisting data HOT 16
- persist Document data HOT 2
- Clean install leads to communication error HOT 3
- How to truncate the vector database? HOT 6
- Docker Volume Problem HOT 6
- Sample Code returns empty HOT 17
- Storage Db HOT 3
- Is there any gpu acceleration for AquilaDB ? HOT 2
- [BUG] Environment variable FIXED_VEC_DIMENSION is not an integer HOT 1
- Failed to build docker image on Windows HOT 1
- Faiss Indexer Problem HOT 12
- Allow indexing large vectors [ENHANCEMENT] HOT 1
- return `distance` as part of document during k-NN search [ENHANCEMENT] HOT 1
- docker command not working HOT 2
- [BUG] Kubernetes deploy command fails HOT 4
- [Improvement] Create database response payload to follow camel case
- C# client library HOT 1
- Readme and wiki links broken by project migration from `a-mma/AquilaDB` HOT 1
- Wikipedia Dump HOT 1
- Your official website is currently offline. And it needs to be fixed.
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 aquila.