Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-451

Disabling scoring for a Search request is throwing an uncaught exception against 7.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-dp.14
    • None
    • None
    • None
    • 1
    • SDK12: Scp Fnc, FIT, Misc

    Description

      I am seeing the following test fail in the CXX tests against 7.6 in the scripted build pipeline and also in the Capella 7.6 pipeline: test_integration_search.cxx in the test: 
      TEST_CASE("integration: search query")
       
      It fails in the section about scoring under the heading: SECTION("disable scoring")
       
      The output is this:

      libc++abi: terminating with uncaught exception of type std::out_of_range: JSON object key "score" not found 

      The only way to get this error to not happen is to comment out the line 176:
      req.disable_scoring = true;

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              avsej Sergey Avseyev
              matthew.bray Matthew Bray
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes