RE: storing xml - how to highlight hits in response?

2009-04-23 Thread Ensdorf Ken
> 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 lik

Re: storing xml - how to highlight hits in response?

2009-04-23 Thread Matt Mitchell
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 wrote: > > Hi, > > > > I'm storing some raw xml in solr (stored and non-tokenized). I'd like > > to > > highlight hits in the response, obviou

RE: storing xml - how to highlight hits in response?

2009-04-23 Thread Ensdorf Ken
> 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 highli