【发布时间】:2012-11-08 11:43:54
【问题描述】:
我是 sphinx search 的新手。我在 windows 7 中安装了 sphinx。
我的问题是如何在 sphinx 中创建新索引而不使用 start-stop searchd 服务?
因为每次创建新索引然后在 php 脚本中运行查询时,都会显示错误未知本地索引。
索引时是否需要停止searchd?
非常感谢我能得到的任何帮助!谢谢!
【问题讨论】:
我是 sphinx search 的新手。我在 windows 7 中安装了 sphinx。
我的问题是如何在 sphinx 中创建新索引而不使用 start-stop searchd 服务?
因为每次创建新索引然后在 php 脚本中运行查询时,都会显示错误未知本地索引。
索引时是否需要停止searchd?
非常感谢我能得到的任何帮助!谢谢!
【问题讨论】:
您必须拥有管理员权限才能启动和停止搜索服务。谢谢
【讨论】:
确保将 --rotate 开关与索引器一起使用。这应该告诉索引器告诉 Sphinx 服务重新加载并查找新索引。
【讨论】: