[
http://jira.nuxeo.org/browse/NXP-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31822#action_31822
]
Olivier Adam commented on NXP-1909:
-----------------------------------
Je me suis trompé lors du choix de projet, dsl
J'ai recréé cette demande dans le support :
http://jira.nuxeo.org/browse/SUPNXP-154
> Configuration Compass en 5.1.2
> ------------------------------
>
> Key: NXP-1909
> URL: http://jira.nuxeo.org/browse/NXP-1909
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Affects Versions: 5.1.2
> Reporter: Olivier Adam
> Assignee: Thierry Delprat
> Priority: Major
>
> J'ai fait le point d'extension ci-dessous afin d'indexer un lots de
> méta-données et ajouter le l'élément subject de dublincore à la recherche
> globale.
> --------------------------------------------------------------------------------------------------------------------------
> <component name="fr.gouv.education.acrennes.ged.search">
> <require>org.nuxeo.ecm.core.search.service.defaultconfig</require>
> <extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
> point="indexableDocType">
> <!-- <indexableDocType indexAllSchemas="true" name="Inadoc" /> -->
> </extension>
> <extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
> point="resource">
> <resource name="dublincore" prefix="dc" indexAllFields="true"
> type="schema">
> <field name="title" analyzer="default" stored="true" indexed="true"
> type="Text" binary="false" sortable="true" />
> <field name="description" analyzer="default" stored="true"
> indexed="true" type="Text" binary="false" sortable="true" />
> <field name="modified" analyzer="default" stored="true" indexed="true"
> type="date" sortable="true" />
> <field name="subjects" analyzer="default" stored="true" indexed="true"
> type="Text" binary="false" multiple="true" />
> <field name="contributors" analyzer="default" stored="true"
> indexed="true" type="Text" binary="false" multiple="true" />
> <field name="creator" analyzer="default" stored="true" indexed="true"
> type="Text" binary="false"/>
> </resource>
> <resource name="acaren" indexAllFields="true" type="schema">
> <field name="commutateur" analyzer="keyword" stored="true"
> indexed="true" sortable="false" type="keyword" />
> <field name="typeDocumentaire" analyzer="keyword" stored="true"
> indexed="true" sortable="false" type="keyword" />
> </resource>
> <resource name="peda" indexAllFields="true" type="schema">
> <field name="disciplines" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="niveauxEducatifs" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="competences" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="niveauxCompetences" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="activites" analyzer="keyword" stored="true" indexed="true"
> sortable="false" type="keyword" />
> <field name="themes" analyzer="default" stored="true" indexed="true"
> type="path" binary="false" multiple="true" />
> <field name="sdCompetences" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="sdNiveauxCompetences" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> <field name="sdThemes" analyzer="default" stored="true" indexed="true"
> type="path" binary="false" multiple="true" />
> <field name="publicsCibles" analyzer="keyword" stored="true"
> indexed="true" sortable="false" type="keyword" />
> <field name="naturesPedagogiques" analyzer="keyword" stored="true"
> indexed="true" sortable="false" type="keyword" />
> <field name="cadresUtilisations" analyzer="default" stored="true"
> indexed="true" type="path" binary="false" multiple="true" />
> </resource>
> </extension>
> <extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
> point="fullTextField">
> <fullText name="ecm:fulltext" analyzer="default"
> blobExtractorName="nuxeoTransform">
> <field>dublincore:title</field>
> <field>dublincore:description</field>
> <field>dublincore:subjects</field>
> <field>dublincore:creator</field>
> <field>dublincore:contributors</field>
> <field>file:content</field>
> <field>note:note</field>
> <mimetype name="application/pdf">pdf2text</mimetype>
> <mimetype name="application/msword">word2text_poi</mimetype>
> <mimetype name=".*/.*">any2text</mimetype>
> </fullText>
> </extension>
> </component>
> ----------------------------------------------------
> Cela fonctionne parfaitement avec la version 5.1.3-SNAPSHOT mais pas avec la
> 5.1.2 GA que nous avons en production. Les logs me renvoient les WARN
> suivants :
> ----------------------------------------------------
> 11:40:01,616 WARN [CompassBackend] While building ResultItem, could not
> handle contents of stored field peda:disciplines.
> Check Search Service configuration and Compass mappings.
> 11:40:01,617 WARN [CompassBackend] While building ResultItem, could not
> handle contents of stored field peda:sdCompetences.
> Check Search Service configuration and Compass mappings.
> -----------------------------------------------------
> Manque-t-il un élément de configuration ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets