0

第一次使用Sphinx,在WIN7上进行安装测试,官网下载按照默认的进行测试,结果提示下面这个:

D:\sphinx\bin>indexer.exe --config ../etc/sphinx.conf --all --rotate
Sphinx 3.0.3-dev (commit facc3fb)
Copyright (c) 2001-2018, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '../etc/sphinx.conf'...
indexing index 'test1'...
collected 7 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 7 docs, 0.3 Kb
total 0.1 sec, 2.7 Kb/sec, 71 docs/sec
indexing index 'test1stemmed'...
collected 7 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 7 docs, 0.3 Kb
total 0.1 sec, 3.9 Kb/sec, 103 docs/sec
skipping non-plain index 'dist1'...
skipping non-plain index 'rt'...
rotating indices: successfully sent SIGHUP to searchd (pid=11276).

D:\sphinx\bin>

mysql> show tables;
+--------------+-------------+
| Index        | Type        |
+--------------+-------------+
| dist1        | distributed |
| test1        | local       |
| test1stemmed | local       |
+--------------+-------------+
3 rows in set (0.00 sec)

很多疑问:
1、为什么会提示这个 skipping non-plain index 'dist1'... skipping non-plain index 'rt'...
2、上面的代码运行之后进入mysql -P9306,里面没有rt这个索引。
3、后面的更是无法完成了
4、更大的疑问,rt和 local区别在哪里? rt是如果修改了mysql表的数据,sphinx 自动加载最的吗

util 3.2k
2018-05-04 提问
0 个回答

撰写答案

推广链接