A (seemingly) working FlexibleAttributeRegexpQuery and some hacks at flexattrs in the text query syntax.