Description
With Spock build 3046, loaded YELP data set, create FTS index as follow:
curl -u Administrator:password -X PUT -H }}{{"Content-Type: application/json" {{}} http:{{//172.23.99.66:8094/api/index/yelp_review }} -d }}{{'{"name": "yelp_review", "type": "fulltext-index", "params": {"mapping": {"types": {"review": {"enabled": true, "dynamic": false, "properties": {"text": {"enabled": true, "dynamic": false, "fields": [\{"name": "text", "type": "text", "analyzer": "", "store": false, "index": true, "include_term_vectors": false, "include_in_all": false}]}, "review_id": {"enabled": true, "dynamic": false, "fields": [\{"name": "review_id", "type": "text", "analyzer": "", "store": false, "index": true, "include_term_vectors": false, "include_in_all": false}]}}, "default_mapping": {"enabled": false, "dynamic": false}, "type_field": "type", "default_type": "_default", "default_analyzer": "standard", "default_datetime_parser": "dateTimeOptional", "default_field": "_all", "store_dynamic": false, "index_dynamic": true}, "store": {"kvStoreName": "mossStore", "mossStoreOptions": {"CompactionMaxSegments": 16, "CompactionPercentage": 100.0}}, "doc_config": {"mode": "type_field", "type_field": "type", "docid_prefix_delim": "", "docid_regexp": null}}, "sourceType": "couchbase", "sourceName": "YELP", "sourceUUID": "8eed78ee5541a96a75b6a63363d48100", "sourceParams": {}, "planParams": {"maxPartitionsPerPIndex": 171, "numReplicas": 0}, "uuid": ""}'}} |
after the index has been created, in the UI search page, enter search "text:Verizon",
the search results were displayed, click on any search hit link and got "no pindex named:".
Suggest that you try with travel-sample to re-produce.
Attachments
For Gerrit Dashboard: MB-24707 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
79204,2 | MB-24707: Handle context for route: /api/nsSearchResultRedirect | master | cbft | Status: MERGED | +2 | +1 |