How to have the aggregate query in multi match query

How to have the aggregate query in a multi match query ?
I would like to have few facets returned as part of the search.

I am looking for the aggregate functionality in multi_match query which supports search in many fields. (All searchable fields)

GET /_search

{

"query": {

"multi_match" : {

"query": "Will Smith",

"type": "best_fields",

"fields": [ "first_name", "last_name" ],

"operator": "and"

}

}

}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.