The Search service is a solution for complex multi-dimensional queries and full-text indexes.

Solr is an enterprise-level search platform that is built on Apache Lucene and is one of the top platforms for distributed full-text indexes. Solr supports various complex conditional queries and full-text indexes. Solr is used by a wide range of customers. The Search service is deeply integrated with HBase and Solr, which allows you to store large amounts of data and supports complex multi-dimensional queries and full-text indexes.

The Search service is suitable for business scenarios in which you need to store large amounts of data and query data based on a combination of conditions. Examples:

  • In logistics scenarios, you need to store a large amount of tracking information and query specific tracking information based on a combination of multiple fields.
  • In traffic monitoring scenarios, you need to store a large number of traffic records and retrieve the required information based on specific vehicle information.
  • In website member and product information retrieval scenarios, you need to store a large amount of product and member information, and perform complex queries based on conditions to meet the needs of website users.
Service

The preceding figure shows the overall data flow direction of the Search service. After data is written to HBase, Big Data Service (BDS) synchronizes the data to Solr in real time. The HBase cluster, BDS server, and Solr cluster are independent of each other. This architecture allows you to separately manage each component. For example, if the processing capability of the Solr cluster is insufficient, you can scale out the Solr cluster. If the synchronization capability of the BDS server is insufficient, you can scale out the BDS server. The combination of HBase, BDS, and Solr allows you to select different servers for different scenarios. In addition, this architecture significantly improves the stability of the system.

Differences from secondary indexes

ApsaraDB for HBase Enhanced Edition provides, which allow you to query data based on non-primary key columns at a low cost. ApsaraDB for HBase Enhanced Edition is suitable for scenarios in which you need to query tables that contain only a few columns. If complex multi-dimensional queries are required in your business, we recommend that you use the Search service.

Differences from open source Solr

The Search service is deeply integrated with HBase and Solr. This way, you can use HBase Shell or perform API operations to associate the HBase cluster with the Solr server, without the need to worry about the operation of each service.

The Search service is designed based on open source Solr and is fully compatible with Solr APIs. The Search service provides a reliable and high-performance enterprise-level search platform with improved system stability, high read/write performance, and monitoring and alerting features.

Activate the Search service

To activate the Search service, perform the following steps:

  1. Create an HBase cluster. Select HBaseUE(Lindorm) for the Type parameter.
  2. Create a BDS cluster.
  3. After the HBase cluster is created, click Full-text Index in the HBase console to purchase and associate the Search instance with the HBase cluster.

For more information, see Activate the Search service.

Instructions

For more information, see Quick start and Manage indexes.

Best practices

For more information, see Update the configuration set.