-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Elastic 7.4.0 and NEST 7.3.0 are failing when I try to get the index mapping:
Elasticsearch.Net.Utf8Json.JsonParsingException: expected:'true | false', actual:'"false"', at offset:77
at at Elasticsearch.Net.Utf8Json.JsonReader.ReadBoolean()
at at Elasticsearch.Net.Utf8Json.Formatters.BooleanFormatter.Deserialize(JsonReader& reader, IJsonFormatterResolver formatterResolver)
at at Nest.UnionFormatter`2.TryRead[T](ArraySegment`1& segment, IJsonFormatterResolver formatterResolver, T& v)
{
"daily-logevents-v1-2019.10.08" : {
"mappings" : {
"dynamic" : "false",
"properties" : {
"companyId" : {
"type" : "keyword"
},
"created" : {
"type" : "alias",
"path" : "createdUtc"
},
"createdUtc" : {
"type" : "date"
},
"id" : {
"type" : "keyword"
},
"message" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"value" : {
"type" : "integer"
}
}
}
}
}
As you can see I defined dynamic through the nest fluent api and this is breaking.
Metadata
Metadata
Assignees
Labels
No labels