Skip to main content

Migrate from Elasticsearch to Zilliz Cloud

This topic describes how Zilliz Cloud handles data type mapping, collection naming rules, and considerations when migrating from Elasticsearch.

Prerequisites

Before starting your Elasticsearch to Zilliz Cloud migration, ensure you meet these requirements:

Elasticsearch requirements

RequirementDetails
Version compatibilityElasticsearch 7.x or later
Network accessSource cluster must be accessible from the public internet
API accessValid cluster endpoint or cloud ID with appropriate credentials
Vector field requirementEach source index must contain at least one dense vector field

Zilliz Cloud requirements

RequirementDetails
User roleOrganization Owner or Project Admin
Cluster capacitySufficient storage and compute resources (use the CU calculator to estimate CU size)
Network accessAdd Zilliz Cloud IPs to allowlists if using network restrictions

Data type mapping

Understanding how Elasticsearch data types map to Zilliz Cloud is crucial for planning your migration:

Elasticsearch Field TypeZilliz Cloud Field TypeDescription
Primary keyPrimary keyAutomatically mapped. Enable Auto ID to generate new IDs (original values will be discarded).
dense_vectorFLOAT_VECTORVector dimensions remain unchanged. Specify L2 or IP as the metric type.
text, string, keyword, ip, date, timestampVARCHARSet Max Length (1 to 65,535 bytes). Strings exceeding the limit can trigger migration errors.
longINT64-
integerINT32-
shortINT16-
byteINT8-
doubleDOUBLE-
floatFLOAT-
booleanBOOL-
objectJSON-
arraysARRAY-

Elasticsearch-specific handling rules

Collection naming rules

Elasticsearch index names are transferred to Zilliz Cloud with the following considerations:

ScenarioImpactSolution
Default namingCollection names match source index names exactlyNames are preserved as-is from OpenSearch
Special charactersIndex names with hyphens (-) or dots (.) will cause errors and prevent job submissionManually rename indexes to use underscores or other valid characters
Naming conflictsCannot submit job if a collection with the same name already existsDelete existing collection, choose a different database, or rename during migration configuration

Migration considerations

The following features are not supported for Elasticsearch migration:

LimitationImpactAlternative
Dynamic to fixed field conversionCannot convert existing dynamic fields to fixed typesFields maintain their original dynamic nature
Add more fieldsCannot add new fields during migrationOnly existing Elasticsearch fields are migrated
Sparse vectorsNot supported in current releaseConsider dense vector alternatives or contact support for roadmap