I have data in three different types of same index.
Say type data1 has
{ "city" : "BELCHERTOWN",
"city" : "BLANDFORD",
"city" : "BRIMFIELD" }
data2 has
{
"city" : "BELCHERTOWN",
"city" : "BLANDFORD",
"city" : "BRIMFIELD"
}
data3 has
{
"city7" : "CHESTER",
"city8" : "CHESTERFIELD",
"city9" : "CHICOPEE"
}
So if i search for BRIMFIELD
{
"query": {
"query_string": {
"query": "BRIMFIELD"
}
}
}
it returns all the three cities from data 2 but is it possible to return cities from all other two types as well?
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.