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.
Currently apachesolr module only support the drupal entity . It would be greatly helpful if there were support for custom tables as well.
I made alterations to enable this support.
apachesolr_index_entity_to_documents($item, $env_id)
apachesolr_convert_entity_to_documents($entity, $entity_type, $env_id) and
apachesolr_index_entities_document($row, $entity_type, $env_id) in file apachesolr.index.inc
Changes made are in the attached patch.
Comment | File | Size | Author |
---|---|---|---|
#4 | apachesolr.index_.patch | 1.86 KB | veerasekar89 |
Comments
Comment #1
veerasekar89 CreditAttribution: veerasekar89 commentedComment #2
veerasekar89 CreditAttribution: veerasekar89 commentedComment #3
veerasekar89 CreditAttribution: veerasekar89 commentedComment #4
veerasekar89 CreditAttribution: veerasekar89 commented#reworking in patch
Comment #5
kenorb CreditAttribution: kenorb commented