title: C# NEST ElasticSearch Default_Search analyzer
body: <p>In short I want to be able to have an analyzer that is only applied for searching. Sorting should go by the default analyzer.</p>
  
  <p>By adding this code I can successfully get the searching working as intended. When I search for "be" I find stuffs with "Bé".</p>
  
  <pre><code>        var an = new CustomAnalyzer();
          an.Tokenizer = "keyword";
          an.Filter = new List&lt;string&gt;();
          an.Filter.Add("standard");
          an.Filter.Add("lowercase");
          an.Filter.Add("ascii_folding");
  
          return await CreateIndexAsync(c =&gt; c
              .Index(_index)
              .Analysis(a =&gt; a.Analyzers(a1 =&gt; a1.Add("default", an)))
              .Analysis(a =&gt; a.TokenFilters(tf =&gt; tf.Add("ascii_folding", new AsciiFoldingTokenFilter { PreserveOriginal = true })))
          );
  </code></pre>
  
  <p>This results in my sortings also becomes ascii folded. 
  A
  Å 
  B etc etc.</p>
  
  <p>Reading here it looks like I should be able to apply my analyzer to only search instead.
  <a href="https://www.elastic.co/guide/en/elasticsearch/reference/1.4/analysis-analyzers.html#default-analyzers" rel="nofollow">https://www.elastic.co/guide/en/elasticsearch/reference/1.4/analysis-analyzers.html#default-analyzers</a></p>
  
  <p>"and the default_search can be used to configure a default analyzer that will be used just when searching"</p>
  
  <p>If I understood this correctly I should be able to apply my analyser to only search by changing this row.</p>
  
  <pre><code>            .Analysis(a =&gt; a.Analyzers(a1 =&gt; a1.Add("default_search", an)))
  </code></pre>
  
  <p>This breaks the analyser completely. Search will be going by the default and be will not hit Bé. Any ideas what Im doing wrong here?</p>
  
  <p>Here is my request</p>
  
  <pre><code>Request: {
    "from": 0,
    "size": 70,
    "_source": {
      "include": [
        "Name",
      ]
    },
    "query": {
      "bool": {
        "must": [
          {
            "wildcard": {
              "_all": {
                "value": "*be*"
              }
            }
          }
        ]
      }
    },
    "filter": {}
  }
  </code></pre>
  
  <p>It shouldn't be any problem that I use Wildcard search in _all ?</p>
  
  <p>And here is a request with sorting. The problem is that my results here get sorted by the ascii folded value ( if i use default analyzer )</p>
  
  <pre><code>    Request: {
    "from": 0,
    "size": 70,
    "sort": [
      {
        "Name": {
          "order": "asc"
        }
      }
    ],
    "_source": {
      "include": [
        "Name"
      ]
    }
  }
  </code></pre>