N1QL query error: [1065] Unrecognized parameter in request: consistency


#1

Starting to play with N1QL in order to convert some view queries in our next release, but I haven’t gotten far:

Server: 4.1.0-4908 Enterprise Edition (build-4908)

SDK: gocb.v1

Error: N1QL query error: [1065] Unrecognized parameter in request: consistency

I’m trying to set myQuery.Consistency(gocb.RequestPlus)

If I comment that out I no longer get the error, but I get no results when I should be.


RequestPlus consistency setting return error
#2

Looks like an issue with the go client. cross posting to the gosdk category.


#3

any update to this issue? I got it too


#4

The parameter should be scan_consistency, not consistency. Maybe a bug in the client SDK.