假设我在lucene中有一组文档,并且我有一个当前结果X
,X
有一个familyID
和threadID
。是否可以编写表达式的查询:
results where result.threadID is X.threadID AND (result.familyID is not X.family ID, UNLESS result.ID is X.ID)
答案 0 :(得分:0)
一位同事遇到了答案:
(threadID:X.threadID -familyID:X.familyID) id:x.ID