Skip to content

Latest commit

 

History

History
executable file
·
31 lines (22 loc) · 1.34 KB

DeleteDocumentRequest.md

File metadata and controls

executable file
·
31 lines (22 loc) · 1.34 KB

DeleteDocumentRequest

Payload for delete request. Documents can be deleted either one by one by specifying the document id or by providing a query object. For more information see Delete API

Properties

Name Type Description Notes
table str Table name
cluster str Cluster name [optional]
id int The ID of document for deletion [optional]
query object Defines the criteria to match documents for deletion [optional]

Example

from manticoresearch.models.delete_document_request import DeleteDocumentRequest

# create an instance of DeleteDocumentRequest from a JSON string
delete_document_request_instance = DeleteDocumentRequest.from_json(json)
# print the JSON string representation of the object
print(DeleteDocumentRequest.to_json())

# convert the object into a dict
delete_document_request_dict = delete_document_request_instance.to_dict()
# create an instance of DeleteDocumentRequest from a dict
delete_document_request_from_dict = DeleteDocumentRequest.from_dict(delete_document_request_dict)

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