coreseek 生成索引时xmlpipe2 support NOT compiled in. To use xmlpipe2, install missing

 

coreseek 生成索引时:

$ cd testpack
        $ cat var/test/test.xml    #此时应该正确显示中文
        $ /usr/local/mmseg3/bin/mmseg -d /usr/local/mmseg3/etc var/test/test.xml
        $ /usr/local/coreseek/bin/indexer -c etc/csft.conf --all
        $ /usr/local/coreseek/bin/search -c etc/csft.conf 网络搜索

出现这个 xmlpipe2 support NOT compiled in. To use xmlpipe2, install missing XML libra  错误

 

由于没有安装yum ,所以在安装盘上找到

expat-2.0.1-9.1.el6.i686.rpm

expat-devel-2.0.1-9.1.el6.i686.rpm

 

依次安装后,从新编译coreseek,然后再生成索引,就可以通过了。

 

所搜结果如下:

Coreseek Fulltext 4.1 [ Sphinx 2.0.2-dev (r2922)]
Copyright (c) 2007-2011,
Beijing Choice Software Technologies Inc (http://www.coreseek.com)

 using config file 'etc/csft.conf'...
index 'xml': query '网络搜索 ': returned 1 matches of 1 total in 0.000 sec

displaying matches:
1. document=1, weight=1590, published=Thu Apr  1 07:20:07 2010, author_id=1

words:
1. '网络': 1 documents, 1 hits
2. '搜索': 2 documents, 5 hits

 

 

你可能感兴趣的:(coreseek)