Closed muthukumar4721 closed 2 weeks ago
I guess you mean this https://solr.apache.org/guide/6_6/suggester.html You have to set up in solr. This is a simple client. Once you set it up you could Resource https://github.com/vanng822/go-solr/blob/master/solr/search.go#L55
Will close this since it is not related to this lib
Now got it, can I use the resource function from the search?
You can use Search by calling something like s.Resource("/products/suggest", ...some...params...)
Take look in https://github.com/vanng822/go-solr/blob/master/solr/search.go#L102
For example : if i send any productname or something to the solr, it should return the suggestions from the solr