title: Lucene Query Syntax Search
body: <p>Total novice when it comes to Lucene Query Syntax so need a bit of help!</p>
  
  <p>Searching a database by email and using </p>
  
  <pre><code>email: &lt;someone's email here&gt;
  </code></pre>
  
  <p>in the URL as the search param. </p>
  
  <p>How would one go about implementing this so it would only return the record with the exact email address?</p>
  
  <p>So if I were to search </p>
  
  <pre><code>email: test@gmail.com
  </code></pre>
  
  <p>and the database contained a 'test@email.com' and 'test@gmail.com' only the latter would be returned?</p>
  
  <p>I've had a look at <a href="http://www.lucenetutorial.com/lucene-query-syntax.html" rel="nofollow">http://www.lucenetutorial.com/lucene-query-syntax.html</a> however the answer eludues me.</p>
  
  <p>Any help would be much appreciated as always!</p>