[Agora-generale] Pb avec Agora et mnoGoSearch

Lionel André lionel__13 at hotmail.com
Lun 22 Mai 16:25:51 CEST 2006


1 semaine que je travaille sur ce problème, je ne sais plus quoi faire...

J'ai installé Spip-Agora 1.3.1 et MnoGoSearch 3.2.28 dans un environnement LAMP. Je souhaite ainsi indexer les documents pdf et Word qui sont joins aux articles.

J'ai donc indéxé tous les documents à l'aide de mnoGoSearch et j'ai modifié le search.html. Ca,ça marche ! Lorsque je lance une recherche directement à partir du search.cgi, le script XML est correctement créé, avec les bons résultats. Donc l'indexation s'est bien déroulé.

Maintenant, lorsque je suis sur mon site et que je tape un mot (le même que j'ai utilisé pour tester le script)... bin rien ne se passe. Il me dit qu'il n'y a aucun document qui correspond...

J'ai placé des mouchards pour voir si le stream XML était bien reçu... et oui! il est bien reçu. Donc c'est un problème au niveau de Agora...

Quelq'un a déjà eu ce genre de problème ? Si oui, comment faire pour le résoudre ?

Merci de votre aide !

PS : Voici un extrait du flux XML que je reçois :

<?xml version="1.0" encoding="ISO-8859-1" ?> 
<results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="indexresults.xsd">
  <numberofresults>29</numberofresults> 
  <firstresultindex>1</firstresultindex> 
  <lastresultindex>10</lastresultindex> 
<result>
  <title>[no title]</title> 
  <pertinence>7.926%</pertinence> 
  <vpath>NA</vpath> 
  <path>http://documents/IMG/pdf/Nomenclature_interne_-_fournitures_et_prestations_de_services_homogenes.pdf</path> 
<filename>
[CDATA[ http://documents/IMG/pdf/Nomenclature_interne_-_fournitures_et_prestations_de_services_homogenes.pdf
  ]] 
  </filename>
<abstract>
[CDATA[ NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES CODE ... 1 Dani?le FAUCHER HYGIENE ET SECURITE NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES TYPE ... d'opération Service Centralisateur 2 NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES TYPE 
  ]] 
  </abstract>
  </result>
   <!-- [etc...] -->
 </results>
_________________________________________________________________
Une chance par jour de gagner un voyage au soleil avec Magic Search !
http://www.magicsearch.fr
-------------- section suivante --------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="indexresults.xsd">
   <numberofresults>29</numberofresults>
   <firstresultindex>1</firstresultindex>
   <lastresultindex>10</lastresultindex>
   <result>
       <title>[no title]</title>
       <pertinence>7.926%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/Nomenclature_interne_-_fournitures_et_prestations_de_services_homogenes.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/Nomenclature_interne_-_fournitures_et_prestations_de_services_homogenes.pdf]]></filename>
       <abstract><![CDATA[NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES CODE ... 1 Dani?le FAUCHER HYGIENE ET SECURITE NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES TYPE ... d'opération Service Centralisateur 2 NOMENCLATURE INTERNE DE LA VILLE DE VITROLLES TYPE ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.626%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/FICHE_13_Modalites_de_calcul_des_seuils_de_publicite_et_de_mise_en_concurence.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/FICHE_13_Modalites_de_calcul_des_seuils_de_publicite_et_de_mise_en_concurence.pdf]]></filename>
       <abstract><![CDATA[... d'une même catégorie homogène de la nomenclature établie par la collectivité). la ... plusieurs catégories homogènes de la nomenclature établie pour la collectivité). OU - ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.618%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/doc/MODELE_52B.doc</path>
       <filename><![CDATA[http://documents/IMG/doc/MODELE_52B.doc]]></filename>
       <abstract><![CDATA[... : voir liste en annexe III (page 8) .5 Nomenclature Classification CPV (Vocabulaire Commun ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.615%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/doc/MODELE_53B.doc</path>
       <filename><![CDATA[http://documents/IMG/doc/MODELE_53B.doc]]></filename>
       <abstract><![CDATA[... : voir liste en annexe III (page 8) .5 Nomenclature Classification CPV (Vocabulaire Commun ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.607%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/doc/MODELE_54B.doc</path>
       <filename><![CDATA[http://documents/IMG/doc/MODELE_54B.doc]]></filename>
       <abstract><![CDATA[... : voir liste en annexe III (page 8) .5 Nomenclature Classification CPV (Vocabulaire Commun ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.564%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/doc/MODELE_55.doc</path>
       <filename><![CDATA[http://documents/IMG/doc/MODELE_55.doc]]></filename>
       <abstract><![CDATA[... des services Code NUTS * II.1.8) Nomenclature II.1.8.1) Classification CPV ... ((((-( ((((-( ((((-( II.1.8.2) Autre nomenclature pertinente (CPA / NACE / CPC) II.1.9) ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.488%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/CM_CR_2005-07-28.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/CM_CR_2005-07-28.pdf]]></filename>
       <abstract><![CDATA[... conditions de leur financement ». La nomenclature M14 prévoit au niveau des fonctions ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.451%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/CM_CR_1992-02.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/CM_CR_1992-02.pdf]]></filename>
       <abstract><![CDATA[... qui n'appartiennent pas à la Nomenclature M12 et qui étaient utilisés ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.422%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/CM_CR_1992-12.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/CM_CR_1992-12.pdf]]></filename>
       <abstract><![CDATA[... à compter du 1er Janvier 1993. Cette nomenclature a pour objectif de mettre en évidence ]]></abstract>
   </result>
   <result>
       <title>[no title]</title>
       <pertinence>5.375%</pertinence>
       <vpath>NA</vpath>
       <path>http://documents/IMG/pdf/CM_CR_2000-07-28.pdf</path>
       <filename><![CDATA[http://documents/IMG/pdf/CM_CR_2000-07-28.pdf]]></filename>
       <abstract><![CDATA[... DEPOTS & CONSIGNATIONS. La nouvelle nomenclature comptable M14, applicable depuis le ... seul le Budget PRINCIPAL géré sous la nomenclature M14 a la possibilité de procéder à un ]]></abstract>
   </result>
</results>


Plus d'informations sur la liste de diffusion Agora-generale