Commit 557fed3
## Summary
- `query_vector` used `output_fields=["*"]` in `client.search()`, but
milvus-lite 3.0 no longer expands `["*"]` to include JSON fields in
search results, causing `KeyError: 'chunk_content'`
- Changed to `output_fields=["chunk_content"]`, consistent with
`query_keyword` and `query_hybrid` which already use explicit field
names
- The `remote::milvus` provider (connecting to a full Milvus server) was
not affected
Closes #6090
RHAIENG-5601
## Test plan
- [x] Reproduced the bug with milvus-lite 3.0 via standalone script
- [x] Reproduced via REST API (`/v1/vector-io/query` returns 500,
`/v1/vector_stores/{id}/search` returns empty)
- [x] Verified fix works with milvus-lite 3.0 - both endpoints return
correct results
- [x] Fix is backward compatible with milvus-lite 2.x (explicit field
names work in both versions)<hr>This is an automatic backport of pull
request #6091 done by [Mergify](https://mergify.com).
Signed-off-by: Derek Higgins <derekh@redhat.com>
Co-authored-by: Derek Higgins <derekh@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c75b57d commit 557fed3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments