Delete documents
Name
delete_documents
Description
Related Tables
Parameters
Parameter | Label | Required | Options | Description |
---|---|---|---|---|
Index | Index | NO |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
ErrorFound |
DT_BOOL
|
bit
|
False |
||
Result |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
HttpStatus |
DT_I4
|
int
|
False |
||
Id |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Index |
DT_WSTR
|
nvarchar(150)
|
150 | False |
|
Type |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
IndexUuid |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Reason |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
|
ErrorType |
DT_WSTR
|
nvarchar(250)
|
250 | False |
|
ErrorCausedByType |
DT_WSTR
|
nvarchar(250)
|
250 | False |
|
ErrorCausedByreason |
DT_WSTR
|
nvarchar(2000)
|
2000 | False |
|
Version |
DT_I4
|
int
|
False |
||
SequenceNo |
DT_I4
|
int
|
False |
||
PrimaryTerm |
DT_I4
|
int
|
False |
||
ShardsFailed |
DT_I4
|
int
|
False |
||
ShardsSuccessful |
DT_I4
|
int
|
False |
||
ShardsTotal |
DT_I4
|
int
|
False |
||
Took |
DT_I4
|
int
|
False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
_id |
DT_WSTR
|
nvarchar(150)
|
150 | False |
Examples
SSIS
Use ElasticSearch Connector in API Source component to read data or in API Destination component to read/write data:
Delete rows from [Dynamic Table] table using API Destination
This Endpoint belongs to [Dynamic Table] table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
Delete documents
-- We are out of SQL query examples for this Endpoint, sorry!
-- But will try to get some very very soon!
delete_documents
endpoint belongs to
[Dynamic Table]
, [Dynamic Table]
table(s), and can therefore be used via those table(s).
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Delete documents
DECLARE @MyQuery NVARCHAR(MAX) = '-- We are out of SQL query examples for this Endpoint, sorry!
-- But will try to get some very very soon!';
EXEC (@MyQuery) AT [LS_TO_ELASTICSEARCH_IN_GATEWAY];
delete_documents
endpoint belongs to
[Dynamic Table]
, [Dynamic Table]
table(s), and can therefore be used via those table(s).