public class People4
{
//public int Id { get; set; }
[Text(Name = "first_name", Norms = false)]
}
var settings = new ConnectionSettings(new Uri());
ElasticClient client = new ElasticClient(settings);
client.Indices.Create("index7", i => i.Map<People4>(m => m.AutoMap()));
这个写法不能创建索引
var settings = new ConnectionSettings(new Uri());
ElasticClient client = new ElasticClient(settings);
client.Indices.Create("index7");
这个写法创建索引
是什么原因啊