【问题标题】:Sphinx search max_matches error狮身人面像搜索 max_matches 错误
【发布时间】:2012-09-10 06:49:37
【问题描述】:

我想自定义 sphinx 搜索,以便在内存中保留尽可能多的记录。

我收到以下错误:

搜索错误(状态:1):每个查询 max_matches=25000 超出范围(每个服务器 max_matches=1000)

【问题讨论】:

    标签: search sphinx thinking-sphinx


    【解决方案1】:

    在您的情况下,我建议在服务器端将 max_matches 设置为 100000。

    即使您需要更多,您也可以随时使用limit N,M 获取结果集的切片而不会超出范围。

    根据我的经验,人类的搜索结果不会超过 10-20 页,因此 100K 应该绰绰有余。

    【讨论】:

      猜你喜欢
      • 2013-11-29
      • 2015-04-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多