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

Reply via email to