Couchbase server: couchbase-server-enterprise_4.5.0-beta-macos_x86_64
Java Client: 2.2.7
BooleanQuery.on(INDEX).mustNot(query).build() and BooleanQuery.on(INDEX).should generates a JSON that is not compatible with Bleve which generates a response like so.
- mustNot - err: unknown query type
- must not clause must be disjunction and
- should clause must be a disjunction
I have fixed the BooleanQuery locally and was able to test successfully. Pull request is here: https://github.com/couchbase/couchbase-java-client/pull/13