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.
The FTS support in 2.2.x was heavily experimental, and based on an older version of the search service. It’s been mostly redone in the master branch (for now under the FTS namespace, but that will be changed back to ‘search’ before the branch is released as 2.3 and couchbase server 4.5 hits GA).
Thanks for getting back. please go ahead and close the pull request. btw, the fix was in master branch, not sure about the FTS namespace, I guess you are referring to internal branches which are non-opensource. Totally understand that its beta, and it was experimental. I guess, my question is do we still report bugs or wait for GA ? At this point we are heavily evaluating 4.5 beta, and would be great to see if these are known bugs already being worked on somewhere.