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

Error using identity or vector projections on REST remote vector queries

XMLWordPrintable

      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
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: