Executes an existing enrich policy.
response = client.enrich.execute_policy( name: 'my-policy' ) puts response
If you use Elasticsearch security features, you must have:
readindex privileges for any indices used
Use the execute enrich policy API to create the enrich index for an existing enrich policy.
The enrich index contains documents from the policy’s source indices.
Enrich indices always begin with
and are force merged.
Enrich indices should be used by the enrich processor only. Avoid using enrich indices for other purposes.
Once created, you cannot update or index documents to an enrich index. Instead, update your source indices and execute the enrich policy again. This creates a new enrich index from your updated source indices. The previous enrich index will deleted with a delayed maintenance job. By default this is done every 15 minutes.
Because this API request performs several operations, it may take a while to return a response.
- (Required, string) Enrich policy to execute.
true, the request blocks other enrich policy execution requests until complete. Defaults to