Solr http endpoint and POST

Fred Dushin fdushin at basho.com
Tue Apr 26 16:50:06 EDT 2016


Hi Alexander,

Do you mean, is it possible to run a Yokozuna query through Riak using a HTTP POST, instead of a GET?

Have you tried the pattern used here?

https://github.com/basho/yokozuna/blob/2.1.2/riak_test/yz_search_http.erl#L68 <https://github.com/basho/yokozuna/blob/2.1.2/riak_test/yz_search_http.erl#L68>

If you look at the Yokozuna WebMachine code [1], you will see handling of queries via HTTP POST on the server side.

I hope that helps.

-Fred

[1] https://github.com/basho/yokozuna/blob/2.1.2/src/yz_wm_search.erl#L198

> On Apr 26, 2016, at 4:36 PM, Alexander Popov <mogadanez at gmail.com> wrote:
> 
> Does it possible? 
> if yes - which encoding? form-data or multipart?
> 
> if no - does it possible to enlarge GET query length? (looks like  maximum is around 6500)
> 
> _______________________________________________
> 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/20160426/1c884fdf/attachment-0002.html>


More information about the riak-users mailing list