JAVA-1043: added support for text search into QueryBuilder.