环境:Sphinx 0.9.8.1-release (r1533)和sphinxapi.php

当我新建了一个sphinx的索引m_si后,在命令行执行:

search -c etc/sphinx.conf -i si 错误

可以搜索到东西,而当我通过sphinxapi.php访问时却出现下面的错误提示:

关键词: 错误
Warning
: assert() [function.assert]: Assertion failed in /var/www/html/sphinx/sphinx/sphinxapi.php on line 502
unknown local index
'si' in search request

定位问题的过程和步骤:

1.是否使用了正确地配置文件

2.第一次创建完索引,需要重启sphinx

相关文章:

  • 2021-11-16
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2021-08-23
  • 2021-09-25
  • 2021-10-27
猜你喜欢
  • 2021-12-18
  • 2021-09-13
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案