Thanks that was it!

On Mon, Feb 1, 2016 at 11:44 AM, Vitaly E <13vitam...@gmail.com> wrote:

> I think it should be
>
> curl -i
> http://localhost:8098/types/comment/buckets/comment/keys?keys=stream
>
> Regards,
> Vitaly
> I'm trying *delete* and *rebuild* yokozuna search indexes.
>
> One idea was to just list all the buckets and all the keys, and trigger an
> update to rebuild the index.
>
> However, the following commands don't seem return any buckets or keys.
>
>
> *curl -i http://localhost:8098/buckets/comment/keys?keys=stream
> <http://localhost:8098/buckets/comment/keys?keys=stream>*
>
> HTTP/1.1 200 OK
> Vary: Accept-Encoding
> Transfer-Encoding: chunked
> Server: MochiWeb/1.1 WebMachine/1.10.8 (that head fake, tho)
> Date: Mon, 01 Feb 2016 18:57:11 GMT
> Content-Type: application/json
>
>
> {"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":[]}
>
>
> *curl -i http://localhost:8098/buckets?buckets=true
> <http://localhost:8098/buckets?buckets=true>*
>
> HTTP/1.1 200 OK
> Vary: Accept-Encoding
> Server: MochiWeb/1.1 WebMachine/1.10.8 (that head fake, tho)
> Date: Mon, 01 Feb 2016 18:56:47 GMT
> Content-Type: application/json
> Content-Length: 14
>
> {"buckets":[]}
>
> (My bucket_type is '*comment'*, and bucket is named '*comment'**)*
> (This is for Riak 2.1.2-0-gf969bba)
>
> Thanks in advance!
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to