Hi Trevor
Well, you may negate it via
qb.add(product_c_positive, Occur.MUST_NOT);
it will work only if there is a sibling MUST/SHOULD clause.
Regarding
qb.add(BooleanQuery.Builder().add(product_c_positive,
Occur.MUST_NOT).build(), Occur.FILTER);
It may hardly work unless Lucene "adjusts pure neg
: That works fine if there are some criteria in filterQuery and query.
: But sometimes, the bean I'm passing in will not pass any criteria into
: the filterQuery part. If that's the case, cwf looks like this:
: CachingWrapperFilter(QueryFilter())
...
: will result in no results. If there