Guid
Guid

Reputation: 123

ElasticSearch NEST C# - how to set up Number format pattern using annotations?

Is there anyway to set up the Number format by Annotation in POCO class or any other way in C#?

I normally have to go into Kibana and set it manually in Management > Index Patterns > Format as the picture below.

enter image description here

And I was wondering if I couldn't do it by setting a parameter anywhere in my code using NEST. Is there?

Upvotes: 0

Views: 183

Answers (1)

Russ Cam
Russ Cam

Reputation: 125498

Number format is a Kibana only setting that determines how to format a number for visual display; there is no number format in Elasticsearch and hence none in NEST.

Upvotes: 1

Related Questions