FTS response type wrong
Description
Environment
Node SDK 4.1
Mac ARM
nodejs 16.16
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:

Jared Casey February 8, 2023 at 11:44 PM
Search response fields and explanation are now object types if they exist.

Sergey Auseyau October 10, 2022 at 3:36 PM
, "fields" and "explanation" are JSON-encoded strings, and they have to be parsed in the wrapper as JSON.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Story Points
1
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Sentry
Linked Issues
Sentry
Linked Issues
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created August 12, 2022 at 3:59 PM
Updated February 8, 2023 at 11:44 PM
Resolved February 8, 2023 at 11:44 PM
Instabug
FTS query response comes with "fields" as typeof string. This is an underlining type coming from C++.
https://github.com/couchbase/couchnode/blob/ef01f607acd65e127f403db10a70f2cec870bd63/lib/binding.ts#L691-L699
In Node SDK 3.2.4 used to be an object.