title: Elasticsarch C# Nest [5.x] attributes
body: <p>I'm a bit struggling with the field attributes in ElasticSearch, especially since things have changed a bit with 5.x (to which I'm porting our code).</p>
  
  <p>An example is this:</p>
  
  <pre><code>    [Text(Index = false)]
      public string Id                        { get; set; }
      [Keyword]
      public string Tags                      { get; set; }
      [Text]
      public string Title                     { get; set; }
  </code></pre>
  
  <p>I have a bunch of fields like this, but I'm trying to figure out the best attributes for fields that follow this:</p>
  
  <ul>
  <li>A text field to be searchable AS-IS, not interpreted (a string ID for example). I want to be able to search the exact string, nothing else</li>
  <li>An English text in which I want to be able to do a full search for words and proximity.</li>
  <li>An enum where values may be stored as a finite list of strings and I need to use that as a search criteria</li>
  <li>Tags which are a list of words but don't form sentences; I need to be able to search through those</li>
  <li>Numbers that are to be stored and not searchable</li>
  <li>Dates that are to be stored and searchable</li>
  <li>Dates that are to be stored but not searchable</li>
  </ul>
  
  <p>A lot of posts refer to ES' documentation, but I really don't see any clarity in the attribute documentation; it seems to be written with people that already understand the system in mind. If anyone has an excelsheet like breakdown of attribute and their effects (stored, searchable, analyzed, etc) that would be fantastic </p>