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.
Perhaps a bit obscure, but hopefully if anyone else has this issue this will help. If a vocabulary uses the display style of "Load into $node object", Apache Solr will not be able to display filters for that taxonomy.
In fact, using this setting seems to prevent Apache Solr from indexing the terms in that vocabulary entirely (hence the reason filters do not work). Changing the display style to "Default" (or disabling the module) appears to fix this issue (you'll probably need to reindex Apache Solr after this is done).
I'm seeing this issue with Term Display 6.x-1.1 and Apache Solr 6.x-1.3.
Comment | File | Size | Author |
---|---|---|---|
#2 | term-display-search-1153654.patch | 892 bytes | Manuel Garcia |
Comments
Comment #1
Manuel Garcia CreditAttribution: Manuel Garcia commentedI'm just confirming this is indeed the case. It doesn't allow apachesolr to index the terms that have this setting.
I've not tested with other configurations of term_display, but it seems that term_display should not affect the node object if the node is being loaded to be indexed.
Working on a patch, stay tuned.
Comment #2
Manuel Garcia CreditAttribution: Manuel Garcia commentedHere's the patch.
Comment #3
Manuel Garcia CreditAttribution: Manuel Garcia commented