1
2
3[[Elasticsearch_Namespaces_EnrichNamespace]]
4=== Elasticsearch\Namespaces\EnrichNamespace
5
6
7
8Class EnrichNamespace
9
10*Description*
11
12
13NOTE: this file is autogenerated using util/GenerateEndpoints.php
14and Elasticsearch 7.12.1 (3186837139b9c6b6d23c3200870651f10d3343b7)
15
16
17*Methods*
18
19The class defines the following methods:
20
21* <<Elasticsearch_Namespaces_EnrichNamespacedeletePolicy_deletePolicy,`deletePolicy()`>>
22* <<Elasticsearch_Namespaces_EnrichNamespaceexecutePolicy_executePolicy,`executePolicy()`>>
23* <<Elasticsearch_Namespaces_EnrichNamespacegetPolicy_getPolicy,`getPolicy()`>>
24* <<Elasticsearch_Namespaces_EnrichNamespaceputPolicy_putPolicy,`putPolicy()`>>
25* <<Elasticsearch_Namespaces_EnrichNamespacestats_stats,`stats()`>>
26
27
28
29[[Elasticsearch_Namespaces_EnrichNamespacedeletePolicy_deletePolicy]]
30.`deletePolicy(array $params = [])`
31****
32[source,php]
33----
34/*
35$params['name'] = (string) The name of the enrich policy
36*/
37----
38****
39
40
41
42[[Elasticsearch_Namespaces_EnrichNamespaceexecutePolicy_executePolicy]]
43.`executePolicy(array $params = [])`
44****
45[source,php]
46----
47/*
48$params['name']                = (string) The name of the enrich policy
49$params['wait_for_completion'] = (boolean) Should the request should block until the execution is complete. (Default = true)
50*/
51----
52****
53
54
55
56[[Elasticsearch_Namespaces_EnrichNamespacegetPolicy_getPolicy]]
57.`getPolicy(array $params = [])`
58****
59[source,php]
60----
61/*
62$params['name'] = (list) A comma-separated list of enrich policy names
63*/
64----
65****
66
67
68
69[[Elasticsearch_Namespaces_EnrichNamespaceputPolicy_putPolicy]]
70.`putPolicy(array $params = [])`
71****
72[source,php]
73----
74/*
75$params['name'] = (string) The name of the enrich policy
76$params['body'] = (array) The enrich policy to register (Required)
77*/
78----
79****
80
81
82
83[[Elasticsearch_Namespaces_EnrichNamespacestats_stats]]
84.`stats(array $params = [])`
85****
86[source,php]
87----
88/*
89*/
90----
91****
92
93
94