2013-01-10 12 views

回答

1

那麼返回的項目,要麼沒有APP_ID或一個符合您的條件聽起來像一個或過濾工作 - 我想嘗試

filter :or, [ 
    {:not => {:exists => {:field => :app_id}}}, 
    {:terms => {:app_id => app_ids}} 
    ] 
+0

您的解決方案有什麼我的''丟失''過濾器的優勢? ''filter:或者{{missing:{field :: app_id}}'' – tomekfranek

+0

不要這麼想,儘管當我寫我的文章時, –

相關問題