Updated on 2024-11-29 GMT+08:00

Scenario Description

Overview

Elasticsearch is an open source service that has both the search engine and NoSQL database functions. It can be used for log search and analysis, time and space search, time sequence search and report, and intelligent search. Elasticsearch can connect to Solr to migrate Solr data to Elasticsearch and replace Solr as the service platform of user services.

Supported Scenarios

When Elasticsearch is used as the new service platform for user services, migrating Solr to Elasticsearch may involve the following scenarios:

  • The data of the Solr service does not need to be migrated to Elasticsearch.
  • The data of the Solr service needs to be migrated to Elasticsearch, and the source data is stored in HBase.

Table 1 describes the comparison between the two scenarios.

Table 1 Migration scenarios

Scenario

Technical Principle

Services Stopped or Not

Data is not migrated.

Prepare server resources, deploy Elasticsearch, and migrate service applications. Data migration is not involved.

No

Data is migrated.

Prepare server resources, deploy Elasticsearch, migrate historical data, and migrate service applications.

Yes

Before the migration, the version of the cluster must be V100R002C70SPC200 or later, and the target Elasticsearch version must be 7.10.2.