Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
用于协商外部术语断开器实例输入和输出要求的结构。该结构作为术语断开器入口点函数的参数传递。
typedef struct a_init_term_breaker { a_text_source *in_text_source; const char *desired_charset; a_word_source *out_word_source; char *actual_charset; a_term_breaker_for term_breaker_for; } a_init_term_breaker, *p_init_term_breaker;
a_text_source *
a_word_source *
const char *
char *
a_term_breaker_for
初始化术语断开器的目的:
TERM_BREAKER_FOR_LOAD 用于文本索引的创建、插入、更新和删除操作。如果指定前置过滤器,则可能会前置过滤输入。
TERM_BREAKER_FOR_QUERY 用于分析查询元素、非索引字表和 sa_char_term 系统过程的输入。在 TERM_BREAKER_FOR_QUERY 的情况下,即使为文本索引指定了外部前置过滤器库,也不会执行前置过滤。
a_init_term_breaker 结构由 SQL Anywhere 安装目录 SDK\Include 子目录中名为 exttbapiv1.h 的头文件定义。