All Products
Search
Document Center

OpenSearch:Advanced features of dedicated clusters

Last Updated:Feb 04, 2026

This topic describes how to configure a routing field, a document sorting field for an inverted index, and a timeout period.

Query by column

Scenarios and benefits

  • Column-based queries are required.

  • Ideal for services that are sensitive to timeouts for single-column queries.

  • Allows you to increase the memory for a single column to cache hot data, which reduces the cluster load.

Procedure

  1. In the Modify Offline Application > Index Schema configuration, find the Routing Fields (Optional) section.

image

  1. Select a field to include.

image

  1. Optional: If the data in the routing field is not evenly distributed, you can configure hot spot values.

image

Notes

  1. You can designate only one field as the routing field.

  2. The routing field supports the INT and LITERAL data types.

Document sorting field for inverted indexes and timeout period

Scenarios and benefits

  • You can customize the sort order of documents during index creation.

  • Improves query efficiency by placing higher-quality documents at the front of the inverted table when you specify a sorting field.

  • Services sensitive to engine execution timeouts.

Procedure

  1. In the Modify Offline Application > Index Schema configuration, find the Advanced Settings (Optional) section.

    image

  1. To configure the Document Sorting Method for Inverted Indexes, click Configure.

    image

  1. In the Advanced Settings window, under Document Sorting Method for Inverted Indexes, specify the Field Settings. Set the Sorting Method to Ascending or Descending, and then click Confirm.

    image

  1. To configure the timeout period, click Configure.

    image

  2. In the Advanced Settings window, set the Timeout Period for engine execution, and then click Confirm.

    image

Notes

  1. For the document sorting feature, you can select up to two levels of fields. The supported data types are INT, FLOAT, and DOUBLE.

  2. The Timeout Period must be between 750 ms and 1500 ms.

  3. You can restore the default settings for the document sorting field and the timeout period by clicking Restore Defaults.

  4. The advanced features are available only for dedicated cluster instances.

Advanced configuration for vector indexes

Scenarios and benefits

Vector search algorithm

Pros

Cons

Scenarios

Quantized Clustering (QC)

Low CPU and memory usage.

  • Lower recall rate than HNSW.

  • Slower query speed than HNSW.

Scenarios with datasets in the hundreds of millions that do not require high accuracy or low query latency.

Hierarchical Navigable Small World (HNSW)

High recall rate and fast query speed.

High CPU and memory usage.

Scenarios with datasets in the tens of millions that require high accuracy and low query latency.

Procedure

In the industry algorithm edition, if you configure a vector analyzer for a field of the TEXT, SHORT_TEXT, or DOUBLE_ARRAY type, the corresponding index becomes a vector index. In the application's index schema, you can then configure the namespace, vector index algorithm, and distance type for the vector index.

image

Configuration items:

  • Namespace: Must be a property field of the INT type. The default value is empty. Use namespaces to partition the vector index. This lets you limit queries to specific partitions. After you configure a namespace, you must specify it in your queries. Do not create more than 10,000 namespaces.

  • Vector index algorithm: QC or HNSW. The default is QC. HNSW can be used only for dedicated compute-optimized instances.

  • Distance type: InnerProduct or SquaredEuclidean. The default is Squared Euclidean.

    For InnerProduct, a higher vector score indicates greater document relevance.

    For Euclidean distance, a lower vector score indicates greater document relevance.