You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Shlok Srivastava (Jira)" <ji...@apache.org> on 2020/09/28 08:42:00 UTC

[jira] [Updated] (CALCITE-4232) Elasticsearch IN Query is not supported

     [ https://issues.apache.org/jira/browse/CALCITE-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shlok Srivastava updated CALCITE-4232:
--------------------------------------
    Description: 
IN clause is required in multiple queries to fetch  documents that contain one or more **exact terms in a provided field.

 

Query - 
GET /_search{"query": {"terms": {"user.id": [ "kimchy", "elkbee" ],"boost": 1.0}}}
 
The above IN query is not supported in calcite elasticsearch adapters.

> Elasticsearch IN Query is not supported 
> ----------------------------------------
>
>                 Key: CALCITE-4232
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4232
>             Project: Calcite
>          Issue Type: Improvement
>          Components: elasticsearch-adapter
>            Reporter: Shlok Srivastava
>            Priority: Major
>              Labels: IN, calcite, elasticsearch, query
>
> IN clause is required in multiple queries to fetch  documents that contain one or more **exact terms in a provided field.
>  
> Query - 
> GET /_search{"query": {"terms": {"user.id": [ "kimchy", "elkbee" ],"boost": 1.0}}}
>  
> The above IN query is not supported in calcite elasticsearch adapters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)