整合hibernate-search,升级hibernate3为hibernate4