Search service

更新时间:
复制 MD 格式

The Search service is designed for complex multidimensional queries and full-text search.

Warning

The full-text index feature for ApsaraDB for HBase Performance-enhanced Edition is no longer available. Its capabilities have been fully migrated to Lindorm, which offers a more powerful, mature, and user-friendly solution. For more information, see Lindorm Searchindex.

Apache Solr is an enterprise search platform built on Apache Lucene. It is a popular solution for distributed full-text search and supports complex conditional queries. The Search service deeply integrates HBase with Solr to provide a platform that supports both massive data storage and advanced search capabilities.

The Search service is suitable for businesses that store massive amounts of data and need to query it with flexible combinations of conditions. For example:

  • Logistics: Store large volumes of tracking information and query it using any combination of fields.

  • Traffic monitoring: Store extensive vehicle records and retrieve specific records by combining various vehicle attributes.

  • E-commerce and membership platforms: Manage large catalogs of products or member profiles and run complex, flexible queries to meet diverse search demands.

简介

As shown in the diagram, data is written to HBase and then synchronized to Solr in real time by Lindorm Tunnel Service (LTS). In this architecture, the HBase service, the LTS synchronization channel, and Solr all run as independent clusters. You can manage and scale each cluster separately. For example, if Solr's processing capacity is insufficient, you can scale the Solr cluster. If LTS synchronization becomes a bottleneck, you can scale the LTS cluster. This decoupled deployment lets you select optimal instance types for each component based on your workload and significantly improves system stability.

Search service vs. secondary index

ApsaraDB for HBase Performance-enhanced Edition provides secondary indexes as a cost-effective solution for non-primary-key queries. This feature is suitable for scenarios with fixed query patterns. If your application requires complex multidimensional queries, consider using the Search service.

Search service vs. open source Solr

The Search service deeply integrates HBase and Solr, allowing you to link them with simple API or Shell commands without managing each service individually.

The Search service is built on a customized version of open source Solr and is fully compatible with Solr APIs. It includes significant enhancements to system stability, read and write performance, and monitoring and alerting, providing a more reliable, high-performance, enterprise-grade search platform.

Service activation

Activate the Search service in three steps:

  1. Create an ApsaraDB for HBase Performance-enhanced Edition cluster.

  2. Create an LTS cluster.

  3. After creating the HBase cluster, go to the ApsaraDB for HBase console and click Full-text Index to purchase and associate a Search instance.

For details, see Activate the Search service.

Get started

See Quick start and Manage indexes.

Best practices

See Best practices.