The Type/Index Inference, Property Name Inference documentation contains the following text:
Properties marked with [ElasticAttibute(Name="")] or [JsonProperty(Name="")] will pass the configured name verbatim.
As far as I can tell:
- The
ElasticAttribute should be ElasticProperty;
- The
JsonProperty named argument Name should be PropertyName;
Perhaps this would be a better text
Properties marked with [ElasticProperty(Name="")] or [JsonProperty(PropertyName="")] will pass the configured name verbatim.
Or did I misunderstand the docs here?