1

几天来一直在努力使用 ThinkingSphinx 3.0.5。基本上,

  1. 我们使用分布式索引,因此对于一个模型,定义了 4 个索引。
    索引 post_core
    {
      类型 = 分布式
      本地 = post_core_i0
      本地 = post_core_i1
      本地 = post_core_i2
      本地 = post_core_i3
    }
    
  2. 如何让 TS 搜索指向这个分布式索引?:index => 'post_core'似乎不起作用。
  3. 我们需要一个自定义参数,就像dictionary = /home/user1/../my.txt在最终配置文件中一样——如何rake ts:configure保留它?
  4. 如何将匹配模式设置为任何?:match_mode => :any不工作

谢谢!

4

0 回答 0