Skip to content

Commit 9b36cb5

Browse files
github-actions[bot]pquentinl-trotta
authored
Add index-time scripts to date properties (#3886) (#3894)
(cherry picked from commit 8061216) Co-authored-by: Quentin Pradet <[email protected]> Co-authored-by: Laura Trotta <[email protected]>
1 parent 1ebca00 commit 9b36cb5

File tree

3 files changed

+80
-28
lines changed

3 files changed

+80
-28
lines changed

output/schema/schema.json

Lines changed: 72 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/core.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ export class DateProperty extends DocValuesPropertyBase {
6969
format?: string
7070
ignore_malformed?: boolean
7171
index?: boolean
72+
script?: Script
73+
on_script_error?: OnScriptError
7274
null_value?: DateTime
7375
precision_step?: integer
7476
locale?: string
@@ -80,6 +82,8 @@ export class DateNanosProperty extends DocValuesPropertyBase {
8082
format?: string
8183
ignore_malformed?: boolean
8284
index?: boolean
85+
script?: Script
86+
on_script_error?: OnScriptError
8387
null_value?: DateTime
8488
precision_step?: integer
8589
type: 'date_nanos'

0 commit comments

Comments
 (0)