【问题标题】:Enabling stemming from sphinx.yml in Thinking Sphinx在 Thinking Sphinx 中启用源自 sphinx.yml
【发布时间】:2009-07-23 18:54:42
【问题描述】:

我使用以下行创建了一个 config/sphinx.yml 文件: 形态学:stem_zh

运行 rake ts:config 后,似乎没有更改 development.sphinx.conf,并且在重建后,搜索“dawg”与“dawgs”不匹配。

我怎样才能让它工作?

【问题讨论】:

    标签: ruby-on-rails-plugins thinking-sphinx


    【解决方案1】:

    如果我没记错的话,形态线应该像这样落在“发展”标题下:

    development:
      morphology: stem_en
    

    不确定你是否已经这样做了,但如果没有尝试一下。

    【讨论】:

    • 是的,config/sphinx.yml 需要每组设置的环境键。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多