Skip to content

Add index-time scripts to date properties #3886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 72 additions & 28 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions specification/_types/mapping/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export class DateProperty extends DocValuesPropertyBase {
format?: string
ignore_malformed?: boolean
index?: boolean
script?: Script
on_script_error?: OnScriptError
null_value?: DateTime
precision_step?: integer
locale?: string
Expand All @@ -80,6 +82,8 @@ export class DateNanosProperty extends DocValuesPropertyBase {
format?: string
ignore_malformed?: boolean
index?: boolean
script?: Script
on_script_error?: OnScriptError
null_value?: DateTime
precision_step?: integer
type: 'date_nanos'
Expand Down