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.
The issue #1216210: Allow searchers to "opt out" of default node facets has been resolved in Facet API, which Search API could use to eliminate the need to strip out the default facets in it's hook_facetapi_facet_info_alter() implementation. All Search API would have to do is set the "include default facets" key to FALSE for all searcher definitions, and the hook_facetapi_facet_info_alter() implementation could be removed.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1304026--remove-hook_facetapi_facet_info_alter-workaround-1.patch | 2.1 KB | drunken monkey |
Comments
Comment #1
drunken monkeyAh, good news, thanks! The attached patch does that and works for me.
Comment #2
cpliakas CreditAttribution: cpliakas commentedPatch looks good to me, and definitely simplifies things a bit.
Comment #3
cpliakas CreditAttribution: cpliakas commentedApplied and tested, works as advertised.
Comment #4
drunken monkeyLast commit for RC1! :D
Comment #5
cpliakas CreditAttribution: cpliakas commentedExciting!!! This will be a significant moment for Drupal search. Well done.