title: Lucene Proximity Search for phrase with more than two words
body: <p>Lucene's manual has explained the meaning of proximity search for a phrase with two words clearly, such as the <code>"jakarta apache"~10</code> example in 
  <code>http://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Proximity Searches</code></p>
  
  <p>However, I am wondering what does a search like <code>"jakarta apache lucene"~10</code> exactly do? Does it allow neighboring words to be at most 10 words apart, or all pairs of words to be that? </p>
  
  <p>Thanks!</p>