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

[DOCS] Update parameter format #44703

Merged
merged 2 commits into from
Jul 31, 2019
Merged

[DOCS] Update parameter format #44703

merged 2 commits into from
Jul 31, 2019

Conversation

jrodewig
Copy link
Contributor

elastic/docs#982 updated the API reference template to change the location of the Required/Optional parameter qualifier.

This updates the parameter format for any query documentation updated as part of #40977 to match the template. This PR includes no other substantive changes.

@jrodewig jrodewig added >docs General docs changes :Search/Search Search-related issues that do not fall into other categories :Docs v8.0.0 v7.0.2 v7.1.2 v7.4.0 v7.3.1 v7.2.2 labels Jul 22, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@jrodewig
Copy link
Contributor Author

retest this please

+
--
Query used to decrease the <<query-filter-context, relevance score>> of matching
documents.
(Required, query object) Query used to decrease the <<query-filter-context,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't mean to nitpick too much, but I wonder if 'Required' and 'Optional' should be lowercase to match the types like 'query object' and 'string'?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm going to leave this capitalized for now so it's consistent with the Elastic API Reference template. I can easily change this later if we decide to change the capitalization in the template.

@jrodewig jrodewig merged commit f167b2f into elastic:master Jul 31, 2019
@jrodewig jrodewig deleted the update-parameter-format branch July 31, 2019 18:18
jrodewig added a commit that referenced this pull request Jul 31, 2019
jrodewig added a commit that referenced this pull request Jul 31, 2019
jrodewig added a commit that referenced this pull request Jul 31, 2019
jrodewig added a commit that referenced this pull request Jul 31, 2019
jrodewig added a commit that referenced this pull request Jul 31, 2019
jrodewig added a commit that referenced this pull request Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories v6.8.3 v7.0.2 v7.1.2 v7.2.2 v7.3.1 v7.4.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants