title: Solr - Proximity search using exact number of words apart
body: <p>I am working with apache-solr-3.6.0 on windows machine. I would like to search for two words with certain number of words apart (No more than this number).
  For example:
  Consider the following phrases, I would like to search for Daisy &amp; exam with no more than 2 words apart.</p>
  
  <pre><code>Daisy has exam.
  Daisy has an exam.
  Daisy has a math exam.
  Daisy has a difficult math exam.
  </code></pre>
  
  <p>I searched for such thing and I tried Term Proximity.</p>
  
  <pre><code>http://localhost:8983/solr/select/?q="Daisy exam"~2&amp;version=2.2&amp;start=0&amp;rows=10&amp;indent=on&amp;debugQuery=true
  </code></pre>
  
  <p>The result that I need should be the phrase: <code>Daisy has an exam.</code> But using the above criteria, the result was the last 3 phrase.</p>
  
  <p>So any ideas to use an exact number of words apart?</p>