...create my own indexing xsp page to allow me to include document elements in my HitWrapper object so I can output something meaningful as my search results?
I can't find anything out there that shows how to use the cocoon specific classes to include things like <title> element or other custom xml elements in the index. I have iterated over the Fields enumeration object of the lucene.Document and have only the url field available (included in the index). However, I can perform searches like heading:sometext and this is only performed on these xml elements, so why can't I get 'heading' output in the Hits object??? This is driving me potty. Do I have to write my own class using the lucene classes if I am to get this to work, if so, it seems pretty pointless in having the index example (and specific lucene cocoon classes) if all you can output is the url - not very user friendly. TIA Conrad Conrad Crampton J Software Solutions Kent Police FHQ 11 Edinburgh Square Sutton Road Maidstone Kent ME15 9BZ (01622 652869 19 2869 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>