code: public StructuredQueryDefinition andNot(StructuredQueryDefinition positive, StructuredQueryDefinition negative) {
      checkQuery(positive);
      checkQuery(negative);
      return new AndNotQuery(positive, negative);
    }
docs: Defines an AND NOT query combining a positive and negative
  query. You can use an AND or OR query over a list of query
  definitions as the positive or negative query.
  @param positive    the positive query definition
  @param negative    the negative query definition
  @return    the StructuredQueryDefinition for the AND NOT query