Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15685

Error using identity or vector projections on REST remote vector queries

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

      The REST server reports the error message:

      Unexpected error code 400: {"error":{"message":"Error executing search","cause":"Don't know how to convert to Json : WrappedMessage{value=[B@20968c47}"}}
      

      when we try to execute queries like:

      select i from Item i where i.floatVector <-> [7.1,7.0,3.1]~3
      

      or

      select i, score(i) from Item i where i.floatVector <-> [7.1,7.0,3.1]~3
      

      and the entity is like the following:

      {
          "_type": "Item",
          "code": "c1",
          "byteVector": "AQEB",
          "floatVector": [
              1.1,
              1.1,
              1.1
          ],
          "buggy": "bla 1"
      }
      

              fercoli@redhat.com Fabio Massimo Ercoli
              fercoli@redhat.com Fabio Massimo Ercoli
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: