Hi,
I'm storing some raw xml in solr (stored and non-tokenized). I'd like to
highlight hits in the response, obviously this is problematic as the
highlighting elements are also xml. So if I match an attribute value or tag
name, the xml response is messed up. Is there a way to highlight only text,
Hi,
I'm storing some raw xml in solr (stored and non-tokenized). I'd like
to
highlight hits in the response, obviously this is problematic as the
highlighting elements are also xml. So if I match an attribute value or
tag
name, the xml response is messed up. Is there a way to highlight
Yeah great idea, thanks. Does anyone know if there is code out there that
will do this sort of thing?
Matt
On Thu, Apr 23, 2009 at 3:23 PM, Ensdorf Ken ensd...@zoominfo.com wrote:
Hi,
I'm storing some raw xml in solr (stored and non-tokenized). I'd like
to
highlight hits in the
Yeah great idea, thanks. Does anyone know if there is code out there
that
will do this sort of thing?
Perhaps a much simpler option would be to use this:
http://lucene.apache.org/solr/api/org/apache/solr/analysis/PatternReplaceFilterFactory.html
with a regex of [^]* or something like that -