Working services, Hibernate search, query