search engine - Sphinx returns old data after indexer --rotate -
i'm having sphinx version 2.0.4 working.
whenever want reindex data, i'm using indexer
/usr/bin/indexer --config /etc/sphinxsearch/sphinx.conf xxx --rotate
it gives output:
root@dsphinx:~# /usr/bin/indexer --config /etc/sphinxsearch/sphinx.conf xxx --rotate using config file '/etc/sphinxsearch/sphinx.conf'... indexing index 'xxx'... collected 9536 docs, 55.8 mb sorted 4.7 mhits, 100.0% done warning: 2 duplicate document id pairs found total 9536 docs, 55758410 bytes total 3.930 sec, 14187197 bytes/sec, 2426.34 docs/sec total 4 reads, 0.005 sec, 2926.5 kb/call avg, 1.3 msec/call avg total 262 writes, 0.062 sec, 311.5 kb/call avg, 0.2 msec/call avg rotating indices: succesfully sent sighup searchd (pid=14068).
the problem process 14068 gives old indexed data.
if reload service (/etc/inid.d/sphinxsearch reload
) process id changed , sphinx returns new indexed data.
is bug or i'm not doing right?
how running queries?
are using sort of persistant connection manager in client? if so, might holding connections open, doesnt give searchd chance actully restart.
(ie restart delayed until connections closed)
search-engine sphinx
No comments:
Post a Comment