Great, works fine I realize now (did actually test that already).
Didn't fully grasp the error messages I received due to missing q6 fields in some documents, only the document containing both q5 and q6 got reindexed....
There is an "ignore_missing": true option that I just found, which solved the problem.
This is what it looks like now:
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.