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
The Search method will return partial results if the size limit or time limit parameters are used and the limit is exceeded.
In the case of SearchWithPaging, the results are only appended if there is no error:
result, err := l.Search(searchRequest) if err != nil { return searchResult, err } searchResult.Entries = append(searchResult.Entries, result.Entries...)
If you therefore use SearchWithPaging with a limit of, say, 5, and there are more results, you're not going to get any results.
I think the appends need to happen regardless of the error (assuming searchResult is non-nil)
The text was updated successfully, but these errors were encountered:
Hi @cpuschma, Can I take this issue? Will you be able to review PR if i send? Thanks
Sorry, something went wrong.
Sure, I would be very happy about a PR, @ksankeerth ^^
Successfully merging a pull request may close this issue.
The Search method will return partial results if the size limit or time limit parameters are used and the limit is exceeded.
In the case of SearchWithPaging, the results are only appended if there is no error:
If you therefore use SearchWithPaging with a limit of, say, 5, and there are more results, you're not going to get any results.
I think the appends need to happen regardless of the error (assuming searchResult is non-nil)
The text was updated successfully, but these errors were encountered: