We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to pass standard context.Context to Search and other functions in order to handle cancellations and graceful shutdowns properly.
Sample use:
package main import ( "context" "github.com/vanng822/go-solr/solr" "fmt" ) func main() { ctx := context.Background() si, _ := solr.NewSolrInterfaceWithCtx(ctx, "http://localhost:8983/solr", "collection1") query := solr.NewQuery() query.Q("*:*") s := si.SearchWithCtx(ctx, query) r, _ := s.Result(nil) fmt.Println(r.Results.Docs) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add support to pass standard context.Context to Search and other functions in order to handle cancellations and graceful shutdowns properly.
Sample use:
The text was updated successfully, but these errors were encountered: