Files attached to multiple nodes causes search index failure. Cause by primary key violation.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | apachesolr_attachments-1387240-2.patch | 959 bytes | pjcdawkins |
| #1 | apachesolr_attachments-1387240-1.patch | 621 bytes | bleedev |
Files attached to multiple nodes causes search index failure. Cause by primary key violation.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | apachesolr_attachments-1387240-2.patch | 959 bytes | pjcdawkins |
| #1 | apachesolr_attachments-1387240-1.patch | 621 bytes | bleedev |
Comments
Comment #1
bleedev commentedPatch to change primary key from fid to fid and nid.
Comment #2
pjcdawkins commentedI had this problem too.
Try this patch which also includes an update function (note running update.php could fail if you've manually altered the DB to remove the single `nid` index).
Comment #3
wmostrey commentedThis has been committed, thanks!
http://drupalcode.org/project/apachesolr_attachments.git/commit/e24d25e
Comment #5
pwolanin commentedI'm going to revert this change in favor of the bigger changes needed to fix this module with the new apachesolr module
Comment #6
pwolanin commentedAlso, the DB updates were not done using the proper API functions.
Comment #7
nick_vhShould be handled in #1393540: Upgrade apachesolr_attachments to co-operate with latest beta of apachesolr. Please test and re-open when required