riak-1.4.7 solr interface

Dmitri Zagidulin dzagidulin at basho.com
Wed May 7 13:55:36 EDT 2014


Brisa,

You want to use the 'wt=json' parameter, in your query (see the Solr
section of http://docs.basho.com/riak/latest/dev/using/search/ )
So, your request would be:
http://127.0.0.1:10018/solr/index_bucket/select?q=key:Value&wt=json

(As a side note, in HTTP terminology, the 'Content-Type: application/json'
header describes the format of your _request_, not the response).




On Wed, May 7, 2014 at 1:41 PM, Brisa Anahí Jiménez Flores <
brisa_anahi at hotmail.com> wrote:

> Hi!
>
> I've riak-1.4.7.
>
> I've made a HTTP API request, but I would like to know how can I get a
> json response, could anybody help me a little bit, please?
>
> Request:
>
> GET
> http://127.0.0.1:10018/solr/index_bucket/select?q=key:Value
> Content-Type: application/json
>
> And I get an xml response body.
>
> Thank you very much!
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140507/52e21671/attachment.html>


More information about the riak-users mailing list