Closed nitsanfiverr closed 8 years ago
Hi @nitsanfiverr Thanks for the PR. It looks like that the tests didn't pass.
Unfortunately those tests are running on a mock server which mimics the response to each test You can find response data and how it was setup in mock_test.go
@vanng822 Hey There, thanks for the tip, I didn't notice the mock server. The tests are now passing, added one more test to check if the component is not there.
Yeah, it should be documented since it is not clear. I would like to use https://github.com/jarcoal/httpmock instead, will do when I have time, will more clear and isolated tests.
Look like everything is fine. I will merge. Thanks for your contribution
Adding spellcheck support to go-solr search - https://wiki.apache.org/solr/SpellCheckComponent Added tests and tested it locally with my solr.