【发布时间】:2013-07-06 08:03:55
【问题描述】:
在 Hibernate Search (lucene) 中是否有可能组合两个不同的查询。例如,当我想搜索 2 个应该具有一个对应匹配值的字段时:
firstname - John
lastname - Doe
qBuilder.keyword().onField("firstname").matching("John").createQuery());
qBuilder.keyword().onField("lastname").matching("Doe").createQuery());
是一种从这个查询中进行的方法吗?
【问题讨论】:
标签: hibernate lucene hibernate-search