From c2a364876c3bc2bc78cc5e1dc0487ab0a0ec8564 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 25 Jun 2012 12:47:07 +0000 Subject: [PATCH] Exclude on ape_etab and ape_entrep, correct codeCommune type --- config/Sphinx/Dev/ciblage.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/Sphinx/Dev/ciblage.conf b/config/Sphinx/Dev/ciblage.conf index 5bd09e8..ecc3813 100644 --- a/config/Sphinx/Dev/ciblage.conf +++ b/config/Sphinx/Dev/ciblage.conf @@ -15,8 +15,8 @@ source ciblage IF(fax>0,1,0) AS fax, \ cj, \ capital, \ - ape_etab, \ - ape_entrep, \ + CONCAT('EX ', ape_etab) AS ape_etab, \ + CONCAT('EX ', ape_entrep) AS ape_entrep, \ age_entrep, \ age_etab, \ tca, \ @@ -78,8 +78,6 @@ source ciblage sql_attr_uint = fax sql_attr_uint = cj sql_attr_uint = capital - sql_field_string = ape_etab - sql_field_string = ape_entrep sql_attr_uint = age_entrep sql_attr_uint = age_etab sql_attr_uint = tca @@ -124,7 +122,7 @@ source ciblage sql_attr_uint = bilHM sql_attr_uint = bilHN sql_attr_uint = bilYP - sql_field_string = codeCommune + sql_attr_uint = codeCommune sql_attr_uint = zus sql_attr_uint = zru sql_attr_uint = zfu