riak search wildcard search

Wilson Tuladhar mailwilson007 at gmail.com
Mon May 2 04:47:08 EDT 2011


Hi,

I was trying out the wildcard search and i found out one interesting thing
that the wildcard search doesn't work when i specify only one character. Is
it a bug or is it some kind of protection mechanism to enforce faster
output.

Say if I do
riakc_pb_socket:search(Pid, DB, "f_name:Wi*"),
it gives me all the keys with f_name starting with Wi.

But if I do
riakc_pb_socket:search(Pid, DB, "f_name:W*"),
it gives me empty list.

//Wilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110502/d588d9c7/attachment.html>


More information about the riak-users mailing list