Skip to content
New issue

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

#1873: Added timeout option in the Search Handler #1898

Merged
merged 2 commits into from Nov 16, 2023

Conversation

Likith101
Copy link
Contributor

  • Added timeout value, which the user can pass through request parameters
  • Create context with the timeout value if present
  • Change the call to SearchInContext

…eters

 - Create context with the timeout value if present
 - Change the call to SearchInContext
http/search.go Outdated Show resolved Hide resolved
@metonymic-smokey
Copy link
Contributor

metonymic-smokey commented Nov 10, 2023

@Likith101 small tip: On github, pls use "fixes #1873 " or the like in the comment body since that auto closes issues when the fix is merged.

Also, might be worth mentioning to the OP that you fixed the timeout case only, not the client cancellation case.

@Likith101 Likith101 merged commit c8e3daf into blevesearch:master Nov 16, 2023
9 checks passed
abhinavdangeti added a commit that referenced this pull request Nov 17, 2023
|\
| * c8e3daf Likith B | #1873: Added timeout option in the Search Handler (#1898)
| * 6dee5e9 Aditi Ahuja | Added missing nil check (#1905)
| * 907c83e Rahul Rampure | Added a document that demonstrates the performance benefits of docvalues (#1897)
abhinavdangeti added a commit that referenced this pull request Nov 17, 2023
|\
| * c8e3daf Likith B | #1873: Added timeout option in the Search Handler (#1898)
| * 6dee5e9 Aditi Ahuja | Added missing nil check (#1905)
| * 907c83e Rahul Rampure | Added a document that demonstrates the performance benefits of docvalues (#1897)
abhinavdangeti added a commit that referenced this pull request Jan 2, 2024
|\
| * e26eace Mohd Shaad Khan | MB-60207 fix facets merge (#1946)
| * c8e3daf Likith B | #1873: Added timeout option in the Search Handler (#1898)
| * 6dee5e9 Aditi Ahuja | Added missing nil check (#1905)
| * 907c83e Rahul Rampure | Added a document that demonstrates the performance benefits of docvalues (#1897)
abhinavdangeti added a commit that referenced this pull request Feb 13, 2024
```
* 5c7445c Abhinav Dangeti | Fix merge conflict
*   a0cb65a Abhinav Dangeti | Merge remote-tracking branch 'origin/master' into 7.6-couchbase
|\
| * 5f1f45a Sergio Vera | Fixed spanish accents normalization (#1957)
| * e26eace Mohd Shaad Khan | MB-60207 fix facets merge (#1946)
| * c8e3daf Likith B | #1873: Added timeout option in the Search Handler (#1898)
| * 6dee5e9 Aditi Ahuja | Added missing nil check (#1905)
| * 907c83e Rahul Rampure | Added a document that demonstrates the performance benefits of docvalues (#1897)
* | 8b9206a Abhi Dangeti | MB-60739: Upgrade go-faiss & zapx/v16 (#1985)
```
@abhinavdangeti abhinavdangeti added this to the v2.4.0 milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants