Problem/Motivation
Recently, opensolr made it mandatory for indexes to have Basic Auth enabled, therefor the default connector is not needed anymore.
Proposed resolution
Remove the default connector from the codebase and find a way to not affect existing usages although it's impossible to use the opensolr connector without basic auth. But just in case an update to change the connector would be a good idea.
Comments
Comment #3
gagarine commentedThen what is the use of the credential config in admin/config/search/search-api/opensolr when using basic auth?
Comment #4
bbu23The Opensolr configuration form is required for API calls between Drupal and Opensolr. Without it, Drupal would not be able to list the available indexes or do similar API functionality.
https://opensolr.com/faq/view/api-index-management
On the other hand, the Basic Auth at index level adds an extra layer of security when searching for content.
Comment #5
gagarine commentedOk I understand. I end up not using the module (one less dependency!).
It was quiet easy to not use the module at the end and copy/past the needed configuration (server adresse and core name).
But I can see the value if you have to manage a lot of config. Thanks for the work!
Comment #6
bbu23Sure, people are free to go for any of the two modules, depending on their own comfort and usage.
Comment #7
bbu23Comment #9
bbu23Fixed and will be available starting with version 2.2.0.
One must run the updates when downloading the new version and export the changes.
All potential existing servers that are still using the deprecated opensolr connector will be converted to basic_auth_opensolr.