Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.24 KB

UpdateDocumentRequest.md

File metadata and controls

32 lines (23 loc) · 1.24 KB

UpdateDocumentRequest

Payload for updating a document or multiple documents in an index

Properties

Name Type Description Notes
index str Name of the document index
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

# 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)

[Back to Model list] [Back to API list] [Back to README]