Description
If a geopoint type field is defined in an index, the response will fail with: "Error reading string. Unexpected token: StartArray. Path 'fields.geo', line 1, position 413."
The reason is because the client expects the fields to be an array of key/value strings; however, the value type for a geopoint Type is an array of latitude/longitude which are numeric values:
"fields":{"geo":[9.15199995719641,41.38676998936262],"name":"Santateresa"}}
Attachments
For Gerrit Dashboard: NCBC-1651 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91381,3 | NCBC-1651: SDK throws parse exception when geopoint field is read in response | master | couchbase-net-client | Status: MERGED | +2 | +1 |