Updates the display name of a custom analyzer

put/admin/config/analyzers/{analyzer}
Internal-Use Only

Updates the display name of a custom analyzer. System analyzers cannot be updated.

Request Samples

1

Response Samples

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}

Path Parameters

NameTypeRequiredDescription
analyzer
string
true

The name of the analyzer.

Header Parameters

NameTypeRequiredDescription
If-Match
integer
true

Specifies the version number of the analyzer that is to be edited.

Request Body

A supported analyzer for analyzing text at index or search time. Returned in a collection from /admin/config/analyzers.

NameTypeRequiredDescription
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.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request is malformed or contains invalid parameter values.Schema
404Not FoundThe analyzer does not exist.Schema
412Precondition FailedThe request refers to an out-of-date version of the analyzer.Schema
428Precondition RequiredThe request is missing the If-Match header.Schema