This means there's no markup in the OpenSearch output?

Yes, no markup for now.


Shouldn't there be?

The restriction on description field is : "Can contain simple escaped HTML
markup, such as <b>, <i>, <a>, and <img> elements."
So, ya, why not. We can add <b> around highlights.
What you and others thinks?


Perhaps this should be a method on Summary, to render it as html?

I had some hesitations about this while coding ....
In fact, as suggested in the issue's comments, I would like to add a generic
method on Summary :
String toString(Encoder, Formatter) like in the Lucene's Highlighter and
provide some basic implementations of Encoder and Formatter.

Jérôme

--
http://motrech.free.fr/
http://www.frutch.org/

Reply via email to