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?
On Monday, November 12, 2012 6:47:09 AM UTC-5, Prakhar Goel wrote:
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.