lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Garrett" <>
Subject Re: How to tell the highlighter not to escape?
Date Thu, 04 Jan 2007 12:56:28 GMT
just to add a note on this, the whole idea of inserting "pseudo-markup" into
XML text elements seems to be pretty much in disrepute, and certainly caused
many complaints about RSS 1.0, see e.g.

in xsl, you **can** use disable-output-escaping="yes" to convert
pseudo-markup to markup, but xslt processors are not required to support
this, and so some do not.

it sure seems to me that if SOLR is returning XML, it might as well return
XML with real markup through and through instead of exploiting
pseudo-markup. if there is concern about introducing validation errors, then
perhaps you could use namespaces in the XML and put the highlighting markup
in a non-SOLR namespace???

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message