* 打开Hibernate search功能
* @return
*/
public PersistenceGuiceContext useHibernateSearch(){
Assert.isTrue(this.useHibernate || this.useJPA, "Hibernate search 需要hibernate 或者 jpa的支持");
this.addModuleProvider(new HibernateSearchGuiceModuleProvider());
return this;
}