Files
elasticsearch-js/docs/reference-shared-types-enrich.asciidoc

83 lines
3.9 KiB
Plaintext

[[reference-shared-types-enrich]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
== Shared Enrich types
[discrete]
[[EnrichPolicy]]
=== EnrichPolicy
[pass]
++++
<pre>
++++
interface EnrichPolicy {
enrich_fields: <<Fields>>
indices: <<Indices>>
match_field: <<Field>>
query?: <<QueryDslQueryContainer>>
name?: <<Name>>
elasticsearch_version?: string
}
[pass]
++++
</pre>
++++
[discrete]
[[EnrichPolicyType]]
=== EnrichPolicyType
[pass]
++++
<pre>
++++
type EnrichPolicyType = 'geo_match' | 'match' | 'range'
[pass]
++++
</pre>
++++
[discrete]
[[EnrichSummary]]
=== EnrichSummary
[pass]
++++
<pre>
++++
interface EnrichSummary {
config: Partial<Record<<<EnrichPolicyType>>, <<EnrichPolicy>>>>
}
[pass]
++++
</pre>
++++