OceanBase Migration Service (OMS) Community Edition V4.2.9-CE and later allow you to migrate data from an ElasticSearch database to OceanBase Community Edition. This topic describes the parameters of ElasticSearchSource.
| Parameter | Description |
|---|---|
| retainId | Specifies whether to migrate the _id field of ElasticSearch. The default value is false. |
| esIdName | The ID field name in OceanBase Community Edition to which the ElasticSearch _id field maps. The default value is _id. |
| scrollTime | The validity period of scroll_id, in minutes. The default value is 1. |
| scrollSize | The number of data items returned per scroll query. |
| sliceFieldMap | The name of the field used for slicing each table. The slicing field must be of the number data type. The format is { "tabeName1":"field1", "tableName2":"field2" } |
| enableSliceById | Specifies whether to allow slicing by the _id field. The default value is true. |