Nothing in the module *requires* the Search API Solr module. I wanted to implement my own spell check for database searching, but I don't want to enable all the Solr modules. This is just an API providing module so I think we don't need to match versions with Search API Solr either.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3106736.patch | 4.42 KB | mkalkbrenner |
| #2 | search_api_spellcheck-remove_search_api_solr_dependency-3106736-1.patch | 1017 bytes | the_g_bomb |
Comments
Comment #2
the_g_bomb commentedNot tested as yet, but in theory, this should remove the dependency
Comment #3
studgate commentedthis patch works for me... don't understand the required solr dependency.
Comment #4
mkalkbrennerThe problem is that no other Search API backend module except Search API Solr delivers results out of the box. So this dependency targets the end-user, not the developer.
If you contribute your "own" implementations and officially contribute them to Search API's database backend we could remove the dependency.
And I really would appreciate that!
Comment #5
mkalkbrennerAlternatively a patch could be accepted that checks if the backend supports the spellcheck feature and turns off the functionality otherwise.
If I think twice, this is the better way compared to #4.
We do so in search_api_autocomplete:
Comment #6
mkalkbrennerComment #8
mkalkbrenner