0
我的指數看起來像這樣如何在ElasticSearch中進行whereIn查詢?
{name : 'John Doe',group_id : '1'},
{ name : 'Jane Doe', group_id : '2'}
{ name : 'John Doe', group_id : '3'}
,我想返回所有索引,其GROUP_ID是這個數組中[1,2]
因此將返回:
{name : 'John Doe',group_id : '1'},
{ name : 'Jane Doe', group_id : '2'}