我怎么能把安定标准同Lucene猎物的搜索结合起来?
org.hibernate.Criteria criteria = session.createCriteria(class);
criteria.add(Restrictions.ne(property, value));
FullTextQuery fullTextQuery = ftm.createFullTextQuery(booleanQuery, class);
fullTextQuery.setCriteriaQuery(criteria);
Object result = fullTextQuery.getResultList();
在上述例子中,是否尊重限制?