Skip to content

Conversation

@thejcfactor
Copy link
Contributor

Motivation

If scoring is disable on server versions > 7.6 the SDK can crash when parsing the hits in the result. The SDK should be a bit more lenient when processing hits. Also instead of crashing, the SDK should raise an exception if there is a problem when parsing results.

Changes

  • Update JSON parsing of search results
  • Added flags to output search request and/or response
  • Updated search test suite

@thejcfactor thejcfactor requested a review from avsej March 9, 2024 18:53
Motivation
==========
If scoring is disable on server versions > 7.6 the SDK can crash when
parsing the hits in the result.  The SDK should be a bit more lenient
when processing hits. Also instead of crashing, the SDK should raise
an exception if there is a problem when parsing results.

Changes
=======
* Update JSON parsing of search results
* Added flags to output search request and/or response
@avsej avsej merged commit 18e0681 into couchbase:main Mar 11, 2024
@thejcfactor thejcfactor deleted the CXXCBC-481 branch March 11, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants