Difference between revisions of "Sphinx search engine Installation"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Installer and date: [[User:Heth|Henrik Thomsen]] 07:32, 28 February 2009 (UTC)<br/>
 
Installer and date: [[User:Heth|Henrik Thomsen]] 07:32, 28 February 2009 (UTC)<br/>
 
Following the instuctions at [[MW:Extension:SphinxSearch]]
 
Following the instuctions at [[MW:Extension:SphinxSearch]]
 +
Documentation [http://www.sphinxsearch.com/docs/current.html sphinx docs]
 +
Really good article on configuring [http://www.ralree.info/2007/9/15/fulltext-indexing-wikipedia-with-sphinx/ sphinx]
 
Downloaded Sphinx from: [http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz]<br/>
 
Downloaded Sphinx from: [http://www.sphinxsearch.com/downloads/sphinx-0.9.9-rc1.tar.gz]<br/>
 
Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk<br/>
 
Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk<br/>
 +
 
=== Compiling ===
 
=== Compiling ===
 
Sphinx installs default in /usr/local and search for database. No options really nessasary.  
 
Sphinx installs default in /usr/local and search for database. No options really nessasary.  

Revision as of 10:19, 28 February 2009

Installer and date: Henrik Thomsen 07:32, 28 February 2009 (UTC)
Following the instuctions at MW:Extension:SphinxSearch Documentation sphinx docs Really good article on configuring sphinx Downloaded Sphinx from: [1]
Unpacked and unzipped in /usr/local/sw/sphinx-0.9.9-rc1 om mars.tekkom.dk

Compiling

Sphinx installs default in /usr/local and search for database. No options really nessasary.

  1. Executed ./configure which did all the tests succesfully and generated the Makefiles.
  2. Executed make to generate the binaries. Showing minor warnings, but ran all tests succesfully
  3. Executed make install showing output below
Making install in src
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
make  install-am
test -z "/usr/local/bin" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/bin"
  /usr/bin/install -c 'indexer' '/usr/local/bin/indexer'
  /usr/bin/install -c 'searchd' '/usr/local/bin/searchd'
  /usr/bin/install -c 'search' '/usr/local/bin/search'
  /usr/bin/install -c 'spelldump' '/usr/local/bin/spelldump'
Making install in test
test -z "/usr/local/etc" || /usr/local/sw/sphinx-0.9.9-rc1/config/install-sh -d "/usr/local/etc"
 /usr/bin/install -c -m 644 'sphinx.conf.dist' '/usr/local/etc/sphinx.conf.dist'
 /usr/bin/install -c -m 644 'sphinx-min.conf.dist' '/usr/local/etc/sphinx-min.conf.dist'
 /usr/bin/install -c -m 644 'example.sql' '/usr/local/etc/example.sql'
make  install-data-hook
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log