I want to query multiple types and indices using Elasticsearch PHP API. but
I don't Know how. should I pass an array of types and indices to $params ? :
$params['index'] = $index;//array of indices
$params['type'] = $types;//array of types
$params['body'] = $q;//query body
//request elasticsearch for matched documents
$results = $client->search($params);
--
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/d858eb2f-df3f-435c-ae61-05ecd35b61cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.