Can you post a sample of your data that I can ingest locally and try it out? I'm not sure I completely understand what you're trying to achieve with this statement doc['num1.keyword'].value + '-' + m == 'dn' && m == 'mt' .
I thought doc['num1.keyword'].value + '-' + m == 'dn' && m == 'mt' that this code could say which num1.keyword has appropriate m (suffix.keyword) value and I need it to have both so dn and mt....
But I found out that it just concatenates the fields
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.