title: Negative query issue in Lucene
body: <p>Take a look at this query :</p>
  
  <pre><code>-HOSTNAME:ram AND SEVERITY:information
  </code></pre>
  
  <p>The above query isn't giving me the intended results. I know we need to append a * : * to a query that it is totally negative, also I found that the above case could be solved by appending a * : * to the HOSTNAME search criteria, but it might be a serious performance crunch, since my application gets search queries from the end user directly. </p>
  
  <p>How do I go about this and help me arrive at an optimal solution please!</p>