-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Metadata on keys and then supporting that metadata value to filter search results. #96
Comments
You can access the badger DB yourself with https://dgraph.io/docs/badger/get-started/#setting-time-to-live-ttl-and-user-metadata-on-keys |
Thanks. That's true, I checked that. What we want to achieve is , for each key-value pair, have a ref count. I thought if I can save that as part of metadata, instead of value, then updates will be fast. It will just update the metadata and not the entire value of the key on disk. Any idea how to achieve it? |
Can you also explain how to use it, if I have to use from Badger DB. How to add metadata and TTL while using TxInsert? |
If you want to find content based on meta data stored in keys, I am not sure but I would suspect that the meta data is actually stored in the vlog anyways. |
@tauraamui Thanks for your comments. |
I don't know if you can do this with Badgerhold, I doubt it. |
yep, you should definitely use kvs. |
This thread hasn't referred to KVS, what? |
@timshannon @tauraamui What is KVS? We need TTL and metadata with badgerhold DB, any plans for that? |
No description provided.
The text was updated successfully, but these errors were encountered: