elastigo icon indicating copy to clipboard operation
elastigo copied to clipboard

Add helper for lenient queries

Open epelc opened this issue 9 years ago • 2 comments

It would be nice if there was an option for lenient queries without having to do custom json.

http://www.elastic.co/guide/en/elasticsearch/reference/1.x/query-dsl-query-string-query.html Search for lenient

lenient - If set to true will cause format based failures (like providing text to a numeric field) to be ignored.

epelc avatar May 04 '15 16:05 epelc

https://github.com/mattbaird/elastigo/pull/177 will address this once it's merged. Unfortunately, the pull request includes breaking changes, so it'll probably be a while before you can use it.

mikeyoon avatar May 08 '15 23:05 mikeyoon

#238 is merged now, so this should be available.

mikeyoon avatar Dec 09 '15 01:12 mikeyoon