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.
Upgrading from apachesolr 1.x to 3.x (#1813490: Support Solr 3 (apachesolr 6.x-3.x)) adds the facetapi module as a dependency. All facet blocks change, and will need to be repositioned.
The current blocks are as such:
- Apache Solr Search: Filter by content type
- Apache Solr Core: Sorting
- Apache Solr OG: Filter by Organic Group
- Apache Solr Search: Filter by author
- Apache Solr Search: Filter by taxonomy Sitewide tags
- Apache Solr Search: Filter by post date
- Apache Solr Search: Filter by language
- Apache Solr Search: Current search
Comments
Comment #1
jhedstromSome initial work has been done on this update hook in the
1813490-support-new-apachesolr
branch, but fails to work when runningdrush updatedb
since updates are run in a single php process when using drush (and ctools exportables become a nightmare of static variable soup). If updates are run on gdo usingupdate.php
then this is close to ready, otherwise it will need more testing with drush.Comment #2
jhedstromComment #3
jhedstromThis works just fine when run via update.php. However, due to #1814818: For D6 updatedb, caches are cleared in a PHP process that precedes updates, won't work with `drush updatedb`. So, the choices are to manually position the new blocks after the update has run from drush, or to manually re-run the update hook 6103 via update.php after deployment, which will position the blocks correctly.
Comment #4.0
(not verified) CreditAttribution: commentedUpdated issue summary.