From 92c897def6ecf86a70465aa15d2b156a9d5617d5 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Tue, 8 Nov 2011 14:29:41 +0000 Subject: [PATCH] Ajout de la conf Historique. --- config/SphinxHisto/MysqlServer/histo.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/config/SphinxHisto/MysqlServer/histo.conf b/config/SphinxHisto/MysqlServer/histo.conf index e69de29..ee22bf6 100644 --- a/config/SphinxHisto/MysqlServer/histo.conf +++ b/config/SphinxHisto/MysqlServer/histo.conf @@ -0,0 +1,23 @@ +ource histo +{ + type = mysql + sql_host = 192.168.78.230 + sql_user = sphinx_histo + sql_pass = sphinx + sql_db = histobodacc + sql_port = 3306 # optional, default is 3306 + sql_query = SELECT id, nomFichier, annee1, dateBod, texte FROM bodacc_ocr; + sql_attr_uint = annee1 + sql_query_info = SELECT * FROM bodacc_ocr WHERE id=$id +} + +index histo +{ + source = histo + path = /home/sphinx/histo + docinfo = extern + morphology = none + min_word_len = 1 + charset_type = sbcs + html_strip = 1 +}