Summary
We saw how to ask Solr for highlighted search results using PHP code. We saw the regular and fastvector highlighter. We saw the functions and parameters used to change the highlighting tags for both regular and fastvector highlighter. We also went through some functions and Solr configuration and schema changes to tweak highlighting and the generated snippets.
In the next chapter, we will go in depth on the scoring mechanism. We will explore the debug and stats component, which will enable us to improve relevance ranking and get statistics information from the index respectively.