title: How to map index settings, tokenizer, analyzer NEST V2
body: <p>I have tried mapping a tokenizer and an analyser to my index using the fluent API, but it does not appear. The field mappings work.</p>
  
  <pre class="lang-c# prettyprint-override"><code> var filters = new string[] { "standard",
                          "lowercase",
                          "stop",
                          "ngram" };
  
  
              client.CreateIndex("defaultindexname", index =&gt; index
  
                   .Settings(f =&gt; f
                       .Analysis(analysis =&gt; analysis
                           .Tokenizers(tokenizers =&gt; tokenizers
                                   .EdgeNGram("ngram", t =&gt; t
                                   .MinGram(2)
                                   .MaxGram(15)
                               )
                           )
                           .Analyzers(analyzers =&gt; analyzers
                                   .Custom("auto-complete", a =&gt; a
                                   .Filters("lowercase")
                                   .CharFilters(filters)
                                   .Tokenizer("standard")
                               )
                           )
  
                       )
                   )
                   .Mappings(m =&gt; m
                      .Map&lt;Type&gt;(l =&gt; l
                       .Dynamic(DynamicMapping.Ignore)
                       .Properties(p =&gt; p
                              .String(s =&gt; s
                                  .Name(n =&gt; n.Name)
                                  .Boost(5)
                              )
                              .String(s =&gt; s
                                  .Name(n =&gt; n.Address)
                              )
                              .Number(s =&gt; s
                                  .Name(n =&gt; n.Id)
                              )
                              .Completion(c =&gt; c
                                  .Name(n =&gt; n.Suggest)
                                  .Payloads()
                              )
                              .Nested&lt;NestedType&gt;(o =&gt; o
                                  .Dynamic(DynamicMapping.Ignore)
                                  .Name(n =&gt; n.Branches)
                                  .Properties(ilfbp =&gt; ilfbp
                                      .Number(s =&gt; s
                                          .Name(n =&gt; n.Id)
                                      )
                                      .String(s =&gt; s
                                          .Name(n =&gt; n.Name)
                                      )
                                      .String(s =&gt; s
                                          .Name(n =&gt; n.Address)
                                      )
  
                                  )
                              )
                          )
                       )
               ));
  </code></pre>
  
  <p>I have successfully creates the tokenizer and the analyser in Sense with putting JSON.</p>
  
  <pre class="lang-json prettyprint-override"><code>PUT /defaultindexname/_settings
  {
     "settings": {
        "analysis": {
           "filter": {
              "ngram": {
                 "type": "ngram",
                 "min_gram": 2,
                 "max_gram": 10
              }
           },
           "analyzer": {
              "autocomplete": {
                 "type": "custom",
                 "tokenizer": "standard",
                 "filter": [
                    "standard",
                    "lowercase",
                    "ngram"
                 ]
              }
           }
        }
     }
  }
  </code></pre>
  
  <p>How can I add the tokenizer and the analyzer using the fluent api?</p>