I notice you're using riak search 0.14.0, if possible it might help to upgrade to 0.14.2.
-Sylvain On Thu, Jul 7, 2011 at 11:28 AM, Muhammad Yousaf <[email protected]> wrote: > Hi, > > I have 2 node Riaksearch cluster. My first node is working perfectly with > that stats > > curl -H "Accept: text/plain" http://192.168.1.182:8098/stats > { > "vnode_gets": 0, > "vnode_puts": 0, > "read_repairs": 0, > "vnode_gets_total": 480294, > "vnode_puts_total": 106564, > "node_gets": 0, > "node_gets_total": 341810, > "node_get_fsm_time_mean": "undefined", > "node_get_fsm_time_median": "undefined", > "node_get_fsm_time_95": "undefined", > "node_get_fsm_time_99": "undefined", > "node_get_fsm_time_100": "undefined", > "node_puts": 0, > "node_puts_total": 34671, > "node_put_fsm_time_mean": "undefined", > "node_put_fsm_time_median": "undefined", > "node_put_fsm_time_95": "undefined", > "node_put_fsm_time_99": "undefined", > "node_put_fsm_time_100": "undefined", > "read_repairs_total": 1711, > "cpu_nprocs": 472, > "cpu_avg1": 374, > "cpu_avg5": 479, > "cpu_avg15": 502, > "mem_total": 4002107392.0, > "mem_allocated": 3946246144.0, > "nodename": "[email protected]", > "connected_nodes": [ > "[email protected]" > ], > "sys_driver_version": "1.5", > "sys_global_heaps_size": 0, > "sys_heap_type": "private", > "sys_logical_processors": 4, > "sys_otp_release": "R14B01", > "sys_process_count": 387, > "sys_smp_support": true, > "sys_system_version": "Erlang R14B01 (erts-5.8.2) [source] [64-bit] > [smp:4:4] [rq:4] [async-threads:64] [hipe] [kernel-poll:true]", > "sys_system_architecture": "x86_64-unknown-linux-gnu", > "sys_threads_enabled": true, > "sys_thread_pool_size": 64, > "sys_wordsize": 8, > "ring_members": [ > "[email protected]", > "[email protected]" > ], > "ring_num_partitions": 64, > "ring_ownership": > "[{'[email protected]',32},{'[email protected]',32}]", > "ring_creation_size": 64, > "storage_backend": "riak_kv_bitcask_backend", > "pbc_connects_total": 505, > "pbc_connects": 0, > "pbc_active": 0, > "riak_err_version": "1.0.0", > "runtime_tools_version": "1.8.4.1", > "riak_search_version": "0.14.0", > "riak_search_core_version": "0.14.0", > "qilr_version": "0.14.0", > "riak_solr_version": "0.14.0", > "merge_index_version": "0.14.0", > "luwak_version": "1.0.0", > "skerl_version": "1.0.0", > "riak_kv_version": "0.14.0", > "bitcask_version": "1.1.5", > "riak_core_version": "0.14.0", > "luke_version": "0.2.3", > "erlang_js_version": "0.5.0", > "mochiweb_version": "1.7.1", > "webmachine_version": "1.8.0", > "crypto_version": "2.0.2", > "os_mon_version": "2.2.5", > "cluster_info_version": "1.0.0", > "sasl_version": "2.1.9.2", > "stdlib_version": "1.17.2", > "kernel_version": "2.14.2", > "executing_mappers": 0 > > my query from first node works fine > > ([email protected])3> {ok,Client} > =riakc_pb_socket:start_link('192.168.1.182',8087). > {ok,<0.46.0>} > ([email protected])4> riakc_pb_socket:search(Client, <<"player">>, > "playername:yousaf"). > {ok,[[<<"player">>,<<"yousaf">>]]} > > also > > curl http://192.168.1.182:8098/solr/player/select?q=playername:yousaf > <?xml version="1.0" encoding="UTF-8"?> > <response> > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">2</int> > <lst name="params"> > <str name="indent">on</str> > <str name="start">0</str> > <str name="q">playername:yousaf</str> > <str name="q.op">or</str> > <str name="df">value</str> > <str name="wt">standard</str> > <str name="version">1.1</str> > <str name="rows">1</str> > </lst> > </lst> > <result name="response" numFound="1" start="0" maxScore="0.353553"> > <doc> > <str name="id">yousaf > </str> > <str name="InstanceID">1 > </str> > <str name="date">20110705 > </str> > <str name="fname">muhammad > </str> > <str name="gameID">1 > </str> > <str name="itemname">snowball > </str> > <str name="itemvalue">100 > </str> > <str name="lname">yousaf > </str> > <str name="playername">yousaf > </str> > <str name="qname">world1 > </str> > <str name="score">100 > </str> > </doc> > </result> > > > > > but on my second node i can get list of keys but cannot search it > > ([email protected])6> {ok,Client} > =riakc_pb_socket:start_link('192.168.1.167',8087). > {ok,<0.53.0>} > ([email protected])7> riakc_pb_socket:search(Client, <<"player">>, > "playername:yousaf"). > {ok,[]} > > and > > curl http://192.168.1.167:8098/solr/player/select?q=playername:yousaf. > <?xml version="1.0" encoding="UTF-8"?> > <response> > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">1</int> > <lst name="params"> > <str name="indent">on</str> > <str name="start">0</str> > <str name="q">playername:yousaf.</str> > <str name="q.op">or</str> > <str name="df">value</str> > <str name="wt">standard</str> > <str name="version">1.1</str> > <str name="rows">0</str> > </lst> > </lst> > <result name="response" numFound="0" start="0" maxScore="0.0"> > </result> > > > but data is replicating properly. Any idea's how to fix it only searching is > causing problem?? > > > > 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
