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

[FTS] Inconsistency in search results when number of index partitions are updated with "and" knn_operator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 7.6.0
    • 7.6.0
    • fts
    • Couchbase Enterprise Edition 7.6.0-1916
    • Untriaged
    • Ubuntu 64-bit
    • 0
    • Unknown

    Description

      Steps to repro

      1. Created a 4 node cluster with 2 search nodes, 1 kv node, 1 query node
      2. Created a couchbase bucket
      3. Loaded some documents onto the bucket
      4. 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
      5. Ran a search query on the index, got a single document
      6. Changed the Index Partitions from 1 to 3
      7. Ran the search query on the index and the number of documents are different

       

      The query result when number of index partitions is 1

       

      The query results when number of index partitions is 3

       

      The search query for the above example - https://cb-engineering.s3.amazonaws.com/MB-60079/search_query.json

      The logs for this run
      https://cb-engineering.s3.amazonaws.com/MB-60079/collectinfo-2023-12-11T140252-ns_1%40ec2-34-207-248-199.compute-1.amazonaws.com.zip
      https://cb-engineering.s3.amazonaws.com/MB-60079/collectinfo-2023-12-11T140252-ns_1%40ec2-34-228-213-122.compute-1.amazonaws.com.zip
      https://cb-engineering.s3.amazonaws.com/MB-60079/collectinfo-2023-12-11T140252-ns_1%40ec2-54-161-32-120.compute-1.amazonaws.com.zip
      https://cb-engineering.s3.amazonaws.com/MB-60079/collectinfo-2023-12-11T140252-ns_1%40ec2-54-91-76-87.compute-1.amazonaws.com.zip
       

      Attachments

        Issue Links

          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:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty