每个同义词环的同义词过多 - Oracle 文本

too many synonyms per synonym ring - Oracle Text

我创建了自己的阿拉伯语同义词库,并创建了术语之间的关系来定义同义词,我使用了此代码:

  ctx_thes.create_thesaurus ('myThesurus');
  ctx_thes.create_relation ('myThesurus', 'لعب', 'syn', 'مرح');

效果很好,我创建了 10000 多个同义词。 但是当我使用这段代码时:

SELECT CTX_THES.SYN ('هم', 'plagThesurus') FROM DUAL;

它返回了这条错误消息

ORA-20000: Oracle Text error:
DRG-11702: too many synonyms per synonym ring
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_THES", line 708
ORA-06512: at line 1

我搜索了很多,但找不到任何结果 有什么帮助吗?

您似乎超出了限制。来自 Oracle 文档 https://docs.oracle.com/database/121/CCREF/cthes.htm#CCREF2157

CREATE_RELATION Creates a relation between two phrases in the thesaurus. The synonym ring is limited in length to about 4000 synonyms, depending on word length.