Skip to content
代码片段 群组 项目
提交 40ed936f 编辑于 作者: Dylan Griffith's avatar Dylan Griffith
浏览文件

Monkey patch ES gem to handle v7 API total count

This is due to the breaking change introduced in ES7
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#hits-total-now-object-search-response
. This can be handled by the v7 client gem but since our main target is
ES6 for now we will just monkey patch the gem with this fix. When we
remove support for ES6 or use the ES7 gem and default to supporting ES7
then we can remove it.
上级 11f82bc8
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册