参考 :http://www.cnblogs.com/ainiaa/archive/2010/12/21/1912459.html
D:\sphinx\bin>indexer.exe --all
Sphinx 2.0.6-release (r3473)Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file './sphinx.conf'...
indexing index 'test1'...
collected 4 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 4 docs, 193 bytes
total 0.117 sec, 1637 bytes/sec, 33.92 docs/sec
indexing index 'test1stemmed'...
collected 4 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 4 docs, 193 bytes
total 0.025 sec, 7436 bytes/sec, 154.12 docs/sec
skipping non-plain index 'dist1'...
skipping non-plain index 'rt'...
total 4 reads, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg
total 18 writes, 0.001 sec, 0.1 kb/call avg, 0.0 msec/call avg
D:\sphinx\bin>search.exe test
Sphinx 2.0.6-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file './sphinx.conf'...
index 'test1': query 'test ': returned 3 matches of 3 total in 0.000 sec
displaying matches:
1. document=1, weight=2421, group_id=1, date_added=Sun Jan 06 10:40:50 2013
id=1
group_id=1
group_id2=5
date_added=2013-01-06 10:40:50
title=test one
content=this is my test document number one. also checking search within
phrases.
2. document=2, weight=2421, group_id=1, date_added=Sun Jan 06 10:40:50 2013
id=2
group_id=1
group_id2=6
date_added=2013-01-06 10:40:50
title=test two
content=this is my test document number two
3. document=4, weight=1442, group_id=2, date_added=Sun Jan 06 10:40:50 2013
id=4
group_id=2
group_id2=8
date_added=2013-01-06 10:40:50
title=doc number four
content=this is to test groups
words:
1. 'test': 3 documents, 5 hits
index 'test1stemmed': query 'test ': returned 3 matches of 3 total in 0.000 sec