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.
For bundle specific alteration according to the API of *apachesolr.api.php* , hook_apachesolr_entity_info_alter
is recommended and the structure of the $entity
should be,
$entity_info['node']['bundles']['page']['apachesolr']['status callback'][] = 'apachesolr_index_node_status_callback';
Now this structure is not satisfied in the current version of module in the function apachesolr_entity_get_callback
.
So to actually alter the behavior for a bundle specific scenario, we need to modify the array
structure in the
in apachesolr_entity_get_callback
according to attached patch
Comment | File | Size | Author |
---|---|---|---|
#10 | apachesolr.2688891.bundle-support.9.patch | 1.06 KB | roynilanjan |
|
Comments
Comment #2
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #5
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #6
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #7
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #8
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #10
roynilanjan CreditAttribution: roynilanjan as a volunteer commentedComment #11
roynilanjan CreditAttribution: roynilanjan as a volunteer commented