Hi,
I am using Riaksearch with erlang PB client by following  
"https://github.com/basho/riak-erlang-client/"; my schema is 

{
    schema,
    [
        {version, "1.1"},
        {default_field, "playername"},
        {default_op, "or"},
        {n_val, 3},
        {analyzer_factory, {erlang, text_analyzers, standard_analyzer_factory}}
    ],
    [
        {field, [
            {name, "score"},
            {type, integer},
            {padding_size, 10},
            {analyzer_factory, {erlang, text_analyzers, 
integer_analyzer_factory}}
        ]},
    ]
}.

i am populating my bucket in format like 
Bucket,Key,[{key,value},{key,value},{score,200}]


can I find keys greater then value for example 500 by using 

riakc_pb_socket:search(Client, "player", score > 500)

i tried but with no luck. If yes then how? if not then how can i do that ?

thanks in advance and looking forward for ideas?


Regards,
Muhammad Yousaf

                                          
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to