title: Is there any way to apply De Morgan's law to dynamic query in Spring Data Solr?
body: <p>I've got the following problem:</p>
  
  <p>Solr seems to not like and return anything when a part of my dynamically generated criteria contains only negations, like this:</p>
  
  <pre><code> AND (-title_facet:*title* AND -title_facet:*List*)
  </code></pre>
  
  <p>(Which is a Crotch, created from two separate Criteria)</p>
  
  <p>As this really makes a problem, is there any way to apply De Morgan's law to said criteria so it would be:</p>
  
  <pre><code>AND -(title_facet:*title* OR title_facet:*List*)
  </code></pre>
  
  <p>?</p>
  
  <p>I'm using Spring-data-solr 1.5.4</p>