Ryan, Thanks a lot! I have checked with 'legacy' option. It works fine. A bit a later today I will set old value of option 'mapred_system', check your fix and write you about result.
2011/8/8 Ryan Zezeski <rzeze...@basho.com> > Atrem, > > A PR is in place for this. > > https://github.com/basho/riak_search/pull/76 > > -Ryan > > > On Sun, Aug 7, 2011 at 6:38 PM, Ryan Zezeski <rzeze...@basho.com> wrote: > >> Reply-all in case anyone else hits this problem. >> >> >> On Sun, Aug 7, 2011 at 6:36 PM, Ryan Zezeski <rzeze...@basho.com> wrote: >> >>> Artem, >>> >>> It looks like this has to do with our recent move to Pipe as the new >>> mapred engine. The Search code doesn't speak Pipe, yet. I'm working on a >>> fix but in the meantime you could change the `mapred_system` entry in >>> app.config to `legacy`. >>> >>> -Ryan >>> >>> >>> On Sun, Aug 7, 2011 at 4:52 PM, Artem Golovinsky < >>> artemgolovin...@gmail.com> wrote: >>> >>>> Ryan, >>>> Thanks for quick answer. >>>> Yes, I have tried it before. In spec of riakc_pb_socket:search/3 this >>>> parameter is defined as string(). >>>> With binary it doesn't work too. >>>> >>>> >>>> 2011/8/8 Ryan Zezeski <rzeze...@basho.com> >>>> >>>>> Artem, >>>>> >>>>> Try making that 3rd param a binary. >>>>> >>>>> -Ryan >>>>> >>>>> [Sent from my iPhone] >>>>> >>>>> On Aug 7, 2011, at 1:15 PM, Artem Golovinsky < >>>>> artemgolovin...@gmail.com> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I try to make request to Riak Search, but I get >>>>> error bad_mapred_inputs. >>>>> >>>>> Some examles: >>>>> >>>>> ( <slinode@127.0.0.1>slinode@127.0.0.1)32> {ok,Pid} = >>>>> riakc_pb_socket:start_link('127.0.0.1', 8087). >>>>> ( <slinode@127.0.0.1>slinode@127.0.0.1)32> riakc_pb_socket:search(Pid, >>>>> <<"sl">>,"got:[00000000000 TO 9000000000]"). >>>>> {error,<<"bad_mapred_inputs">>} >>>>> ( <slinode@127.0.0.1>slinode@127.0.0.1)33> riakc_pb_socket:search(Pid, >>>>> <<"sl">>,"short:cKCAn5"). >>>>> {error,<<"bad_mapred_inputs">>} >>>>> >>>>> This queries are valid and work through Solr interface: >>>>> >>>>> <http://localhost:8098/solr/sl/select?q=got:[00000000000%20TO%2090000000000]> >>>>> http://localhost:8098/solr/sl/select?q=got:[00000000000 TO >>>>> 90000000000] >>>>> <result> >>>>> and >>>>> >>>>> <http://localhost:8098/solr/sl/select?q=got:[00000000000%20TO%2090000000000]> >>>>> http://localhost:8098/solr/sl/select?q=short:cKCAn5 >>>>> <result> >>>>> >>>>> Could you please describe format of third parameter(query) >>>>> for riakc_pb_socket:search/2? >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> Artem Golovinsky >>>>> >>>>> _______________________________________________ >>>>> riak-users mailing list >>>>> riak-users@lists.basho.com >>>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >>>>> >>>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> Artem Golovinsky >>>> >>> >>> >> > -- Best regards, Artem Golovinsky
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com