title: Elastic NEST Automap()
body: <p>I am trying to create a new index in Elastic Cloud, and am trying to use the AutoMap functionality to generate the mapping for my products, I am wondering if someone who has done this can tell me how long this generally takes, my application has been running for over 90 mins consuming all my RAM and the index has not yet appeared on Elastic.</p>
  
  <p>can anyone offer any advice?</p>
  
  <pre><code>var node = new SingleNodeConnectionPool(new Uri("https://elasticcloud:9243"));
  var config = new ConnectionSettings(
                      node,
                      new HttpConnection());
  var client = new ElasticClient(config);     
  client.CreateIndex("sbproducts", i =&gt; i
                  .Settings(s =&gt; s
                  .NumberOfShards(2)
                  .NumberOfReplicas(0)
                  )
                  .Mappings(ms =&gt; ms
                  .Map&lt;Data.Product&gt;(m =&gt; m.AutoMap())
                  )
                  );
  </code></pre>