-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Drop ScriptDocValues#date and ScriptDocValues#dates in 7.0.0 #23008
Copy link
Copy link
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breakingv7.0.0-beta1
Description
ScriptDocValues#getDate and ScriptDocValues#getDates are used in 5.x to get ReadableDateTimes from ScriptDocValues of any numeric. In 6.0 we expect folks to get their ReadableDateTimes by calling ScriptDocValues#getValue or ScriptDocValues#getValues on date typed fields. This isn't possible in 5.x currently because date fields return millis-since-epoch from ReadableDateTime#value. In 7.0 we expect everyone will have migrated to getValue/getValues and we can remove getDate/getDates.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>breakingv7.0.0-beta1
Type
Fields
Give feedbackNo fields configured for issues without a type.