I tried this module together with the new 2.0-dev version.

Hightlighting of search results will not work if the body fields are not stored. Because of this I thinki the schema.xml shoul be changed:

   <field name="body" type="text" indexed="true" stored="true" termVectors="true"/>
   <!-- field_body_LANGUAGE -->
<field name="body_fr" type="text_fr" indexed="true" stored="true" termVectors="true"/>
<field name="body_de" type="text_de" indexed="true" stored="true" termVectors="true"/>

Additionally the multilanguage module should implement a query alter that uses the current language for hightlighting search snippets.

CommentFileSizeAuthor
#2 805336.patch4.33 KBmkalkbrenner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner

You're right. But it's a little bit more complicated because we need to tell solr which body to use under which circumstances. We're working on it ...

mkalkbrenner’s picture

Category: feature » bug
Status: Active » Needs review
FileSize
4.33 KB
mkalkbrenner’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.