Skip to content

Conversation

@lizozom
Copy link
Contributor

@lizozom lizozom commented Sep 29, 2020

Summary

Improve the data plugin README.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@lizozom lizozom added v8.0.0 Team:AppArch release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 29, 2020
@lizozom lizozom requested a review from a team as a code owner September 29, 2020 10:51
@lizozom lizozom self-assigned this Sep 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@gchaps I'd like to update the line describing the data plugin in here too.
Do you know where should this be changed? Any suggestions for a better phrasing?

@Dosant
Copy link
Contributor

Dosant commented Sep 29, 2020

@gchaps I'd like to update the line describing the data plugin in here too.
Do you know where should this be changed? Any suggestions for a better phrasing?

@lizozom node scripts/build_plugin_list_docs

@ppisljar
Copy link
Contributor

should we also convert to asciidocs ?

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@elasticmachine merge upstream

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@ppisljar @Dosant done!

lizozom and others added 9 commits September 29, 2020 21:43
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
lizozom and others added 8 commits September 29, 2020 21:49
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Copy link
Contributor

@gchaps gchaps left a comment

Choose a reason for hiding this comment

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

LGTM. Suggest using "high-level" and "low-level"

lizozom and others added 3 commits September 30, 2020 20:39
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Copy link
Contributor

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

Love this, such a good start to improve docs on our services. Added a few notes below that we should probably add at some point, but don't necessarily need to be in this PR.


const searchSource = await data.search.searchSource.create();
const searchResponse = await searchSource
.setParent(undefined)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Add a short explanation of how search source inherits from the root search source (global time filter) by default and explain that this overrides that default behavior

#### Default Search Strategy

One benefit of using the low-level search API, is partial response support in X-Pack, allowing for a better and more responsive user experience.
In OSS only the final result is returned.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Add a note about how we also apply defaults from advanced settings/config.yml so that the consumer doesn't need to worry about these

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@lizozom lizozom merged commit 09226db into elastic:master Oct 1, 2020
lizozom added a commit to lizozom/kibana that referenced this pull request Oct 1, 2020
* data readme

* Delete old readme (other folders don't have a README of their own.

* generate asciidoc

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update README.md

* Update plugin-list.asciidoc

* gen plugin list

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/README.md
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 1, 2020
* master: (36 commits)
  [I18n] fix eui tokens (elastic#78951)
  Changed the color of the confirm button in trusted app deletion dialog. (elastic#78768)
  Make the actual Vislib import async (elastic#78949)
  Fix ML conditionals links Cypress tests (elastic#78568)
  [Drilldowns][Docs] Communicate the visualization types that support drilldowns (elastic#78761)
  [UX] Improve page-load axis (elastic#78392)
  [SECURITY SOLUTIONS] Map embeddable working with index patterns selection (elastic#78610)
  Data plugin README (elastic#78750)
  [TSVB] Request validation error: [panels.0.series.0.metrics.0.percentiles.1.value] (elastic#79009)
  fixing api test (elastic#78964)
  [Task names in TaskManager] Rename "telemetry" to "usage" (elastic#78129)
  [Loggers] Rename "telemetry" to "usage" (elastic#78130)
  [Usage Collection] [schema] `ui_metric` (elastic#78827)
  [Actions][Jira] Set parent issue for Sub-task issue type (elastic#78772)
  [Discover] Unskip doc link functional test (elastic#78600)
  [ML] Functional tests - stabilize calendar edit tests (elastic#78950)
  [UX] Improve page responsive  (elastic#78759)
  [QA][Code Coverage] Team Assignment Docs Update (elastic#78890)
  [ML] Migrate machine learning URLs to BrowserRouter format for APM, Security, and Infra  (elastic#78209)
  [ts] enable "resolveJsonModule" and disable existing failures (elastic#78855)
  ...
lizozom added a commit that referenced this pull request Oct 1, 2020
* data readme

* Delete old readme (other folders don't have a README of their own.

* generate asciidoc

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update README.md

* Update plugin-list.asciidoc

* gen plugin list

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants