【问题标题】:Duplicates in sphinxsearch 2.2.4 wordforms dictionary contains only one linesphinxsearch 2.2.4 wordforms 字典中的重复项仅包含一行
【发布时间】:2014-09-19 19:00:06
【问题描述】:

我的新编译的 2.2.4 sphinx 安装有问题。

二进制文件是使用参数构建的:

$ ./configure --without-pgsql --with-mysql --enable-id64 --prefix=/usr/local/sphinxsearch/2.2.4 --with-mysql-libs=/usr/bin

为了测试,我创建了只有一行的 wordform 字典。我删除了旧索引,并尝试使用命令创建新索引:

 /usr/bin/indexer --rotate --config /etc/sphinxsearch/sphinx.conf indexname

这给了我结果:

Sphinx 2.2.4-id64-release (r4806)
Copyright (c) 2001-2014, Andrew Aksyonoff
Copyright (c) 2008-2014, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinxsearch/sphinx.conf'...
indexing index 'indexname'...
WARNING: index 'indexname': duplicate wordform found ( 'yes > now' ). Fix your wordforms   file '/var/lib/sphinxsearch/wordforms.txt'.

我的配置:

index indexname
{
source              = indexsource
path                = /var/lib/sphinxsearch/data/index
dict = keywords
docinfo             = extern
min_word_len        = 2 
wordforms    =  /var/lib/sphinxsearch/wordforms.txt 
}

所以我的问题是:如何正确配置 sphinx 和 wordforms。 2.1.9版本就没有这个问题了

其他信息:

今天我尝试构建 2.2.3-beta 版本,你猜怎么着?问题不存在。所以新的稳定版2.2.4肯定有问题:(

【问题讨论】:

    标签: linux dictionary configuration 64-bit sphinx


    【解决方案1】:

    我可以确认我在 2.2.4 中也遇到了这个问题。我今天早上升级到 2.2.6,警告已经消失,我的配置没有任何更改。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-09-19
      • 1970-01-01
      • 2021-09-26
      • 1970-01-01
      • 1970-01-01
      • 2019-05-10
      • 2022-12-04
      • 2016-03-13
      相关资源
      最近更新 更多