Hibernate search using criteria API

Hibernate search using criteria API