ElasticSearch NEST C# - 如何使用注释设置数字格式模式?
ElasticSearch NEST C# - how to set up Number format pattern using annotations?
在 POCO class 或 C# 中是否可以通过注释设置数字格式?
我通常必须进入 Kibana 并在管理 > 索引模式 > 格式中手动设置它,如下图所示。
而且我想知道我是否不能通过使用 NEST 在我的代码中的任何位置设置参数来做到这一点。有吗?
Elasticsearch 中的 Number format is a Kibana only setting that determines how to format a number for visual display; there is no number 格式,因此 NEST 中的 none。
在 POCO class 或 C# 中是否可以通过注释设置数字格式?
我通常必须进入 Kibana 并在管理 > 索引模式 > 格式中手动设置它,如下图所示。
而且我想知道我是否不能通过使用 NEST 在我的代码中的任何位置设置参数来做到这一点。有吗?
Number format is a Kibana only setting that determines how to format a number for visual display; there is no number 格式,因此 NEST 中的 none。