Hi Muhammad, Does the format of p.txt match the expected schema format? https://wiki.basho.com/Riak-Search---Schema.html#Defining-a-Schema
Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. [email protected] On Mon, Apr 18, 2011 at 6:04 PM, Muhammad Yousaf <[email protected]>wrote: > > Hi, > > I dont know why i am getting that error while setting my schema > > $ search-cmd set_schema player /home/yousaf/index/p.txt > Attempting to restart script through sudo -u riak > > :: Updating schema for 'player'... > :: ERROR: Could not read '/home/yousaf/index/p.txt'. > RPC to '[email protected]' failed: {'EXIT',-1} > > > and i checked everything its working like > > ([email protected])1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", > 8087). > {ok,<0.39.0>} > ([email protected])2> riakc_pb_socket:ping(Pid). > pong > ([email protected])3> RiakNode='[email protected]'. > '[email protected]' > ([email protected])4> net_adm:ping(RiakNode). > pong > > > why cannot i set my schema any idea how can i fix this error ?? > > > > > > Regards, > > Muhammad Yousaf > > > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
