BulkIndexDocumentsRequest
Describes the request body of the /bulkindexdocuments API call
Properties
Name | Type | Description | Notes |
---|---|---|---|
upload_id | str | Unique id that must be used for this bulk upload instance | |
datasource | str | Datasource of the documents | |
documents | [DocumentDefinition] | Batch of documents for the datasource | |
is_first_page | bool | true if this is the first page of the upload. Defaults to false | [optional] |
is_last_page | bool | true if this is the last page of the upload. Defaults to false | [optional] |
force_restart_upload | bool | Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true | [optional] |
disable_stale_document_deletion_check | bool | True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true` | [optional] |
any string name | bool, date, datetime, dict, float, int, list, str, none_type | any string name can be used but the value must be the correct type | [optional] |