2

私は次の声明を持っています:

({!join from=project_uuid to=id}type:EM_PM_Timerecord AND created:[2015-01-01T01:00:00Z TO 2016-01-01T01:00:00Z]) OR ({!join from=project_uuid to=id}type:EM_CM_Request_Member AND created:[2015-01-01T01:00:00Z TO 2016-01-01T01:00:00Z])

ドキュメントは返されませんが、結合の 1 つだけを使用すると、次のようになります。

{!join from=project_uuid to=id}type:EM_PM_Timerecord AND created:[2015-01-01T01:00:00Z TO 2016-01-01T01:00:00Z]

いくつかのドキュメントを返します。

日付範囲を削除すると、同様に機能します。

({!join from=project_uuid to=id}type:EM_PM_Timerecord) OR ({!join from=project_uuid to=id}type:EM_CM_Request_Member)

誰かが私に欠けているものを教えてもらえますか? そして、最初のステートメントの何が問題になっていますか?

前もって感謝します。

編集

デバッグでは、解析されたクエリは次のようになります。

(+JoinQuery({!join from=project_uuid to=id}type:EM_PM_Timerecord) +created:[1420074000000 TO 1451610000000]) (+JoinQuery({!join from=project_uuid to=id}type:EM_CM_Request_Member) +created:[1420074000000 TO 1451610000000])

そして、それをフィルタークエリとして使用していることに言及する必要があるかもしれませんが、私が理解している限り、結果に違いはありません。

4

2 に答える 2