On my data, I just tried extension:jp* OR extension:ph* and it found all docs with jpg and php extensions.
But if your 'label' is analyzed then it's probably splitting 'decoration-flag_usa' into 'decoration' and 'flag_usa'. I'm not sure, but that could be the problem.
Do you have the raw version of label? Like 'label.raw'? If you do, please try that.
If you don't, you might need to change your mapping so that you also have that unanalyzed field.
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.