See https://forum.hibernate.org/viewtopic.php?f=9&t=1045140 . In the query toString(), it would be nice if it we had a proper toString() for the analyzer reference.