Skip to content

Conversation

@przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented May 21, 2019

Documentation for Data Frame Analytics high-level REST client.
Contains documentation as well as integration tests for 7 methods (Get, GetStats, Put, Delete, Start, Stop, Evaluate).

See also: elastic/docs#889

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link
Member

Choose a reason for hiding this comment

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

This should have callouts defined, and the match_all default mention should be in the callout for setQuery

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Do we want to document the OutlierDetection builder methods here as well? There are zero java docs for the class. We need to have at least some documentation (preferably here AND some java docs on the methods) on the builder methods.

Copy link
Contributor

Choose a reason for hiding this comment

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

To make this future-proof, I think we should refer from here to another section where we will list creation of the various analysis types.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a section about analysis. Not sure though how detailed it should be.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also add analyzed fields

Copy link
Contributor

Choose a reason for hiding this comment

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

To make this future-proof, I think we should refer from here to another section where we will list creation of the various analysis types.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is the s at the end going to cause duplicate s'es ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the token translates to (see elastic/docs#889):
:dataframe-analytics: {dataframe} analytics config
and "s" makes it plural

Copy link
Contributor

Choose a reason for hiding this comment

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

Also add a section about analyzed fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.
Added callout in "Data Frame Analytics Configuration" section

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/bwc
run elasticsearch-ci/default-distro

@przemekwitek przemekwitek force-pushed the df-analyticsconfig-docs branch 2 times, most recently from 231ebd8 to c7fe885 Compare June 10, 2019 07:23
Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

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

LGTM

@przemekwitek przemekwitek force-pushed the df-analyticsconfig-docs branch from c7fe885 to 85ec8a6 Compare June 11, 2019 07:13
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The index to which data should be written by the {dataframe-job}.
The index to which data should be written by the {dataframe-analytics}.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please see my other comment.

Copy link
Member

Choose a reason for hiding this comment

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

{dataframe-job} again rather than {dataframe-analytics}. Is this intentional have I misunderstood the naming?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is intentional.
{dataframe-job} resolves to "data frame analytics job" and {dataframe-analytics} resolves to "data frame analytics config". So I use the former when I write about the computational process and the latter when I talk about DataFrameAnalyticsConfig.

I may rename {dataframe-analytics} to {dataframe-analytics-config} if you find it clearer. WDYT?

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the explanation. I see you renamed {dataframe-analytics} to {dataframe-analytics-config} that makes sense to me

@przemekwitek przemekwitek force-pushed the df-analyticsconfig-docs branch from 85ec8a6 to 3139167 Compare June 11, 2019 15:43
Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@przemekwitek przemekwitek merged commit c3c45c0 into elastic:feature-ml-data-frame-analytics Jun 12, 2019
@przemekwitek przemekwitek deleted the df-analyticsconfig-docs branch June 12, 2019 11:24
@jakelandis jakelandis added v8.0.0-alpha1 >docs General docs changes >test Issues or PRs that are addressing/adding tests and removed v8.0.0 labels Jul 26, 2021
@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Jul 27, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes :ml/Transform Transform Team:Docs Meta label for docs team >test Issues or PRs that are addressing/adding tests v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants