-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Hi everyone,
while working with NEST Version 1.0.2, I think I found a small mistake when using AddMapping(m => m.MapFromAttributes()) with an Property of type Completion like
[ElasticProperty(Type = FieldType.Completion)]
public string Autocomplete { get; set; }
There might be missing a case block for "completion" in file src/Nest/Resolvers/Converters/ElasticTypeConverter.cs method GetTypeFromJObject.
My proposal is another catch block
case "completion":
return serializer.Deserialize(po.CreateReader(), typeof(CompletionMapping)) as CompletionMapping;
but I don't have the full overview of the project, so this is only a guess.
Best regards
Sven
Metadata
Metadata
Assignees
Labels
No labels