gpt4 book ai didi

php - SPHINX 搜索引擎上的 enable_star 不工作

转载 作者:行者123 更新时间:2023-11-29 04:24:16 26 4
gpt4 key购买 nike

我使用 Sphinx v 0.9.9,我需要在字符串中搜索 子字符串

我启用了启动语法,enable_star = 1,我重新启动了整个系统,但仍然没有结果;

index job1
{
source = jobSource1
path = /home/sphinx/jobs/job1
docinfo = extern
charset_type = utf-8
enable_star = 1
}

我从这里阅读文档:sphinx start syntax还有substring search

有什么想法吗?

最佳答案

您需要按照文档中的说明设置min_prefix_lenmin_infix_len,然后重新索引您的数据。

关于php - SPHINX 搜索引擎上的 enable_star 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15025633/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com