Updated on 2024-03-15 GMT+08:00

GAUSS-01341 -- GAUSS-01350

GAUSS-01341: "function %s should return type %s"

SQLSTATE: 42P17

Description: The returned value type of the specified function is inconsistent with the expected one during the creation of a text search parser.

Solution: While creating a text search parser, modify the returned value type of the specified function based on the error message so that the modified value is consistent with that described in the error message.

GAUSS-01342: "must be system admin to create text search parsers"

SQLSTATE: 42501

Description: A non-admin account is used during the creation of a text search parser.

Solution: While creating a text search parser, use an administrator account.

GAUSS-01343: "text search parser parameter '%s' not recognized"

SQLSTATE: 42601

Description: An unrecognized function is defined during the creation of a text search parser.

Solution: Specify the function whose name is start/gettoken/end/headline/lextypes while creating a text search parser.

GAUSS-01344: "text search parser start method is required"

SQLSTATE: 42P17

Description: The start method is not defined during the creation of a text search parser.

Solution: While creating a text search parser, define the start method.

GAUSS-01345: "text search parser gettoken method is required"

SQLSTATE: 42P17

Description: The gettoken method is not defined during the creation of a text search parser.

Solution: While creating a text search parser, define the gettoken method.

GAUSS-01346: "text search parser end method is required"

SQLSTATE: 42P17

Description: The end method is not defined during the creation of a text search parser.

Solution: When creating a text search parser, define the end method.

GAUSS-01347: "text search parser lextypes method is required"

SQLSTATE: 42P17

Description: The lextypes method is not defined during the creation of a text search parser.

Solution: While creating a text search parser, define the start method.

GAUSS-01348: "cache lookup failed for text search parser %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-01349: "must be system admin to rename text search parsers"

SQLSTATE: 42501

Description: During the change of the text search parser name, a non-admin account is used.

Solution: Use an administrator account to change the text search parser name.

GAUSS-01350: "text search parser '%s' already exists"

SQLSTATE: 42710

Description: During the change of the text search parser name, the new name is the same as the old one.

Solution: Ensure that the new name is different from the old one when you change the text search parser name.