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

CXX gives an io.grpc.StatusRuntimeException: UNKNOWN error instead of the expected InvalidArgumentException when the value of k < 1 in vector search query options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0
    • None
    • None

    Description

      CXX gives an io.grpc.StatusRuntimeException: UNKNOWN instead of the expected InvalidArgumentException when the value of k < 1 in vector search query options.

      Repo:

      • Pass K = 0 in VectorQuery options.

       

      Test failed with io.grpc.StatusRuntimeException: UNKNOWN: The num_candidates cannot be less than 1. 

      Attachments

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

        Activity

          People

            matt.wozakowski Matt Wozakowski
            saurabh.mishra Saurabh Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes