sudo-suhas / elastic-builder

A Node.js implementation of the elasticsearch Query DSL :construction_worker:
https://elastic-builder.js.org
MIT License
508 stars 75 forks source link

case_insensitive for term query? #178

Closed pimpelsang closed 1 year ago

pimpelsang commented 1 year ago

case_insensitive is supported since ES 7.10, but can't be set using elastic-builder API?

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html

ssandeep10 commented 1 year ago

same here. Couldn't find option for case insensitive option. Is there any plan for adding support in future?

sandeep952 commented 1 year ago

@sudo-suhas Created a PR to add this feature: https://github.com/sudo-suhas/elastic-builder/pull/179. Please review

pimpelsang commented 1 year ago

It works, thanks!