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

Update _source definition #7937

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _api-reference/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
seq_no_primary_term | Boolean | Whether to return sequence number and primary term of the last operation of each document hit.
size | Integer | How many results to include in the response.
sort | List | A comma-separated list of <field> : <direction> pairs to sort by.
_source | String | Whether to include the `_source` field in the response.
_source | String | Filters which fields from the `_source`, including Booleans and string arrays, are included in the response. When not specified, OpenSearch includes all fields present from the entire JSON object when the index document was ingested.

Check failure on line 74 in _api-reference/search.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _api-reference/search.md#L74

[OpenSearch.Spelling] Error: _source. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.
Raw output
{"message": "[OpenSearch.Spelling] Error: _source. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_api-reference/search.md", "range": {"start": {"line": 74, "column": 2}}}, "severity": "ERROR"}

Check failure on line 74 in _api-reference/search.md

View workflow job for this annotation

GitHub Actions / vale

[vale] _api-reference/search.md#L74

[OpenSearch.SpacingPunctuation] There should be no space before and one space after the punctuation mark in 'response. When'.
Raw output
{"message": "[OpenSearch.SpacingPunctuation] There should be no space before and one space after the punctuation mark in 'response. When'.", "location": {"path": "_api-reference/search.md", "range": {"start": {"line": 74, "column": 119}}}, "severity": "ERROR"}
Naarcha-AWS marked this conversation as resolved.
Show resolved Hide resolved
_source_excludes | List | A comma-separated list of source fields to exclude from the response.
_source_includes | List | A comma-separated list of source fields to include in the response.
stats | String | Value to associate with the request for additional logging.
Expand Down
Loading