The Solr schema provided by Nutch does not store the content. To enable highlighting in Solr you have to enable the component (see wiki doc) and set the stored attr to true for the content field.
> Hello all! > > We're changing things up and integrating our nutch crawls with a solr > frontend. It looks promising, but I might be missing something. I get > most of the fields with little/no worry - title, time, boost, etc., but I > have NO content or context for the search term. With the nutch .war, we > would get a field that we could configure to display a set number of words > before and after the query word. I seem to be striking out getting that > same behavior in solr. > > Of interest might be: Nutch 1.2, solr 3.5, and we are currently using a > publishing system to put the crawldb on the solr server (they are different > than our Nutch servers) instead of using the bin/nutch commands. It seems > to work fine, as it reads the number of documents and does return > applicable results. > > Thanks in advance!

