即使不在停用词、字符集、ignore_chars 中,连字符也不会在 Sphinx 中编制索引
Hyphen not indexing in Sphinx even though not in stopwords, charset, ignore_chars
我的搜索始终匹配 'A-B' 到 'A B'。我在配置中没有 charset_table,也没有 ignore_chars。我有一个小停用词,但 'the in and of'.
Sphinx 在哪里被告知要忽略 -?我试图让它识别它,以便我可以使用正则表达式强制行为?
-
不在默认值 cherset_table
中 - 文档说明默认值是什么,但它基本上只包括 A-Z、a-z、0-9 和 _。
rexexp_filter
在 charset_table 处理之前是 运行,因此可用于更改行为 - 无论 charset_table。
我的搜索始终匹配 'A-B' 到 'A B'。我在配置中没有 charset_table,也没有 ignore_chars。我有一个小停用词,但 'the in and of'.
Sphinx 在哪里被告知要忽略 -?我试图让它识别它,以便我可以使用正则表达式强制行为?
-
不在默认值 cherset_table
中 - 文档说明默认值是什么,但它基本上只包括 A-Z、a-z、0-9 和 _。
rexexp_filter
在 charset_table 处理之前是 运行,因此可用于更改行为 - 无论 charset_table。