title: proximity search in elasticsearch
body: <p>How can I use Proximity Search in ElasticSearch Query String</p>
  
  <p>Example Query :</p>
  
  <pre><code>(A OR B) **NEAR2** (C OR D)
  </code></pre>
  
  <p>I dont want to use </p>
  
  <pre><code>"A C"~2
  </code></pre>
  
  <p>I want this query to get translated to </p>
  
  <pre><code>( A Near C ) OR ( A Near D ) OR ( B Near C ) OR ( B Near D )
  </code></pre>
  
  <p>I can only use query string.   </p>