Commit b5f2f12
committed
fix: add keyword index for type field to fix Qdrant codebase_search error
Fixes #8963
The codebase_search tool was failing with a "Index required but not found for type"
error when using Qdrant. This was because the search() method filters by the type
field to exclude metadata points, but no keyword index was created for this field.
Added creation of a keyword index for the type field in the _createPayloadIndexes()
method to enable proper filtering of metadata points during search operations.1 parent eb68c65 commit b5f2f12
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
299 | 316 | | |
300 | 317 | | |
301 | 318 | | |
| |||
0 commit comments