Commit 3fe6f9e
authored
Fix hybrid_search to support EmbeddingList in request data (#3028)
- Add EmbeddingList import to grpc_handler.py
- Add automatic conversion of EmbeddingList to flat array in
hybrid_search
- Set is_embedding_list flag when EmbeddingList is detected
- This enables hybrid search to work with struct array vector fields
This fix aligns hybrid_search behavior with the regular search method,
which already supports EmbeddingList conversion.
Signed-off-by: zhuwenxing <[email protected]>1 parent d7f0954 commit 3fe6f9e
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
997 | 998 | | |
998 | 999 | | |
999 | 1000 | | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
1000 | 1008 | | |
1001 | 1009 | | |
1002 | | - | |
| 1010 | + | |
1003 | 1011 | | |
1004 | 1012 | | |
1005 | 1013 | | |
1006 | 1014 | | |
1007 | 1015 | | |
1008 | 1016 | | |
1009 | 1017 | | |
1010 | | - | |
| 1018 | + | |
1011 | 1019 | | |
1012 | 1020 | | |
1013 | 1021 | | |
| |||
0 commit comments