All Products
Search
Document Center

Tablestore:What do I do If the "length of field value is longer than 32 for the [WILDCARD_QUERY] query" exception occurs when I query data by using wildcard query?

Last Updated:Oct 17, 2024

If the "length of field value is longer than 32 for the [WILDCARD_QUERY] query" exception occurs when you query data by using wildcard query, make sure that the string that contains wildcard characters does not exceed 32 bytes in length.

Problem description

The following exception occurs when you query data by using wildcard query:

length of field value is longer than 32 for the [WILDCARD_QUERY] query

Cause

The string that contains wildcard characters exceeds 32 bytes in length.

Solution

Replace the query string. When you perform a wildcard query, the query string cannot exceed 32 bytes in length.