Callback handlers have changed in 6-x-2-dev solr attachments does not support this currently. I realise that this might be postponed for now as a feature, but patch attached incase anyone else is having the issue I did. This patch add a the new hook hook_apachesolr_document_handlers and corrects the signature of apachesolr_attachments_add_documents to the new format.
| Comment | File | Size | Author |
|---|---|---|---|
| solr-attach-solr-2x.patch | 7.49 KB | marcingy |
Comments
Comment #1
pwolanin commentedI just switch the active development here to 6.x-1.x to reduce possible confusion.
I'm not really eager to maintain two branches at this point- I'll see if Robert wants the challenge, unless you want to do it.
Comment #2
marcingy commentedI fully understand that and hence the reason for marking this as a feature request. I think I could find time to support a branch that works with/tracks the 6-2-x-dev version of solr as any solr development I do use that version and document searching is becoming a more and more common request for clients.
Comment #3
robertdouglass commentedI'm willing to help maintain a 6.2 branch, but if I have my way the 6.2 branch will now start to diverge more from the 6.1 apis, so it might be a challenge. A good challenge, though. =) @marcingy - can you take the lead with the 6.2 branch here? The patch is a good start.
Comment #4
marcingy commentedI'm willing to take the lead with 6.2 branch. A challenge is always interesting ;)
Comment #5
pwolanin commentedok, well I'll make sure you are both on the CVS access list. I think HEAD is in sync with the 6--1 branch, so you can start with that for future 6.x-2.x code. Let's leave that marked as unsupported a while longer to nudge people to switch over.
Comment #6
marcingy commentedComment #7
marcingy commented@pwolanin do you want me to commit to head and then start 6-x-2-dev or create a 6-x-2-dev branch and go from there? I suppose what I'm trying to say is do we need to keep head in sync with 6-x-1 or can it now diverge?
Comment #8
marcingy commentedCommitted to head.