Skip to content

Conversation

mimol91
Copy link
Contributor

@mimol91 mimol91 commented Dec 12, 2024

Update doc for _source default value

POST some_index/_update/doc
{
  "doc": {
    "last_name": "new_name"
  }
}

It does not return the document source, however

POST some_index/_update/doc?_source=true
{
  "doc": {
    "last_name": "new_name"
  }
}

Does

Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v8.16.3 labels Dec 12, 2024
@benwtrent benwtrent added >docs General docs changes :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. and removed needs:triage Requires assignment of a team area label labels Dec 12, 2024
@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team Team:Distributed Indexing Meta label for Distributed Indexing team labels Dec 12, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

@shainaraskas
Copy link
Contributor

fixed in #118605 so we can close this one - thanks for your contribution!

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

Labels

:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >docs General docs changes external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Distributed Indexing Meta label for Distributed Indexing team Team:Docs Meta label for docs team v8.16.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants