List of usage examples for org.springframework.data.solr.core.query Crotch setNegating
protected void setNegating(boolean negating)
From source file:org.springframework.data.solr.core.query.Criteria.java
/** * Explicitly wrap {@link Criteria} inside not operation. * //from ww w.j a v a2s . co m * @since 1.4 * @return */ public Criteria notOperator() { Crotch c = new Crotch(); c.setNegating(true); c.add(this); return c; }