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

FTS UI search results hyperlink navigate to

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • fts, UI
    • Enterprise Edition 5.0.0 build 2716
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      initialize travel-sample data in the cluster, 

      create a text index on travel sample, type = hotel, index only specified fields description, reviews (see below for the index definition)

      After the text index has been created, type in the search term: Gillingham, this search returns 2 hits as displayed on the UI

      1. hotel_10026
      2. hotel_10025

      **Click on the first hit above to view the document, the click navigates to the server Dashboard page. Should I be viewing the hotel_10026 json document?

      {
        "type": "fulltext-index",
        "name": "TRAVEL-IDX",
        "uuid": "a08bfc3b84739fd4",
        "sourceType": "couchbase",
        "sourceName": "travel-sample",
        "sourceUUID": "28174401edf56f1852dc5cdea3c97711",
        "planParams": {
          "maxPartitionsPerPIndex": 171
        },
        "params": {
          "doc_config": {
            "mode": "type_field",
            "type_field": "type"
          },
          "mapping": {
            "default_analyzer": "standard",
            "default_datetime_parser": "dateTimeOptional",
            "default_field": "_all",
            "default_mapping": {
              "dynamic": true,
              "enabled": false
            },
            "default_type": "_default",
            "index_dynamic": true,
            "store_dynamic": false,
            "type_field": "type",
            "types": {
              "hotel": {
                "dynamic": false,
                "enabled": true,
                "properties": {
                  "description": {
                    "dynamic": false,
                    "enabled": true,
                    "fields": [
                      {
                        "analyzer": "",
                        "include_in_all": true,
                        "include_term_vectors": true,
                        "index": true,
                        "name": "description",
                        "store": true,
                        "type": "text"
                      }
                    ]
                  },
                  "reviews": {
                    "dynamic": false,
                    "enabled": true,
                    "fields": [
                      {
                        "analyzer": "",
                        "include_in_all": true,
                        "include_term_vectors": true,
                        "index": true,
                        "name": "reviews",
                        "store": true,
                        "type": "text"
                      }
                    ]
                  }
                }
              }
            }
          },
          "store": {
            "kvStoreName": "mossStore"
          }
        },
        "sourceParams": {}
      }
      

      Attachments

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

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            tai.tran Tai Tran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty