: I will eventually get around to implementing it myself, at least in a
: pragmatic ("works for me") kinda way in the near future (within a
: month or so probably).  I'm perfectly happy to let others beat me to
: it, or to jump in and do it when my project demands it.

Incidently, i hadn't really thought about the "snippeting" aspect of
highlighting when this discussion came up last time (just marking up the
full text of the field)

Thinking about it now, i'm realizing that the simplest way to get it
working (without needing to muck with the guts of XMLWriter and change the
output version and all that) would be to take an approach like debugEnable
uses and add a NamedList to the response doc containing one item per doc
in the DocList, each item containing N "highlighted" fields, where the
fields highlighted, the "markup" used ot hightlight them, and the
"snippitizaion" could all be controlled via query params.

they key element to why this would be easier being that there would be no
modification to the XML, whatever markup you wnat to use to indicate
highlighting would be just be treated as part of hte string by XMLWriter.


-Hoss

Reply via email to