Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently, Calcite only builds "term" queries for text fields on elasticsearch. It doesn't support [Match|https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html] queries due to which full-text or contains search is not allowed.
Expected query:
{ "query": { "constant_score": { "filter": { "match": { "name": "Customer Name" } } } } }
Expected behavior:
For SqlStdOperatorTable.CONTAINS, calcite should build match query.
Attachments
Issue Links
- links to