FTS docIds doesnt work on Node.js

.mustNot(SearchQuery.docIds(req.body.id)) its my part of fts query if i remove it,query works


json doc which is i send with postman

then it give error on cmd:
…must_not":{“disjuncts”:[{“ids”:[[" ef55fcf2-2d1e-40b4-9ed1-606f87303755"]]}]}},“size”:25} , err: json: cannot unmarshal array into Go value of type string

i think {“ids”:[[" ef55fcf2-2d1e-40b4-9ed1-606f87303755"]]} should be {“ids”:[" ef55fcf2-2d1e-40b4-9ed1-606f87303755"]}

i search it at https://issues.couchbase.com/ then found nothing

couchnode verison 2.3.4

you can open new issue there then, and attach logs and your script to reproduce

I wanted to make sure the mistake was not on my side otherwise i can

Hey @stuff.095,

You have indeed identified an issue with the Node.js SDK! I have opened an issue to track this here: https://issues.couchbase.com/browse/JSCBC-433 . I have additionally put together a fix for it which you can find here: http://review.couchbase.org/85262 . This fix should be merged soon and will definitely make it into our 2.4.3 release.

Cheers, Brett