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.
The light component defines the entity as a source of light. Light affects all materials that have not specified a flat shading model with shader: flat. Note that lights are computationally expensive we should limit number of lights in a scene.