Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60081

[FTS] : Inconsistencies in score explanation in vector search

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0
    • fts
    • Couchbase Enterprise Edition 7.6.0-1916

    Description

      Steps to repro

      1. Created a 4 node cluster with 2 fts node, 1 kv and 1 query
      2. Created a couchstore bucket and loaded some docs
      3. Created a search index with with 2 mapping child fields
        1. field - content, type - text, searchable as - content, analyser - en
        2. field - vector, type - vector, searchable as - vector, dimension - 384, similarity metric - dot_product
      4. Ran a search query on the index with "explain": true
      5. The search query returns inconsistent scoring explanation

      The first 3 docs returned have consistent results and correct score explanations

      The remaining docs have all inconsistent results{}

       

      First 3 docs

       

      1st result doc 17 correct explanation

      2nd result doc 24 correct explanation

      3rd result doc 21 correct explanation{}

       

      The remaining docs have all incorrect score explanations and inconsistent results

       

       

      Attachments

        1. image-2023-12-13-19-06-28-788.png
          319 kB
          Aditi Ahuja
        2. image-2023-12-13-19-07-07-177.png
          109 kB
          Aditi Ahuja
        3. image-2023-12-18-13-31-15-426.png
          1.70 MB
          Raghav S K
        4. image-2023-12-18-13-33-00-755.png
          1.71 MB
          Raghav S K
        5. image-2023-12-18-13-35-25-426.png
          1.41 MB
          Raghav S K
        6. image-2023-12-18-13-35-34-777.png
          1.47 MB
          Raghav S K
        7. image-2023-12-18-13-35-48-014.png
          1.49 MB
          Raghav S K
        8. image-2023-12-18-13-35-56-607.png
          1.43 MB
          Raghav S K
        9. Screenshot 2023-12-11 at 7.50.40 PM.png
          1.50 MB
          Raghav S K
        10. Screenshot 2023-12-11 at 7.50.40 PM-1.png
          1.50 MB
          Raghav S K
        11. Screenshot 2023-12-11 at 7.51.17 PM.png
          1.33 MB
          Raghav S K
        12. Screenshot 2023-12-11 at 7.51.17 PM-1.png
          1.33 MB
          Raghav S K
        13. Screenshot 2023-12-11 at 7.51.29 PM.png
          1.33 MB
          Raghav S K
        14. Screenshot 2023-12-11 at 7.51.29 PM-1.png
          1.33 MB
          Raghav S K
        15. Screenshot 2023-12-11 at 7.51.45 PM.png
          1.38 MB
          Raghav S K
        16. Screenshot 2023-12-11 at 7.51.59 PM.png
          1.40 MB
          Raghav S K
        17. Screenshot 2023-12-11 at 7.52.12 PM.png
          1.33 MB
          Raghav S K
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            raghav.sk Raghav S K
            raghav.sk Raghav S K
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty