According to Lucene, it supports grouping via pare...
# general
j
According to Lucene, it supports grouping via parenthesis: https://lucene.apache.org/core/2_9_4/queryparsersyntax.html
Lucene supports using parentheses to group clauses to form sub queries. This can be very useful if you want to control the boolean logic for a query.
To search for either "jakarta" or "apache" and "website" use the query:
Copy code
(jakarta OR apache) AND website
This eliminates any confusion and makes sure you that website must exist and either term jakarta or apache may exist.