NEST Bulk Error

Hello Evenyone,

When i use NEST to bulk index an document,the client returned an error "Validation Failed: 1: type is missing",the code is as follow,please help me.

            var client = new ElasticClient(settings);

            var person = new Person
            {
                Id = 1,
                FirstName = "Martijn",
                LastName = "Laarman"
            };

            var list = new List<Person>() { person };
            var result = client.Bulk(b => b.IndexMany(list));

Can you also show

  1. how settings is configured
  2. version of Elasticsearch you're using
  3. version of NEST you're using