title: Simple Elasticsearch PDF Text Search using german language
body: <p>I can handle/extract the text from my PDF-Files, I don't know quite know if I am going the right way about how to store my content in Elasticsearch.</p>
  
  <p>My PDF-Texts are mostly German - with letters like "ö", "ä", etc.</p>
  
  <p>In order to store EVERY character of the content, I "escape" necessary characters and encode them properly to JSON so I can store them. </p>
  
  <p>For example:</p>
  
  <p>I want to store the following (PDF) text:</p>
  
  <pre><code>Öffentliche Verkehrsmittel. TestPath: C:\Windows\explorer.exe
  </code></pre>
  
  <p>I convert and upload it to Elasticsearch like this:</p>
  
  <pre><code>{"text":"\\u00D6ffentliche Verkehrsmittel. TestPath: C:\\\\Windows\\\\explorer.exe"}
  </code></pre>
  
  <p><strong>My question is: Is this the right way to store documents like this?</strong></p>