Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 805336.patch | 4.33 KB | mkalkbrenner |
Comments
Comment #1
mkalkbrennerYou'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 ...
Comment #2
mkalkbrennerComment #3
mkalkbrenner