Hi Emmanuel,
I am Rajesh (NIT Warangal CSE(2006) .
I am new to beginner in Hibernate Search.
I know general hibernate also.
I want to write a code which is given below. I need to converted below code in hibernate search.
Code:
Criteria criteria = getSession().createCriteria(ShopModel.class);
criteria.add(Restrictions.or(Restrictions.eq(Constant.TYPE, Constant.SHOP_TYPE_RENT),
Restrictions.eq(Constant.TYPE, Constant.SHOP_TYPE_SELL)));
similarly for Restrictions.in(.....);
Please help me regarding this by giving any simple code.
Thanks you very much.
Rajesh