Updates the display name of a custom analyzer
put/admin/config/analyzers/{analyzer}
Updates the display name of a custom analyzer. System analyzers cannot be updated.
1{2 "solution": "sas_visual_investigator_default",3 "name": "german",4 "displayName": "Deutsch",5 "links": [6 {7 "method": "GET",8 "rel": "self",9 "href": "/svi-sand/admin/config/analyzers/german",10 "uri": "/svi-sand/admin/config/analyzers/german",11 "type": "application/vnd.sas.sand.analyzer"12 },13 {14 "method": "PUT",15 "rel": "update",16 "href": "/svi-sand/admin/config/analyzers/german",17 "uri": "/svi-sand/admin/config/analyzers/german",18 "type": "application/vnd.sas.sand.analyzer",19 "responseType": "application/vnd.sas.sand.analyzer"20 },21 {22 "method": "DELETE",23 "rel": "delete",24 "href": "/svi-sand/admin/config/analyzers/german",25 "uri": "/svi-sand/admin/config/analyzers/german"26 },27 {28 "method": "GET",29 "rel": "up",30 "href": "/svi-sand/admin/config/analyzers",31 "uri": "/svi-sand/admin/config/analyzers",32 "type": "application/vnd.sas.collection",33 "itemType": "application/vnd.sas.sand.analyzer"34 },35 {36 "method": "POST",37 "rel": "create",38 "href": "/svi-sand/admin/config/analyzers",39 "uri": "/svi-sand/admin/config/analyzers",40 "type": "application/vnd.sas.sand.analyzer",41 "responseType": "application/vnd.sas.sand.analyzer"42 }43 ]44}
Name | Type | Required | Description |
---|---|---|---|
If-Match | integer | true | Specifies the version number of the analyzer that is to be edited. |
A supported analyzer for analyzing text at index or search time. Returned in a collection from /admin/config/analyzers.
Name | Type | Required | Description |
---|---|---|---|
version | integer | false | The representation version (2). |
solution | string | false | The name of the solution. Default: default |
name | string | false | The name of the analyzer. |
displayName | string | false | The localized display name of the analyzer. |
links | array [object] | false | Zero or more links to related resources or operations. See the link relations table for a description of the link types. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request is malformed or contains invalid parameter values. | Schema | |
404 | Not Found | The analyzer does not exist. | Schema | |
412 | Precondition Failed | The request refers to an out-of-date version of the analyzer. | Schema | |
428 | Precondition Required | The request is missing the If-Match header. | Schema |