Skip to content
代码片段 群组 项目
提交 f23cd251 编辑于 作者: Micael Bergeron's avatar Micael Bergeron
浏览文件

Add `_name` to ES queries to improve readability

This MR adds a new helper class: `Elastic::Latest::QueryFactory` that
can be used to generate semantic names for queries.

In this MR, a hierarchical pattern has been used, to correlate
different part of the queries, such as:

- `issue:match:search_query`
- `issue:related:project`
- `doc:is_a:blob`

This MR sets a lot of names across the query parts, so it is expected
that some of these names might be sub-optimal.
上级 ba0277c5
No related branches found
No related tags found
加载中
显示
352 个添加142 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册