Thanks all for very valuable contributions, I understand these aspects of Solr much better now
but... >But a different use-case might be for the highlighting to encompass the markup rather than >just the text, e.g. > <span class="highlighted"><topic type="location">Paris</topic></span> >which would have to be accomplished some other way. Yes, exactly. And I think nutch handles this somehow as I remember using it for indexing HTML and then returning snippets with accurate highlighting placed within html snippets. Is there a potential for code reuse from nutch? Maybe this is topic for solr developer list? Or has it been already considered? Bests, Ravish