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

fix(typesense): handle missing collection during search (#914) #917

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

tharropoulos
Copy link
Contributor

Address #914

  • wrap search operation in try-catch block to handle ObjectNotFound exception
  • automatically create collection when not found and retry search
  • improve error recovery flow for typesense engine

- wrap `search` operation in try-catch block to handle `ObjectNotFound` exception
- automatically create collection when not found and retry search
- improve error recovery flow for typesense engine
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@tharropoulos tharropoulos marked this pull request as ready for review March 13, 2025 16:58
@taylorotwell taylorotwell merged commit b5b6d5a into laravel:10.x Mar 13, 2025
20 checks passed
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

2 participants