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

'score': 0 is not in results for the query with "score": "none"

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      7.6.0-2090

      Results from query with "score": "none", does not have "score": 0

      Query:

      2024-02-07 16:40:59 | INFO | MainProcess | test_thread | [on_prem_rest_client.urllib_request] Making a rest request api=http://172.23.217.13:8094/api/index/default_index/query verb=POST params=b'{"indexName": "default_index", "size": 10000000, "from": 0, "explain": false, "query": {"match": "Safiya", "field": "name"}, "fields": [], "ctl": {"consistency": {"level": "", "vectors": {}}, "timeout": 60000}, "score": "none"}' client_cert=None verify=False
      

      Results:

       
      Content: [{'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000898', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000685', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000191', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000159', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000293', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000644', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000561', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000606', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000521', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000273', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000737', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000594', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000354', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000218', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000903', 'sort': ['_score']}, {'index': 'default_index_4dd8c40ddbbed0b9_4c1c5584', 'id': 'emp10000270', 'sort': ['_score']}]
      

      Results from 7.2.5-7532

      2024-02-07 16:41:31 | INFO | MainProcess | test_thread | [stable_topology_fts.test_score_none] Content: [{'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000898', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000159', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000293', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000191', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000521', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000561', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000606', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000273', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000644', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000354', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000594', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000685', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000737', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000218', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000903', 'score': 0, 'sort': ['_score']}, {'index': 'default_index_57998d3bf49be645_4c1c5584', 'id': 'emp10000270', 'score': 0, 'sort': ['_score']}]
      

      Attachments

        Issue Links

          Activity

            People

              sarthak.dua Sarthak Dua
              girish.benakappa Girish Benakappa
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty