Easy to use but more sophisticated query builder
Created by: leoschwarz
The current query builder only links everything together using AND
. Lucene syntax allows to group together things using brackets, so we might want a query builder which allows (in a type-safe way) to specify AND / OR with proper precedence and user defined groups ("brackets").