etcd serach with key filter

343 views
Skip to first unread message

Suvendu Mitra

unread,
Mar 3, 2016, 8:17:02 AM3/3/16
to etcd-dev
Hi,
does etcd provide query for values based on key filter ?

Suvendu

Brandon Philips

unread,
Mar 4, 2016, 6:53:41 PM3/4/16
to Suvendu Mitra, etcd-dev
No, it does not. 

What is your use case?

--
You received this message because you are subscribed to the Google Groups "etcd-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etcd-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brandon Philips

unread,
Mar 5, 2016, 6:14:49 PM3/5/16
to Suvendu Mitra, etcd...@googlegroups.com
etcdv3 API that is currently in 2.3.0-alpha let's you do prefix ranges but I don't think it can do postfix ranges.

On Sat, Mar 5, 2016, 1:37 PM Suvendu Mitra <suvend...@gmail.com> wrote:
I have model some keys (I don't want to create any directory hierarchy)  e.g
Foo.bar
Foo,world
Foo.govt

Now I want to search with following regex

"*"
"Foo*
"*.bar"

#Suvendu
--
Suvendu Mitra
GSM - +358504821066
Reply all
Reply to author
Forward
0 new messages