Commit 10f2519
Fix OpenSearch NotFoundError when index doesn't exist (#300)
- Handle opensearchpy.exceptions.NotFoundError in size() method
- Return 0 when index is not found instead of crashing
- Fixes chat functionality when using OpenSearch vector store
- Resolves issue #298
Co-authored-by: hyeongyuy <hyeongyu@hyeongyu-yeo.localdomain>1 parent e459388 commit 10f2519
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
0 commit comments