摘要:
string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd HH:mm");//24小时 string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd hh:mm");//12小时
阅读全文
posted @ 2024-04-19 17:04
雪原日暮
阅读(16)
推荐(0)
编辑
摘要:
痛点:遇到一个问题,代码嵌套的es查询逻辑,太乱,太复杂。通过代码直观人工去转dsl发现根本不可能。后老看到调试模式能拿到dsl,方法如下 https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/debug-mode.
阅读全文
posted @ 2024-04-19 10:25
雪原日暮
阅读(19)
推荐(0)
编辑