Yes, this is possible. In fact, we rely on Elasticsearch's own index name resolution to perform the searches.
Please, note, that at the moment (the latest released version) if the searched indices don't have identical mappings, the query won't work. In the very near versions, searching indices with different mappings will be possible, thanks to this PR pending reviews at the moment. One thing to keep in mind: this doesn't mean you could run join kind-of queries. "Different mappings" here means that the indices can have different fields, but those fields with the same name, must have the same mapping.
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.