And that’s it! When you need multiple filters, simply place them into the
different sections of the bool filter.

Each section of the bool filter is optional (for example, you can have a must
clause and nothing else), and each section can contain a single filter or an
array of filters.

To replicate the preceding SQL example, we will take the two term filters that
we used previously and place them inside the should clause of a bool
filter, and add another clause to deal with the NOT condition:

Even though bool is a compound filter and accepts children filters, it is
important to understand that bool is just a filter itself. This means you
can nest bool filters inside other bool filters, giving you the
ability to make arbitrarily complex Boolean logic.