<div dir="ltr">Thanks that was it!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 11:44 AM, Vitaly E <span dir="ltr"><<a href="mailto:13vitamins@gmail.com" target="_blank">13vitamins@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I think it should be</p>
<p dir="ltr">curl -i<a href="http://localhost:8098/types/comment/buckets/comment/keys?keys=stream" target="_blank"> http://localhost:8098/types/comment/buckets/comment/keys?keys=stream</a></p>
<p dir="ltr">Regards,<br>
Vitaly</p>
<div style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>I'm trying <b>delete</b> and <b>rebuild</b> yokozuna search indexes.<br></div><div><br></div><div>One idea was to just list all the buckets and all the keys, and trigger an update to rebuild the index.</div><div><br></div><div>However, the following commands don't seem return any buckets or keys.</div><div><div><br><div><b>curl -i <a href="http://localhost:8098/buckets/comment/keys?keys=stream" target="_blank">http://localhost:8098/buckets/comment/keys?keys=stream</a><br></b></div></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div>HTTP/1.1 200 OK</div></div></div><div><div><div>Vary: Accept-Encoding</div></div></div><div><div><div>Transfer-Encoding: chunked</div></div></div><div><div><div>Server: MochiWeb/1.1 WebMachine/1.10.8 (that head fake, tho)</div></div></div><div><div><div>Date: Mon, 01 Feb 2016 18:57:11 GMT</div></div></div><div><div><div>Content-Type: application/json</div></div></div><div><div><div><br></div></div></div><div><div><div>{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}{"keys":[]}</div></div></div></blockquote><div><div><br></div><div><b>curl -i <a href="http://localhost:8098/buckets?buckets=true" target="_blank">http://localhost:8098/buckets?buckets=true</a></b><div><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>HTTP/1.1 200 OK</div><div>Vary: Accept-Encoding</div><div>Server: MochiWeb/1.1 WebMachine/1.10.8 (that head fake, tho)</div><div>Date: Mon, 01 Feb 2016 18:56:47 GMT</div><div>Content-Type: application/json</div><div>Content-Length: 14</div><div><br></div><div>{"buckets":[]}</div><div><br></div></blockquote></div></div><div><div>(My bucket_type is '<b>comment'</b>, and bucket is named '<b>comment'</b><b>)</b></div></div><div>(This is for Riak 2.1.2-0-gf969bba)</div><div><br></div><div>Thanks in advance!</div><div><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
riak-users mailing list<br>
<a href="mailto:riak-users@lists.basho.com" target="_blank">riak-users@lists.basho.com</a><br>
<a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com" rel="noreferrer" target="_blank">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br>
<br></div>
</blockquote></div><br></div>