cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: Building lucene index without crawling?
Date Mon, 16 Jun 2003 16:43:01 GMT

> From: Peter Klotz [mailto:peter.klotz@blue-elephant-systems.com] 
> 
> 
> Hi,
> 
> I have Cocoon 2.0.4.
> Is it possible to generate a Lucene index from XML content 
> without using 
> a crawler? The question might sound strange but the reason is that I 
> could produce all content and all links to index from a 
> pipeline.

I think you have to make your own implementation of
org.apache.cocoon.components.search.LuceneCocoonIndexer which does the
job you want using the SourceResolver. Look at
SimpleLuceneCocoonIndexerImpl to get the idea!

Hope that helps.

Reinhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message