-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
_timestamp and _ttl still use legacy numerics #18280
Comments
For the record, we had a quick chat with @rjernst about moving those to plugins, but it would require adding pluggability to the parsing of request parameters and the translog, which is probably something that we want to avoid (especially the latter). |
The
etc etc. There are no right answers to these questions - they depend entirely on use case. Instead of providing these "opinionated features", we'd be better of just providing the primitives required for users to implement the logic they need. We have these primitives in 5.0: ingest pipelines allow injecting a new timestamp at index time, delete-by-query is being moved back into core (#16883) for deletion of expired documents, and the update API allows updating the ttl and timestamp as the user sees fit. We still need to be able to support indices created in 2.x in 5.x, but we should prevent new indices from enabling |
Would be good to add deprecation logging in 2.x |
This removes the ability to use `_timestamp` and `_ttl` on indices created on or after 5.0. Closes elastic#18280
This removes the ability to use `_timestamp` and `_ttl` on indices created on or after 5.0. Closes #18280
I just noticed that
_timestamp
and_ttl
still use legacy numerics. We need to either forbid them on new indices (since they were deprecated in 2.0) or make them use points.It is not strictly required to do it before 5.0 but that would be much better if 5.0 never created fields with legacy numerics.
The text was updated successfully, but these errors were encountered: