cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Polanco <>
Subject Using Lucene search results with Cocoon and XSP
Date Thu, 21 Oct 2004 01:31:18 GMT
I used the Lucene factory method Field.Text(String, String) to index, 
tokenize and store several hundreds short xml files. I stored the entire 
xml content of these files in a field called "content".

Now I want to use the Lucene search results with Cocoon. If I execute 
the code shown below  then I get a string with all the requested xml 
content which I'm able to see with "view" for debugging purposes. The 
problem is that I'm not able to apply a stylesheet to a string as it is 
returned by hits.doc(i).get("content").  I think that I shouldn't be 
using the <xsp:expr> expression but do not know what to use instead.

for(int i = 0; i < hits.length(); i++)

Thanks for any help.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message