The search scope for Advanced Search doesn't appear to automatically 
include contributed doc types, although simple search does. I tried 
advanced search with no parameters and all base document types (including 
workspaces, sections, folders and files) are returned, but my contributed 
types are not. 

I added a search-contrib.xml and added to the MANIFEST file. Tried a 
number of things ... this version is based on an article i found in the 
SVN repo on the nuxeo site. 

<component name="ca.metalogic.emailarchive.search"> 

          <extension target=
"org.nuxeo.ecm.core.search.service.SearchServiceImpl" point=
"indexableDocType"> 
                    <indexableDocType name="EmailArchive" indexAllSchemas=
"true"></indexableDocType> 
          </extension> 
 
        <extension target=
"org.nuxeo.ecm.core.search.service.SearchServiceImpl" point="resource"> 
                <resource name="emailarchive" prefix="ema" type="schema" 
indexAllFields="true"></resource> 
        </extension>   
 
          <extension target=
"org.nuxeo.ecm.core.search.service.SearchServiceImpl" point=
"fullTextField"> 
        <fullText name="ecm:fulltext" analyzer="default" 
blobExtractorName="nuxeoTransform"> 
                <field>emailarchive:subjectLine</field> 
                <mimetype name=".*/.*">any2text</mimetype> 
              </fullText> 
          </extension> 
          
</component> 

To start, I just want to see my custom docs returned when I perform an 
advanced search with no parameters. 

Thanks, 
Bruce. 

--------------------
metaLogic
ph. +1.905.629.7775 x225
fax +1.905.629.9887
http://metaLogic.ca
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to