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.
Hi,
the apachesolr-3.0-rc1 module is used on Drupal.org and has a Drupal 7 upgrade path. However apachesolr_autocomplete doesn't work with it due to some API changes.
Would be nice to have a 3.x branch to keep up with the apachesolr module.
Comment | File | Size | Author |
---|---|---|---|
#2 | apachesolr-3x-integration-1846928-2.patch | 2.78 KB | hitfactory |
#1 | 1846928-apachesolr-3x-integration.patch | 2.04 KB | zerolab |
Comments
Comment #1
zerolab CreditAttribution: zerolab commentedAttaching a straightforward D7 backport.
Tested against apachesolr-6.x-3.0-rc1
Comment #2
hitfactory CreditAttribution: hitfactory commentedPatch in #1 is missing try/catch which prevents Fatal Error when Solr not available.
Attached patch restores this and also includes hook so autocomplete is attached to apachesolr_search_custom_page_search_form forms.
Comment #2.0
hitfactory CreditAttribution: hitfactory commentedsmall wording change
Comment #3
janusman CreditAttribution: janusman commentedActually has been committed into 6.x-1.x-dev since https://www.drupal.org/commitlog/commit/11402/f47828bce31448f3e45a721824...