Go to file
2015-09-07 09:21:42 +00:00
config Simplificiation 2015-09-07 06:20:32 +00:00
indexer Simplification des chemins 2015-09-07 09:21:42 +00:00
NOTE Simplificiation 2015-09-07 06:20:32 +00:00
README Name script and update doc 2015-09-07 07:39:55 +00:00

USAGE
=====

Sphinx Engine configuration
---------------------------
	Create a /etc/sphinxsearch/sphinx.conf
	
	See in scripts/build/config-*
		sphinx.conf : Sphinx Engine config
		*.conf : one file per index		
	
	Table rotation is use with some index
	
	
Indexing
--------
	indexer-*	: Index on master database with rotation
	slave-*		: Index on slave database only if table have rotate
	manual-*	: Manually reload index
	

Ubuntu PPA repository
=====================
	sudo apt-get install software-properties-common
	sudo add-apt-repository ppa:builds/sphinxsearch-rel22
	sudo apt-get install libstemmer0d
	sudo apt-get update && apt-get install sphinxsearch

Manual installation
===================
	mysql-client-5.5
	gcc g++ make libmysqld-dev
	wget -nv -O - http://snowball.tartarus.org/dist/libstemmer_c.tgz | tar zx
	wget -nv -O - https://re2.googlecode.com/files/re2-20140304.tgz | tar zx
	wget http://sphinxsearch.com/files/sphinx-2.2.7-release.tar.gz
	tar xzvf sphinx-2.2.7-release.tar.gz
	cp -R libstemmer_c/* sphinx-2.2.7-release/libstemmer_c/
	sed -i -e 's/stem_ISO_8859_1_hungarian/stem_ISO_8859_2_hungarian/g' sphinx-2.2.7-release/libstemmer_c/Makefile.in
	cp -R re2/* sphinx-2.2.7-release/libre2/
	cd sphinx-2.2.7-release
	./configure --with-libstemmer --with-re2 --prefix=/usr/local/sphinx
	make
	make install