> 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, > that is not part of an xml element? As in, only the text content?
You could create a custom Analyzer or Tokenizer that strips everything but the text content. -Ken