Skip to content

Conversation

@benwtrent
Copy link
Member

Adds ML Start data feed API call to the HLRC

Relates to #29827

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just left a suggestion for the docs.

--------------------------------------------------
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-start-datafeed-request-options]
--------------------------------------------------
<1> Set when the datafeed should end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should document the format and special values here as well as in the Javadoc as this is so important for correct usage of the endpoint. For "end":

  • If it's not set then the datafeed will run continuously
  • now is a special value
  • Otherwise it can be an ISO8601 time format or seconds or milliseconds since the epoch

include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-start-datafeed-request-options]
--------------------------------------------------
<1> Set when the datafeed should end
<2> Set when the datafeed should start

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should document the format and special values here as well as in the Javadoc as this is so important for correct usage of the endpoint. For "start":

  • If it's not set then the datafeed will start from the earliest data in the input indices
  • Otherwise it can be an ISO8601 time format or seconds or milliseconds since the epoch

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benwtrent benwtrent merged commit bf0a0f7 into elastic:master Sep 21, 2018
@benwtrent benwtrent deleted the feature/hlrc-ml-start-data-feed branch September 21, 2018 12:56
benwtrent added a commit that referenced this pull request Sep 21, 2018
* HLRC: ML start data feed API
@benwtrent benwtrent removed the :ml Machine learning label Oct 25, 2018
kcm pushed a commit that referenced this pull request Oct 30, 2018
* HLRC: ML start data feed API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants