The Search service enables complex multi-dimensional queries and full-text search.
Solr is an enterprise search platform built on Apache Lucene and is a leading solution for distributed full-text indexing. The Search service, a deep integration of HBase and Solr, handles massive data storage while also supporting complex multi-dimensional queries and full-text search.
The Search service is suitable for business scenarios that require storing large volumes of data and performing queries with various combinations of conditions. Examples include:
Logistics: Store large amounts of tracking information and query it using any combination of fields.
Traffic monitoring: Store extensive vehicle passage records and retrieve specific records by combining various vehicle attributes.
E-commerce and membership sites: Manage large catalogs of products or member profiles and enable users to perform complex, flexible searches based on multiple criteria.

The preceding figure illustrates the overall data flow of the Search service. After data is written to HBase, Big Data Service (BDS) synchronizes the data to the Search index in real time. In this architecture, HBase, BDS, and the Search index each run in an independent cluster. This design allows you to manage each component separately. For example, if the Search index lacks sufficient processing power, you only need to scale out the Search cluster. If BDS cannot keep up with data synchronization, you can scale out BDS independently. You can also select different instance types for HBase, BDS, and Search based on your use case. This independent deployment model greatly enhances system stability.
Differences from secondary indexes
ApsaraDB for HBase Enhanced Edition provides secondary indexes, which allow you to perform non-primary key queries at a low cost. This feature works best when the query columns are relatively fixed. If your business scenario requires complex multi-dimensional queries, consider using the Search service.
Differences from open source Solr
The Search service provides deep integration between HBase and Solr. You can associate HBase with Solr using simple API calls or Shell commands, without managing the underlying services.
The Search service is built on a customized version of open source Solr and is fully compatible with Solr APIs. It features significant enhancements to system stability, read/write performance, and monitoring and alerting, providing a more reliable, high-performance, enterprise-grade search platform.
Activate the Search service
To activate the Search service, follow these steps:
Create an HBase cluster. For the Service Type parameter, select
HBaseUE(Lindorm).Create a BDS cluster.
After the HBase cluster is created, click
Full-text Indexin the HBase console to purchase and associate a Search instance.
For detailed instructions, see Activation.
Usage
See Quick Start and Index Management.