Hi Luke,

I’ve been messing with my Riak cluster since our last communication and when I 
ran your command, I got the following response with siblings:

=====================
Siblings:
5VLG9CV4KsvrqGYeDhs5fK
xwAMA6aDXvOgBoGItBRA0
5IIcpzXLMtn24may8JIyQ9
=====================

(see liono.json attached)

Then I stopped Riak, deleted the data directory and recreated the bucket type, 
index, and re-inserted the liono record using the command you gave me. It 
produces the same indexing error in the log, but now if I run "curl -o 
liono.json -XGET localhost:10018/types/animals/buckets/cats/keys/liono”, I get:

=====================
{"name_s":"Lion-o","age_i":30,"leader_b":true}
=====================

(attached as liono2.json)

Attachment: liono.json
Description: application/json

Attachment: liono2.json
Description: application/json


Is there an easy way to see what Riak is sending to Solr when indexing new 
documents?

I’m going to install Riak on a clean Ubuntu machine instead of OS X to rule out 
any environmental issues.

Thank you for your replies!

Regards,
Stan


> On 24 Nov 2014, at 17:13, Luke Bakken <[email protected]> wrote:
> 
> Hi Stanislav,
> 
> Could you please run the following command and attach the output file
> in your reply?
> 
> curl -o liono.json -XGET localhost:10018/types/animals/buckets/cats/keys/liono
> 
> --
> Luke Bakken
> Engineer / CSE
> [email protected]
> 
> 
> On Wed, Nov 12, 2014 at 11:54 AM, Stanislav Nazarenko
> <[email protected]> wrote:
>> Luke,
>> 
>> Thanks for your reply.
>> 
>> 1) I'm using a fresh checkout from
>> https://github.com/basho/riak-python-client. Maybe I should be using the
>> latest official release, 2.1.0?
>> 
>> 2) Here's what I got after running curl:
>> 
>> * Adding handle: conn: 0x7f9c03804400
>> * Adding handle: send: 0
>> * Adding handle: recv: 0
>> * Curl_addHandleToPipeline: length: 1
>> * - Conn 0 (0x7f9c03804400) send_pipe: 1, recv_pipe: 0
>> * About to connect() to localhost port 10018 (#0)
>> *   Trying ::1...
>> *   Trying 127.0.0.1...
>> * Connected to localhost (127.0.0.1) port 10018 (#0)
>>> PUT /types/animals/buckets/cats/keys/liono HTTP/1.1
>>> User-Agent: curl/7.30.0
>>> Host: localhost:10018
>>> Accept: */*
>>> Content-type: application/json
>>> Content-Length: 46
>>> 
>> * upload completely sent off: 46 out of 46 bytes
>> < HTTP/1.1 204 No Content
>> < Vary: Accept-Encoding
>> * Server MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained) is not
>> blacklisted
>> < Server: MochiWeb/1.1 WebMachine/1.10.5 (jokes are better explained)
>> < Date: Wed, 12 Nov 2014 19:48:19 GMT
>> < Content-Type: application/json
>> < Content-Length: 0
>> <
>> * Connection #0 to host localhost left intact

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

Reply via email to