This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The change from "UnionExpr" to "some complicated rewrite of UnionExpr that only includes literals" makes the grammar more complex, makes the language less clear and comprehensible, and adds only some questionable optimization possibilities (the query may be optimizable statically instead of at runtime). This issue was originally raised by Steve Buxton in member-only email archived at http://lists.w3.org/Archives/Member/member-query-fttf/2004Dec/0065.html
The task force agrees that the thesauri names, stop word lists, and languages should be string literals. Note that this prevents unioning stop word lists in the query.