【问题标题】:how can i create index without restart sphinx searchd serivice如何在不重新启动 sphinx 搜索服务的情况下创建索引
【发布时间】:2012-11-08 11:43:54
【问题描述】:

我是 sphinx search 的新手。我在 windows 7 中安装了 sphinx。

我的问题是如何在 sphinx 中创建新索引而不使用 start-stop searchd 服务?

因为每次创建新索引然后在 php 脚本中运行查询时,都会显示错误未知本地索引。

索引时是否需要停止searchd?

非常感谢我能得到的任何帮助!谢谢!

【问题讨论】:

    标签: php sphinx


    【解决方案1】:

    您必须拥有管理员权限才能启动和停止搜索服务。谢谢

    【讨论】:

      【解决方案2】:

      确保将 --rotate 开关与索引器一起使用。这应该告诉索引器告诉 Sphinx 服务重新加载并查找新索引。

      【讨论】:

      • 是的,我使用了旋转开关,但它给出了以下警告:索引未旋转?
      • 在更新现有索引时 --rotate 是否有效?
      • 确保你有 2.0.6 ,旧版本不能用 --rotate only 添加新索引
      • 我有 2.0.5 版本。我需要管理员权限才能使用 sphinx?
      猜你喜欢
      • 1970-01-01
      • 2010-12-11
      • 2019-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多