PHP SDK - "size" problem


I want query to return me 15 results.

This is my code:
$params = array();
$params['body']["size"] = 15;
$params['body']['query']['match']["country"] = 53;
$results = $client->search($params);

and response:
Error 500 transfer closed with 33476 bytes remaining to read

I spent a lot of hours of debugging and I really need help.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit