Highlight, number_of_fragments seem does not work

I'm using this elasticsearch client
: https://github.com/nervetattoo/elasticsearch
And I have no "highlight" result when I search :

$params = array(
"index" =>"my_index",
"type" => "my_type",
"body" => array(
'query' => array(
'multi_match' => array(
'fields' => array('title','description')
'query' => keywords,


$params['body']['highlight']['fields'][$value]['number_of_fragments']=20; *// not
work, I don't know why ?

$results = $this->elasticsearchClient->search($params);

Can you help me ?
Thank you in advance.


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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d4f40556-f790-4760-80f4-37f02829ad8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.