The Precedence Query Parser extends the Standard Query Parser and enables the boolean precedence. So, the query is parsed to <(+a +b) (+c +d)> instead of <+a +b +c +d>.
Check {@link org.apache.lucene.queryParser.standard.StandardQueryParser} for more details about the supported syntax and query parser functionalities.