I have several types defined in my elasticsearch index like "product",
"manufacturer", "locales" etc. I want to search across all these types
in a single query. Each type has different number of fields. But all
types have a field called "NAME" which is searchable and a field
called "TYPE" which holds its type. How do I create a search query to
retrive a list of heterogenous results?