Dawid Weiss wrote:
Andrzej suggested that I add clustered results to the XML RSS feed; in order to do so I'd have to modify the servlet slightly -- my question is: what's the best way do to it? Should I alter the servlet, or rather write (subclass?) it and put the code that uses the clustering plugin and outputs the results in there?

Good question. Let's first try it as a subclass and see how that goes.

We'll need to add a number of protected methods. For example, the addNode methods should become protected, as well as something like a generateChannel(query,hits,..) and generateItem(hit,details,...). If you'd like me to first restructure things this way that'd be fine, although it may still need some adjustment when you go to subclass it.

Cheers,

Doug


------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to