Query_string query operator precedence

Hello. When constructing a query_string query, what is the precedence of the operators? For instance, the example given is this AND that OR thus. So does it AND this/that, then OR with thus? Or does it OR then AND? I'm thinking that it does the former. Also, I don't see where the number of possible boolean connectors is defined; how many does ES support? Thanks in advance to all who respond.

Lucene’s query_string syntax does some weird things beyond the usual expectations for and/or behaviour

Thank you for that link