Constructing Lucene queries with XML syntax, following code by Ron Van den Branden