i am new to Sphinx i need sample code for real time indexex 开发者_运维百科sphinx.config in linux sever?
For near real time indexing you can use delta method :
http://sphinxsearch.com/docs/1.10/delta-updates.html
Edit:
Index everything :
indexer --rotate --config /home/myuser/sphinx.conf --all
Index only delta :
indexer --rotate --config /home/myuser/sphinx.conf delta
Merge indexes :
indexer --merge main delta --rotate
精彩评论