Skip to content
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

New timestamp default option changed the default behavior for missing paths #9049

Closed

Commits on Dec 23, 2014

  1. New timestamp default option changed the default behavior for missing…

    … paths
    
    PR elastic#7036 changed the behavior for timestamp when provided as a parameter or within the document using `path` attribute.
    
    This PR now considers that:
    
    * when using timestamp as a parameter, we use a default value of `now`. Which means that if no timestamp is provided, the current time is used when the index operation is performed.
    * when getting the timestamp from `path`, we use a default value of `null`. Which means that if no value is provided within the document, indexation will fail.
    
    If users want to set the default value for `timestamp`, they can explicitly set one or set `"default":  "now"`.
    
    Closes elastic#8882.
    dadoonet committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    a4488ed View commit details
    Browse the repository at this point in the history