且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在休眠搜索中像查询一样执行SQL IN

更新时间:2023-01-30 13:50:44

如果在这里查看 http://lucene.apache.org/java/2_4_1/queryparsersyntax.html (在字段分组"末尾),您可以使用以下内容编写查询:

If you look here http://lucene.apache.org/java/2_4_1/queryparsersyntax.html (at the end "Field Grouping"), you can write a query with something like :

content:success AND author:("firstname" "secondname" "thirdname" ...)