ElasticSearch Connector
Documentation
Version: 5
Documentation
Endpoint

List indexes


Name

list_indexes

Description

Lists indexes

Related Tables

Indexes

Parameters

Parameter Label Required Options Description
There are no parameters

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Name DT_WSTR nvarchar(4000) 4000 False
Uuid DT_WSTR nvarchar(50) 50 False
Status DT_WSTR nvarchar(50) 50 False
Health DT_WSTR nvarchar(50) 50 False
Pri DT_I4 int False
Rep DT_I4 int False
DocsCount DT_I4 int False
DocsDeleted DT_I4 int False
StoreSize DT_WSTR nvarchar(50) 50 False
PriStoreSize DT_WSTR nvarchar(50) 50 False
Type DT_WSTR nvarchar(10) 10 False
If the column you are looking for is missing, consider customizing ElasticSearch Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use ElasticSearch Connector in API Source component to read data or in API Destination component to read/write data:

Read from Indexes table using API Destination

This Endpoint belongs to Indexes table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ElasticSearch
Indexes
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

List indexes

SELECT * FROM list_indexes

List indexes

Lists indexes

SELECT * FROM Indexes

list_indexes endpoint belongs to Indexes 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:

List indexes

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM list_indexes';

EXEC (@MyQuery) AT [LS_TO_ELASTICSEARCH_IN_GATEWAY];

List indexes

Lists indexes

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Indexes';

EXEC (@MyQuery) AT [LS_TO_ELASTICSEARCH_IN_GATEWAY];

list_indexes endpoint belongs to Indexes table(s), and can therefore be used via those table(s).