Vocabulaire dynamique années DC

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:bbeaa946370e306cc79605e476ffe5b6' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:bbeaa946370e306cc79605e476ffe5b6' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:18bc832910f854901901c4b3ef26900f' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour,\n<div><br></div>\n<div>Je souhaite créer un vocabulaire dynamique afin de construire une recherche thématique sur les années du profil de MD Dublin Core.</div>\n<div>Voici la déclaration du bean :</div>\n<div>\n<blockquote class=\"gmail_quote\" style=\"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex\">\n<p><span class=\"\" style=\"white-space:pre\"> </span>&lt;bean id=&quot;indexed_dc_years&quot;<br>      class=&quot;org.orioai.vocabulary.domain.providers.indexing.OriIndexerVocabularyProvider&quot; init-method=&quot;init&quot;&gt;<br></p>\n<p>       &lt;property name=&quot;categoryLabels&quot;&gt;<br><span class=\"\" style=\"white-space:pre\"> </span>&lt;map&gt;<br><span class=\"\" style=\"white-space:pre\"> </span>&lt;entry key=&quot;fr&quot; value=&quot;Ann&amp;#233;e&quot; /&gt;<br></p>\n<p><span class=\"\" style=\"white-space:pre\"> </span>&lt;entry key=&quot;en&quot; value=&quot;Year&quot; /&gt;<br><span class=\"\" style=\"white-space:pre\"> </span>&lt;/map&gt;<br><span class=\"\" style=\"white-space:pre\"> </span>&lt;/property&gt;<br></p>\n<p>       &lt;property name=&quot;categoryId&quot; value=&quot;indexed_dc_years&quot; /&gt;<br>       &lt;property name=&quot;categoryLang&quot; value=&quot;fr&quot; /&gt;<br>       &lt;property name=&quot;indexingService&quot; ref=&quot;indexingService&quot; /&gt;<br></p>\n<p>       &lt;property name=&quot;indexingXpath&quot; value=&quot;substring(//dc:date,1,4)&quot; /&gt;<br>       &lt;property name=&quot;sort&quot; value=&quot;reverse&quot; /&gt;<br>   &lt;/bean&gt;</p></blockquote>\n</div>\n<div>\n<br>\n</div>\n<div>Lorsque je consulte le résultat via l&#39;interface web du module Vocabulary, je n&#39;obtiens pas de résultat :</div>\n<div>\n<blockquote class=\"gmail_quote\" style=\"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex\">\n<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;vdex:vdex xmlns:vdex=&quot;<a href=\"http://www.imsglobal.org/xsd/imsvdex_v1p0\">http://www.imsglobal.org/xsd/imsvdex_v1p0</a>&quot; xmlns:orioai=&quot;<a href=\"http://www.ori-oai.org/static/xsd/orioaivocab\">http://www.ori-oai.org/static/xsd/orioaivocab</a>&quot; xmlns:xsi=&quot;<a href=\"http://www.w3.org/2001/XMLSchema-instance\">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xsi:schemaLocation=&quot;<a href=\"http://www.ori-oai.org/static/xsd/orioaivocab\">http://www.ori-oai.org/static/xsd/orioaivocab</a> <a href=\"http://www.ori-oai.org/static/xsd/orioaivocab.xsd\">http://www.ori-oai.org/static/xsd/orioaivocab.xsd</a> <a href=\"http://www.imsglobal.org/xsd/imsvdex_v1p0\">http://www.imsglobal.org/xsd/imsvdex_v1p0</a> <a href=\"http://www.imsglobal.org/xsd/imsvdex_v1p0.xsd\">http://www.imsglobal.org/xsd/imsvdex_v1p0.xsd</a>&quot; orderSignificant=&quot;false&quot; profileType=&quot;flatTokenTerms&quot;&gt;&lt;vdex:vocabName&gt;&lt;vdex:langstring language=&quot;fr&quot;&gt;Année&lt;/vdex:langstring&gt;&lt;vdex:langstring language=&quot;en&quot;&gt;Year&lt;/vdex:langstring&gt;&lt;/vdex:vocabName&gt;&lt;vdex:vocabIdentifier isRegistered=&quot;false&quot;&gt;indexed_dc_years&lt;/vdex:vocabIdentifier&gt;&lt;vdex:term&gt;&lt;vdex:termIdentifier&gt;0&lt;/vdex:termIdentifier&gt;&lt;vdex:caption&gt;&lt;vdex:langstring&gt;No terms&lt;/vdex:langstring&gt;&lt;/vdex:caption&gt;&lt;/vdex:term&gt;&lt;/vdex:vdex&gt;</p></blockquote>\n<div><br></div>\n</div>\n<div>Qu&#39;est-ce qui ne va pas d&#39;après vous ?</div>\n<div><br></div>\n<div>Merci<br clear=\"all\">Sébastien<br>\n</div>\n</div>\n', created = 1507754160, expire = 1507840560, headers = '', serialized = 0 WHERE cid = '4:18bc832910f854901901c4b3ef26900f' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
sebastien.pouillet
Vocabulaire dynamique années DC
Bonjour,

Je souhaite créer un vocabulaire dynamique afin de construire une recherche thématique sur les années du profil de MD Dublin Core.
Voici la déclaration du bean :

<bean id="indexed_dc_years"
      class="org.orioai.vocabulary.domain.providers.indexing.OriIndexerVocabularyProvider" init-method="init">

       <property name="categoryLabels">
<map>
<entry key="fr" value="Ann&#233;e" />

<entry key="en" value="Year" />
</map>
</property>

       <property name="categoryId" value="indexed_dc_years" />
       <property name="categoryLang" value="fr" />
       <property name="indexingService" ref="indexingService" />

       <property name="indexingXpath" value="substring(//dc:date,1,4)" />
       <property name="sort" value="reverse" />
   </bean>


Lorsque je consulte le résultat via l'interface web du module Vocabulary, je n'obtiens pas de résultat :

<?xml version="1.0" encoding="UTF-8"?>
<vdex:vdex xmlns:vdex="http://www.imsglobal.org/xsd/imsvdex_v1p0" xmlns:orioai="http://www.ori-oai.org/static/xsd/orioaivocab" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ori-oai.org/static/xsd/orioaivocab http://www.ori-oai.org/static/xsd/orioaivocab.xsd http://www.imsglobal.org/xsd/imsvdex_v1p0 http://www.imsglobal.org/xsd/imsvdex_v1p0.xsd" orderSignificant="false" profileType="flatTokenTerms"><vdex:vocabName><vdex:langstring language="fr">Année</vdex:langstring><vdex:langstring language="en">Year</vdex:langstring></vdex:vocabName><vdex:vocabIdentifier isRegistered="false">indexed_dc_years</vdex:vocabIdentifier><vdex:term><vdex:termIdentifier>0</vdex:termIdentifier><vdex:caption><vdex:langstring>No terms</vdex:langstring></vdex:caption></vdex:term></vdex:vdex>


Qu'est-ce qui ne va pas d'après vous ?

Merci
Sébastien