Search API + Apache SOLR - No highlighted excerpts returned for stemmed terms I have a Drupal 7 site using the Search API and Search API Apache SOLR modules to provide search functionality to site visitors.

I'm running Apache SOLR 4.10.2 within my development Vagrant VM environment, and search results are returned for both stemmed and unstemmed terms which is great:



Example search term: "car"

Apache SOLR returns nodes with fields containing the text "car" and "cars"



The problem is, when Apache Solr returns nodes containing the stemmed term "cars", no highlighted excerpts are returned. However results containing the exact term "car"  are returned with a hightlighted excerpt as expected.

After extensive searching I found this blog post which contains instructions on how to enable stemming for highlighted excerpts, but no luck. 

Here is the excerpt of my schema.xml config file as per the instructions in the blog post:

&lt;!--  Setup simple analysis for spell checking --&gt;

 &lt;fieldType name="textSpell" class="solr.TextField" positionIncrementGap="100"&gt;
   &lt;analyzer&gt;
     &lt;tokenizer class="solr.StandardTokenizerFactory" /&gt;
     &lt;filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/&gt;
     &lt;filter class="solr.LengthFilterFactory" min="4" max="20" /&gt;
     &lt;filter class="solr.LowerCaseFilterFactory" /&gt;
     &lt;filter class="solr.RemoveDuplicatesTokenFilterFactory" /&gt;
     &lt;filter class="solr.PorterStemFilterFactory"/&gt;
   &lt;/analyzer&gt;
 &lt;/fieldType&gt;


I have restarted my VM and cleared and reindexed all the nodes, but still no dice.

Has anyone else had this issue before? 

Thanks in advance!
I'm guessing that you, like me, had the "Highlight" filter enabled, which you shouldn't actually do for Solr. I found this nugget of info here:

https://www.drupal.org/node/2358065#comment-9319765

Though Solr returns the excerpt, that processor removes it if there's not an exact match.