Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.0
-
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
- hotel_10026
- 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": {}
|
}
|