title: How to optimize indexation on elasticsearch?
body: <p>I am trying to understand how indexing can be optimized on elasticsearch. Let me clarify my needs;</p>
  
  <ul>
  <li>I have two indices rigth now. Lets say, <code>indexA</code> and <code>indexB</code> ( Two indices can be seen approximately same size)</li>
  <li>I have 6 machines dedicated to elasticsearch (we can say exactly the same hardware)</li>
  <li>The most important part of my elasticsearch usage is on writing since I am doing heavy writing on real time. </li>
  </ul>
  
  <p>So my question is, how I can I optimize the writing operation using those 6 machines ?</p>
  
  <ul>
  <li><p>Should I separate machines into two part like 3 machines for <code>indexA</code> and 3 machines for <code>indexB</code> ? </p>
  
  <p><strong>or</strong></p></li>
  <li><p>Should I use all of 6 machines in order to index <code>indexA</code> and <code>indexB</code> ?</p>
  
  <p><strong>and</strong></p></li>
  <li><p>What else should I need to give attention in order to optimize write operations ? </p></li>
  </ul>
  
  <p>Thank you in advance</p>