solrjGet highlighted snippets with SolrJ


Introduction

When we get highlighted snippets in our Solr response programmatically, we need to extract and handle them. The code below shows how to do that with SolrJ.