Our queries are defined by a set of nested structs, we need to convert this to tantivy queries to be executed.
For now, we don't need to worry about optimizing or planning the queries too much, although it may later be something we look at to optimize heavily nested queries.