Valid 5.1 only

You might want to desactivate file content indexing. This can be done by different ways like contributing a new blobExtractor that would return null all the time, or by changing through contribution the definition of ecm:fulltext field :

<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>note:note</field>
      <mimetype name="application/pdf">pdf2text</mimetype>
      <mimetype name="application/msword">word2text_poi</mimetype>
      <mimetype name="application/vnd.ms-powerpoint">ppt2text_poi</mimetype>
      <mimetype name="application/vnd.ms-excel">xl2text_jr</mimetype>
      <mimetype name="text/xml">xml2text_jr</mimetype>
      <mimetype name="text/html">html2text_jr</mimetype>
      <mimetype name="application/vnd.sun.xml.writer">oo2text_jr</mimetype>
      <mimetype name="application/vnd.sun.xml.writer.template">oo2text_jr</mimetype>
      <mimetype name="application/vnd.oasis.opendocument.text">oo2text_jr</mimetype>
      <mimetype name="application/vnd.oasis.opendocument.text-template">oo2text_jr</mimetype>
      <mimetype name=".*/.*">any2text</mimetype>
    </fullText>
  </extension>
Version 3.1 last modified by Alain Escaffre on 21/12/2009 at 22:59

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: Alain Escaffre on 2008/12/03 02:03
© 2008-2010 Nuxeo
1.3.8295