所以,我发现根据 oracle 中的停用词列表,查询的输出是完美的。
这些词可以在 ctxsys 包中找到,您可以使用
SELECT * FROM CTX_STOPLISTS;
SELECT * FROM ctx_stopwords;
是的,oracle 将您的查询中的“you”、“would”视为停用词。以下列表是默认停用词。
a did in only then where
all do into onto there whether
almost does is or therefore which
also either it our these while
although for its ours they who
an from just s this whose
and had ll shall those why
any has me she though will
are have might should through with
as having Mr since thus would
at he Mrs so to yet
be her Ms some too you
because here my still until your
been hers no such ve yours
both him non t very
but his nor than was
by how not that we
can however of the were
could i on their what
d if one them when
如果您需要删除一些指定的词(或添加停用词),
(您需要 **GRANT EXECUTE ON CTXSYS.CTX_DDL **)然后,您必须执行一个过程,例如:
begin
ctx_ddl.remove_stopword('mystop_list','some');
ctx_ddl.remove_stopword('mystop_list','you');
end;
请参阅ctx_ddl 包中各种功能的链接
您可以通过查询获得有关创建的 ctx 索引的完整描述,
select ctx_report.describe_index('yourindex_name') from dual;