I'm learning elasticsearch+nest, i want to map a type into a net class:
[ElasticType(Name="car")]
public class Car {}
{
[ElasticProperty(Name = "color", Index = FieldIndexOption.NotAnalyzed, Type = FieldType.String)]
public string Color { get; set; }
}
but the code does not compile neither ElasticType and ElasticProperty is available.
I referenced nest.dll 2.1.1 and Elasticsearch.Net.dll 2.1.1 from nuget.