/var/lib/sphinx remplacer par var/lib/sphinxsearch

This commit is contained in:
Michael RICOIS 2015-09-07 13:24:16 +00:00
parent fe7b92c91b
commit 81eb6136db
22 changed files with 26 additions and 26 deletions

4
README
View File

@ -29,8 +29,8 @@ Ubuntu PPA repository
Manual installation
===================
mysql-client-5.5
gcc g++ make libmysqld-dev
apt-get install mysql-client-5.5
apt-get install 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

View File

@ -22,7 +22,7 @@ source act
index act
{
source = act
path = /var/lib/sphinx/idx/act
path = /var/lib/sphinxsearch/idx/act
docinfo = extern
morphology = none
charset_type = utf-8

View File

@ -141,7 +141,7 @@ source ciblage
index ciblage
{
source = ciblage
path = /var/lib/sphinx/idx/ciblage
path = /var/lib/sphinxsearch/idx/ciblage
docinfo = extern
morphology = none
charset_type = utf-8

View File

@ -141,7 +141,7 @@ source ciblage
index ciblage
{
source = ciblage
path = /var/lib/sphinx/idx/ciblage
path = /var/lib/sphinxsearch/idx/ciblage
docinfo = extern
morphology = none
charset_type = utf-8

View File

@ -24,7 +24,7 @@ source dir
index dir
{
source = dir
path = /var/lib/sphinx/idx/dir
path = /var/lib/sphinxsearch/idx/dir
docinfo = extern
morphology = none
charset_type = utf-8

View File

@ -24,7 +24,7 @@ source dir
index dir
{
source = dir
path = /var/lib/sphinx/idx/dir
path = /var/lib/sphinxsearch/idx/dir
docinfo = extern
morphology = none
charset_type = utf-8

View File

@ -30,7 +30,7 @@ source ent
index ent
{
source = ent
path = /var/lib/sphinx/idx/ent
path = /var/lib/sphinxsearch/idx/ent
mlock = 1
docinfo = extern
stopwords = /etc/sphinxsearch/stopwords-ent.txt
@ -51,7 +51,7 @@ index ent
index ent_phx
{
source = ent
path = /var/lib/sphinx/idx/ent_phx
path = /var/lib/sphinxsearch/idx/ent_phx
mlock = 1
docinfo = extern
stopwords = /etc/sphinxsearch/stopwords-ent.txt

View File

@ -29,7 +29,7 @@ source ent
index ent
{
source = ent
path = /var/lib/sphinx/idx/ent
path = /var/lib/sphinxsearch/idx/ent
mlock = 1
docinfo = extern
stopwords = /etc/sphinxsearch/stopwords-ent.txt

View File

@ -16,7 +16,7 @@ source histo
index histo
{
source = histo
path = /var/lib/sphinx/idx/histo
path = /var/lib/sphinxsearch/idx/histo
min_word_len = 3
html_strip = 1
charset_type = utf-8

View File

@ -103,11 +103,11 @@ searchd
# log file, searchd run info is logged here
# optional, default is 'searchd.log'
log = /var/lib/sphinx/log/searchd.log
log = /var/lib/sphinxsearch/log/searchd.log
# query log file, all search queries are logged here
# optional, default is empty (do not log queries)
query_log = /var/lib/sphinx/log/query.log
query_log = /var/lib/sphinxsearch/log/query.log
# client read timeout, seconds
# optional, default is 5
@ -239,7 +239,7 @@ searchd
# optional, default is build-time configured data directory
#
# binlog_path = # disable logging
# binlog_path = /var/lib/sphinxsearch/data # binlog.001 etc will be created there
# binlog_path = /var/lib/sphinxsearchsearch/data # binlog.001 etc will be created there
# binlog flush/sync mode

View File

@ -1,6 +1,6 @@
#!/bin/bash
PATH_BIN=/usr/bin
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
echo "$(date '+%Y-%m-%d %H:%M:%S') === INDEXATION ACT" >> $PATH_LOG/indexer.log
$PATH_BIN/indexer --rotate act >> $PATH_LOG/indexer.log

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql

View File

@ -1,6 +1,6 @@
#!/bin/bash
PATH_BIN=/usr/bin
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
echo "$(date '+%Y-%m-%d %H:%M:%S') === INDEXATION ACT" >> $PATH_LOG/indexer.log
$PATH_BIN/indexer --rotate act >> $PATH_LOG/indexer.log

View File

@ -1,6 +1,6 @@
#!/bin/bash
PATH_BIN=/usr/bin
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
echo "$(date '+%Y-%m-%d %H:%M:%S') === RERPISE INDEXATION CIBLAGE" >> $PATH_LOG/indexer.log

View File

@ -1,5 +1,5 @@
#!/bin/bash
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
echo "$(date '+%Y-%m-%d %H:%M:%S') === REPRISE INDEXATION DIR" >> $PATH_LOG/indexer.log

View File

@ -1,5 +1,5 @@
#!/bin/bash
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
echo "$(date '+%Y-%m-%d %H:%M:%S') === REPRISE INDEXATION ENT" >> $PATH_LOG/indexer.log

View File

@ -1,5 +1,5 @@
#!/bin/bash
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
echo "$(date '+%Y-%m-%d %H:%M:%S') === INDEXATION HISTO" >> $PATH_LOG/indexer.log

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql

View File

@ -2,7 +2,7 @@
MYSQL_HOST=192.168.3.30
MYSQL_USER=sphinx
MYSQL_PASS=indexer
PATH_LOG=/var/lib/sphinx/log
PATH_LOG=/var/lib/sphinxsearch/log
PATH_BIN=/usr/bin
PATH_SQL=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/sql