Closed yrodiere closed 6 years ago
For the 1st -- we need a test. (you are probably right, as I changed that code, and I guess I missed the all->any detail)
Wrt 2nd -- I would leave it there, it might come in handy one day.
Fixed.
@alesj Are you sure? I don't see any relevant commit...
First problem:
me.snowdrop.data.hibernatesearch.core.query.CriteriaConverter#convert
implements "must not" asqueryBuilder.not(queryBuilder.all(mustNotQueryList))
, butqueryBuilder.not(queryBuilder.any(mustNotQueryList))
seems to be more appropriate.Second problem:
me.snowdrop.data.hibernatesearch.core.query.Criteria#not
is never used, which might indicate either dead code or an unimplemented feature.