Commit 2fe33e6
authored
perf(typesense): skip collection check for search operations (#898)
* fix(typesense): skip collection check for search operations
- Add early return for search operations in `getOrCreateCollectionFromModel`
- Maintain collection existence check only when `indexOperation` is true
- Optimize search performance by reducing unnecessary API calls
* lint1 parent 480adfa commit 2fe33e6
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
606 | 610 | | |
607 | 611 | | |
608 | 612 | | |
| |||
0 commit comments