Registers a new custom analyzer

post/admin/config/analyzers
Internal-Use Only

Registers the name and display name of a custom analyzer. The request will be rejected if an analyzer already exists with the same name.

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}

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
201CreatedThe request succeeded.HeadersSchema
400Bad RequestThe request is malformed or contains invalid parameter values.Schema
409ConflictAn analyzer already exists with the given name.Schema