40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
|
|
source source_act
|
|
{
|
|
type = mysql
|
|
sql_host = 192.168.3.30
|
|
sql_user = sphinx
|
|
sql_pass = indexer
|
|
sql_db = jo
|
|
sql_query_pre =
|
|
sql_query = SELECT id, Siren1, RaisonSociale, Siren2, actif, dateLien, IF(dateUpdate > dateInsert, dateUpdate,dateInsert) as dateMaj, source, Pmin*1 AS PminNum, MajMin, PpPm, IF(Pays='','FRA',Pays) AS Pays FROM liens WHERE ActionPart=1 AND Siren1>1000 AND Siren1 IN (SELECT DISTINCT SIREN FROM etablissements_old);
|
|
sql_attr_uint = actif
|
|
sql_attr_uint = source
|
|
sql_attr_uint = PminNum
|
|
sql_attr_str2ordinal= MajMin
|
|
sql_attr_str2ordinal= PpPm
|
|
}
|
|
|
|
index act
|
|
{
|
|
source = source_act
|
|
path = /dbs/sphinx/act
|
|
docinfo = extern
|
|
morphology = none
|
|
charset_type = sbcs
|
|
charset_table = 0..9, A..Z->a..z, a..z, \
|
|
U+23, U+25, U+26, U+2B, U+3D, U+40, \
|
|
U+C0..U+DE->U+E0..U+FE, U+DF, U+E0..U+FF
|
|
}
|
|
|
|
index act_phx
|
|
{
|
|
source = source_act
|
|
path = /dbs/sphinx/act_phx
|
|
docinfo = extern
|
|
morphology = libstemmer_francais
|
|
charset_type = sbcs
|
|
charset_table = 0..9, A..Z->a..z, a..z, \
|
|
U+23, U+25, U+26, U+2B, U+3D, U+40, \
|
|
U+C0..U+DE->U+E0..U+FE, U+DF, U+E0..U+FF
|
|
} |