UpdateDocumentRequest
October 23, 2025 ยท View on GitHub
Payload for updating a document or multiple documents in a table
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| table | str | Name of the document table | |
| cluster | str | Name of the document cluster | [optional] |
| doc | object | Object containing the document fields to update | |
| id | int | Document ID | [optional] |
| query | QueryFilter | [optional] |
Example
from manticoresearch.models.update_document_request import UpdateDocumentRequest
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateDocumentRequest from a JSON string
update_document_request_instance = UpdateDocumentRequest.from_json(json)
# print the JSON string representation of the object
print(UpdateDocumentRequest.to_json())
# convert the object into a dict
update_document_request_dict = update_document_request_instance.to_dict()
# create an instance of UpdateDocumentRequest from a dict
update_document_request_from_dict = UpdateDocumentRequest.from_dict(update_document_request_dict)