58 lines
2.3 KiB
Plaintext
58 lines
2.3 KiB
Plaintext
|
|
source dir
|
|
{
|
|
type = mysql
|
|
sql_host = ENV_MYSQLHOST
|
|
sql_port = 3306
|
|
sql_user = ENV_MYSQLUSER
|
|
sql_pass = ENV_MYSQLPASS
|
|
sql_db = jo
|
|
sql_query_pre = SET NAMES utf8
|
|
sql_query = \
|
|
SELECT id, siren, adr_dep, typeDir, dirSiren, civilite, CONCAT(nom,' ',naissance_nom, ' ', dirRS) AS nom, \
|
|
prenom, YEAR(naissance_date) AS naiss_annee, MONTH(naissance_date) AS naiss_mois, \
|
|
DAY(naissance_date) AS naiss_jour, naissance_lieu, fonction_code, actif \
|
|
FROM dirigeants;
|
|
sql_attr_uint = dirSiren
|
|
sql_attr_uint = naiss_annee
|
|
sql_attr_uint = naiss_mois
|
|
sql_attr_uint = naiss_jour
|
|
sql_attr_uint = actif
|
|
sql_attr_uint = adr_dep
|
|
}
|
|
|
|
index dir
|
|
{
|
|
source = dir
|
|
path = /var/lib/sphinxsearch/idx/dir
|
|
docinfo = extern
|
|
morphology = none
|
|
charset_table = 0..9, A..Z->a..z, a..z, \
|
|
U+23, U+25, U+26, U+2B, U+3D, U+40, \
|
|
U+C0->a, U+C1->a, U+C2->a, U+C3->a, U+C4->a, U+C5->a, U+C6->a, U+C7->c, \
|
|
U+C8->e, U+C8->e, U+C9->e, U+CA->e, U+CB->e, U+CC->i, U+CD->i, U+CE->i, \
|
|
U+CF->i, U+D0->d, U+D1->n, U+D2->o, U+D3->o, U+D4->o, U+D5->o, U+D6->o, \
|
|
U+D8->o, U+D9->u, U+DA->u, U+DB->u, U+DC->u, U+DD->y, U+E0->a, U+E1->a, \
|
|
U+E2->a, U+E3->a, U+E4->a, U+E5->a, U+E7->c, U+E8->e, U+E9->e, U+EA->e, \
|
|
U+EB->e, U+EC->i, U+ED->i, U+EE->i, U+EF->i, U+F1->n, U+F2->o, U+F3->o, \
|
|
U+F4->o, U+F5->o, U+F6->o, U+F8->o, U+F9->u, U+FA->u,U+FB->u, U+FC->u, \
|
|
U+FD->y, U+FF->y, U+0152->U+0153, U+0153
|
|
}
|
|
|
|
index dir_phx
|
|
{
|
|
source = dir
|
|
path = /var/lib/sphinxsearch/idx/dir_phx
|
|
docinfo = extern
|
|
min_stemming_len = 4
|
|
charset_table = 0..9, A..Z->a..z, a..z, \
|
|
U+23, U+25, U+26, U+2B, U+3D, U+40, \
|
|
U+C0->a, U+C1->a, U+C2->a, U+C3->a, U+C4->a, U+C5->a, U+C6->a, U+C7->c, \
|
|
U+C8->e, U+C8->e, U+C9->e, U+CA->e, U+CB->e, U+CC->i, U+CD->i, U+CE->i, \
|
|
U+CF->i, U+D0->d, U+D1->n, U+D2->o, U+D3->o, U+D4->o, U+D5->o, U+D6->o, \
|
|
U+D8->o, U+D9->u, U+DA->u, U+DB->u, U+DC->u, U+DD->y, U+E0->a, U+E1->a, \
|
|
U+E2->a, U+E3->a, U+E4->a, U+E5->a, U+E7->c, U+E8->e, U+E9->e, U+EA->e, \
|
|
U+EB->e, U+EC->i, U+ED->i, U+EE->i, U+EF->i, U+F1->n, U+F2->o, U+F3->o, \
|
|
U+F4->o, U+F5->o, U+F6->o, U+F8->o, U+F9->u, U+FA->u,U+FB->u, U+FC->u, \
|
|
U+FD->y, U+FF->y, U+0152->U+0153, U+0153
|
|
} |