Always me,

I tried to indexed my new document type... If I well understand :

<component name="org.nuxeo.ecm.core.search.service.defaultconfig">
  <extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
    point="indexableDocType">

    <indexableDocType indexAllSchemas="true" name="EURMDM-DOCUMENT"/>
    <indexableDocType indexAllSchemas="true" name="EURMDM-FILE"/>
    <indexableDocType indexAllSchemas="true" name="EURMDM-IMAGE"/>
    <indexableDocType indexAllSchemas="true" name="EURMDM-LOT"/>

  </extension>



So with only that all common schemas will be indexed but I think with that :

  <extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
    point="indexableSchema">

<indexableSchema name="eurmdm-common" prefix="eurmdm" indexAllFields="true"/> <indexableSchema name="eurmdm-lot" prefix="eurmdmlot" indexAllFields="true"/> <indexableSchema name="exif_metadata" prefix="exif" indexAllFields="true"/> <indexableSchema name="iptc_metadata" prefix="iptc" indexAllFields="true"/>

    <indexableSchema name="eurmdm-document" prefix="eurmdmdoc">
      <field name="section" indexed="true" type="Text" binary="false"/>
      <field name="countries" indexed="true" type="Text" binary="false"/>
    </indexableSchema>
  </extension>

</component>


All my specific schemas will be indexed (all schemas contain date/string) exept for "eurmdm-document", there are differents blobs fields that I don't want to indexed.

Finally when I do a Select * FROM Document, Search engine returns only Worspaces, Root document, File, ... But not mine...


Why this world so rude ?


Benjamin JALON

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to