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

[FTS] moss: scoring seems to be off

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • fts, moss
    • Untriaged
    • Unknown

    Description

      As seen with the travel-sample bucket, with type mapping over reviews and child field content.

      Example with upsidedown:

      "index": "travel_2d7a62a3507c93b9_f4e0a48a",
      "id": "hotel_25966",
      "score": 0.5464772054781191,
      "locations": {
      "reviews.content": {
      "worst": [
      {
      "pos": 51,
      "start": 250,
      "end": 255,
      "array_positions": [
      3
      ]
      },
      {
      "pos": 312,
      "start": 1606,
      "end": 1611,
      "array_positions": [
      3
      ]
      }
      ]
      }
      },

      Same example with scorch:

      "index": "travel_6584ef08b33b451c_f4e0a48a",
      "id": "hotel_25966",
      "score": 0.4869351813526133,
      "locations": {
      "reviews.content": {
      "worst": [
      {
      "pos": 51,
      "start": 250,
      "end": 255,
      "array_positions": [
      3
      ]
      },
      {
      "pos": 312,
      "start": 1606,
      "end": 1611,
      "array_positions": [
      3
      ]
      }
      ]
      }
      },

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mschoch Marty Schoch [X] (Inactive)
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty