Sphinx

app-misc/sphinx


Source Repository:Repository:Gentoo Portage Tree

http://www.sphinxsearch.com/

Summary: Full-text search engine with support for MySQL and PostgreSQL

Use Flags

id64
use 64-bit document and word IDs
re2
use the dev-libs/re2 regular expression library
stemmer
Enable language stemming support

News

Drobbins

New Ports-2017 tree and Kits

Funtoo has a new ports-2017 tree, and introducing kits! (BETA)
2017-03-27 by Drobbins
Oleg

Xorg and other Updates

Xorg and other Updates
2017-02-05 by Oleg
Oleg

Kde4 to Plasma5 migration

Migration to Plasma 5
2017-02-02 by Oleg
More...

Sphinx

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Sphinx search is an alternate method to query database content. It's goal is to be fast and light weight.

Install

# emerge app-misc/sphinx

Configure

Copy the well commented configuration file into production location:

# cp /etc/sphinx/sphinx.conf.dist /etc/sphinx/sphinx.conf
Set the database credentials to query:

/etc/sphinx/sphinx.conf (sql source code) - Change database to the database sphinx will be searching
sql_host		= localhost
	sql_user		= test
	sql_pass		=
	sql_db			= test
	sql_port		= 3306	# optional, DEFAULT IS 3306

To enable service, and start immediately:

# rc-update add searchd default && rc