title: Mapping analyser for splitting string in Elastic search
body: <p>is it possible to create a mapping analyser for splitting string into smaller parts based on count of characters? </p>
  
  <p>For example, let's say I have a string: "ABCD1E2F34". This is some token constructed from multiple smaller codes and I want to break it down to those codes again. </p>
  
  <p>If I know for sure that:
  - First code is always 4 letters ("ABCD")
  - Second is 3 letters ("1E2")
  - Third is 1 letter ("F")
  - Fourth is 2 letters ("34")</p>
  
  <p>Can I create a mapping analyser for a field that will map the string like this? If I set the field "bigCode" to have value "ABCD1E2F34" I will be able to access it like this:</p>
  
  <pre><code>bigCode.full ("ABCD1E2F34")
  bigCode.first ("ABCD")
  bigCode.second ("1E2")
  ... 
  </code></pre>
  
  <p>Thanks a lot!</p>