[opencms-dev] Indexing an XmlContent with an attachment as a single resource?

Claus Priisholm cpr at codedroids.com
Sun May 17 09:37:21 CEST 2009


In this case I think the only way is to make your own class for dealing 
with the specific content. I.e subclass 
org.opencms.search.documents.CmsDocumentXmlContent and register it in 
opencms-search.xml

Alessio Raggi wrote:
> Hi all,
> 
> I'm trying to index an xmlcontent alongside the contents of a 
> pdf/doc/odt/etc. document (i.e. like some sort of an attachment to the 
> related xmlcontent) but I can't find a way to do it without implementing 
> a new type of document/extractor.
> 
> Is there a kind of "basic" way to force the indexing of two related 
> resources as a single one?
> 
> Regards,
> Alessio
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
-- 
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list