I think you want should inside of bool. Also, I think you want nested queries inside the should, but I'm not exactly sure what kind of search you are going for.
To be honest nested makes you life harder as a newbie even if it is what you want in the end. Are you sure you need it yet? Without nested I'd reach for multimatch. With nested you'll write much more json.
But remember the whole point of nested is so that f1 can have multiple values and you can correlate them. Unless you really need f1, f2, and f3 to be separate fields for some other reason, it is worth looking at combining them.
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.