The recent changes to the DrupalSolrQueryInterface::optimize() interface causes fatal errors for all implementing modules that don't also keep up with the change. In order to prevent all implementing modules from having to do a coupled release, we should revert the changes to the original state.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1868870-6-D6.patch | 4.74 KB | pwolanin |
| #2 | revert-interface-changes-1868870-2.patch | 4.56 KB | cpliakas |
Comments
Comment #1
cpliakas commentedFrom discussions with pwloanin, you shouldn't use optimize for Solr 4 anyways, so we can simply force the softCommit attribute to be true. People can override the method if they want to change this behavior.
Comment #2
cpliakas commentedThe attached patch removes the interface changes and adds a method to the base DrupalApacheSolrService to set whether or not to use soft commits.
Comment #3
nick_vhLooks good!
Comment #4
pwolanin commentedcommitted to 7.x
Comment #5
pwolanin commentedIs this duplicate with the other 4.0 patch now?
Comment #6
pwolanin commentedported patch
Comment #7
pwolanin commentedcommitted