title: Elasticsearch - How to guess important words in queries?
body: <p>Suppose we are executing two queries like below on our <em>Available Job positions Index</em>:</p>
  
  <ul>
  <li>PHP Developer</li>
  <li>Ruby Developer</li>
  </ul>
  
  <p>When performing a simple boolean <strong>AND</strong> query positions like <em>PHP Programmer</em> will be excluded due the lack of presence for <strong>developer</strong>. when performing an <strong>OR</strong> boolean query for <strong>PHP Developer</strong> documents containing <strong>Ruby developer</strong> would be also included in results.</p>
  
  <p>What is the best way to detect that in the phrase <strong>PHP Developer</strong>, <strong>PHP</strong> is more important than <strong>Developer</strong>?</p>
  
  <p>So when performing search against <strong>PHP Developer</strong> the <strong>PHP</strong> term <strong>MUST</strong> appear in the result but the <strong>Developer</strong> section would only increase the score.</p>