FTS failure when upgrading to Node.js 4.0.0

Description

 

I’m seeing an error when running our docs search examples after upgrading to Node.js 4.0
https://github.com/couchbase/docs-sdk-nodejs/blob/release/4.0/modules/howtos/examples/search.js

 

FYI, I’m running against Couchbase Server 7.0.3.

 

If I revert to SDK 3.2.4 this example works as expected.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

relates

Activity

Show:

Brett Lawson March 28, 2022 at 4:00 PM
Edited

, you certainly can using npm, to install a version of the SDK from GitHub:

Note that you will need a build toolchain for this to work, as our prebuilds won't be available yet.

Matt Ingenthron March 18, 2022 at 10:11 PM

If wants to pick this up before the maintenance release, it can be installed off of github, assuming it's merged, right?

Brett Lawson March 18, 2022 at 7:33 PM

This issue was caused by double-encoding of search queries. I have filed a related issue as it also appears there are a number of other places where double-encoding may occur due to a lack of type-safety between the binding and C++ code.

Tom Kramer March 18, 2022 at 2:30 PM

Meanwhile, are there any recommendations for a workaround? Or is version 4.0.0. simply unusable in order to work with FTS?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created February 23, 2022 at 10:20 AM
Updated April 12, 2022 at 8:14 PM
Resolved March 28, 2022 at 4:00 PM
Instabug