Problem/Motivation
If I deploy config to an existing application that changes the index, search api will try an update the index. If the index doesn't exist (e.g in CI or a new environment) the operation fails.
Proposed resolution
Run addIndex instead if the index doesn't exist.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3272830-2.patch | 628 bytes | acbramley |
Comments
Comment #2
acbramley commentedNot sure if there's a good way to test this but here's the fix.
Comment #3
kim.pepperAlthough, Search API checks if the 'server' config entity exists already, this is apparently not enough.
Comment #5
kim.pepperCommitted and pushed to 1.x. Thanks!